File: classAction_1_1Print.html

package info (click to toggle)
exiv2 0.10-1.4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 13,124 kB
  • ctags: 5,665
  • sloc: cpp: 20,697; xml: 15,118; sh: 10,526; ansic: 1,887; makefile: 367; awk: 64; python: 36
file content (171 lines) | stat: -rw-r--r-- 11,476 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Exiv2: Action::Print Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespaceAction.html">Action</a>::<a class="el" href="classAction_1_1Print.html">Print</a></div>
<h1>Action::Print Class Reference</h1><!-- doxytag: class="Action::Print" --><!-- doxytag: inherits="Action::Task" -->Print the Exif (or other metadata) of a file to stdout  
<a href="#_details">More...</a>
<p>
<code>#include &lt;actions.hpp&gt;</code>
<p>
Inheritance diagram for Action::Print:<p><center><img src="classAction_1_1Print__inherit__graph.png" border="0" usemap="#Action_1_1Print__inherit__map" alt="Inheritance graph"></center>
<map name="Action_1_1Print__inherit__map">
<area href="classAction_1_1Task.html" shape="rect" coords="6,7,102,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Action::Print:<p><center><img src="classAction_1_1Print__coll__graph.png" border="0" usemap="#Action_1_1Print__coll__map" alt="Collaboration graph"></center>
<map name="Action_1_1Print__coll__map">
<area href="classAction_1_1Task.html" shape="rect" coords="5,175,101,199" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classAction_1_1Print-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d95151e0d7da46f1a8360fc2f73358c8"></a><!-- doxytag: member="Action::Print::AutoPtr" ref="d95151e0d7da46f1a8360fc2f73358c8" args="" -->
typedef std::auto_ptr&lt; <a class="el" href="classAction_1_1Print.html">Print</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#d95151e0d7da46f1a8360fc2f73358c8">AutoPtr</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for an auto pointer. <br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#c5b21e74a2c628d498c3103a42cc8e21">run</a> (const std::string &amp;path)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Application interface to perform a task.  <a href="#c5b21e74a2c628d498c3103a42cc8e21"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97b8c0ce879e43ab1f540bfb15be5069"></a><!-- doxytag: member="Action::Print::clone" ref="97b8c0ce879e43ab1f540bfb15be5069" args="() const " -->
<a class="el" href="classAction_1_1Print.html#d95151e0d7da46f1a8360fc2f73358c8">AutoPtr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#97b8c0ce879e43ab1f540bfb15be5069">clone</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual copy construction. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05cf9ae1ba5de0d592f1e4bfea4d5e40"></a><!-- doxytag: member="Action::Print::printComment" ref="05cf9ae1ba5de0d592f1e4bfea4d5e40" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#05cf9ae1ba5de0d592f1e4bfea4d5e40">printComment</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html">Print</a> the Jpeg comment. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3464d5b4a2686b4d94a2f98e5b48e895"></a><!-- doxytag: member="Action::Print::printIptc" ref="3464d5b4a2686b4d94a2f98e5b48e895" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#3464d5b4a2686b4d94a2f98e5b48e895">printIptc</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html">Print</a> uninterpreted Iptc information. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e75e2afef18405123890fd58be3b90aa"></a><!-- doxytag: member="Action::Print::printSummary" ref="e75e2afef18405123890fd58be3b90aa" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#e75e2afef18405123890fd58be3b90aa">printSummary</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html">Print</a> Exif summary information. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ff7b158d0af021b17484872378856db"></a><!-- doxytag: member="Action::Print::printList" ref="8ff7b158d0af021b17484872378856db" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#8ff7b158d0af021b17484872378856db">printList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html">Print</a> the list of Exif data in user defined format. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6a57a585884520b5d80285122863a21"></a><!-- doxytag: member="Action::Print::printLabel" ref="e6a57a585884520b5d80285122863a21" args="(const std::string &amp;label) const " -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#e6a57a585884520b5d80285122863a21">printLabel</a> (const std::string &amp;label) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html">Print</a> the label for a summary line. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAction_1_1Print.html#cd5af3af6b2d556b223cdf42ecd8095d">printTag</a> (const <a class="el" href="classExiv2_1_1ExifData.html">Exiv2::ExifData</a> &amp;exifData, const std::string &amp;key, const std::string &amp;label=&quot;&quot;) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAction_1_1Print.html">Print</a> one summary line with a label (if provided) and requested data. A line break is printed only if a label is provided.  <a href="#cd5af3af6b2d556b223cdf42ecd8095d"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Print the Exif (or other metadata) of a file to stdout 
<p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="cd5af3af6b2d556b223cdf42ecd8095d"></a><!-- doxytag: member="Action::Print::printTag" ref="cd5af3af6b2d556b223cdf42ecd8095d" args="(const Exiv2::ExifData &amp;exifData, const std::string &amp;key, const std::string &amp;label=&quot;&quot;) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int Action::Print::printTag           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classExiv2_1_1ExifData.html">Exiv2::ExifData</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>exifData</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const std::string &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>const std::string &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>label</em> = <code>&quot;&quot;</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<a class="el" href="classAction_1_1Print.html">Print</a> one summary line with a label (if provided) and requested data. A line break is printed only if a label is provided. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>1 if a line was written, 0 if the key was not found. </dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="c5b21e74a2c628d498c3103a42cc8e21"></a><!-- doxytag: member="Action::Print::run" ref="c5b21e74a2c628d498c3103a42cc8e21" args="(const std::string &amp;path)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int Action::Print::run           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Application interface to perform a task. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path of the file to process. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>0 if successful. </dd></dl>

<p>
Implements <a class="el" href="classAction_1_1Task.html#a10ce979cdedb8470d36413ec3a57bf2">Action::Task</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="actions_8hpp.html">actions.hpp</a><li>actions.cpp</ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:54:40 2006 for Exiv2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>