1 {{+bindTo:partials.standard_nacl_article}}
2 <h1>pp::DirectoryEntry Class Reference</h1>
4 <!-- Generated by Doxygen 1.7.6.1 -->
10 <div class="contents">
11 <!-- doxytag: class="pp::DirectoryEntry" -->
12 <p><a href="classpp_1_1_directory_entry-members.html">List of all members.</a></p>
14 Public Member Functions</h2><table class="memberdecls">
16 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html#abd1a4a70ed1b922a232c78be62b1fe86">DirectoryEntry</a> ()</td></tr>
17 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html#aa8fe311e0fe27aee989f0a055ec2f2e4">DirectoryEntry</a> (<a class="el" href="namespacepp.html#a339083c1beec620267bf8b3c55decaa5">PassRef</a>, const PP_DirectoryEntry &data)</td></tr>
18 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html#af60a142d874f0bc2fed98bd8ae5b7cdc">DirectoryEntry</a> (const <a class="el" href="classpp_1_1_directory_entry.html">DirectoryEntry</a> &other)</td></tr>
19 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html#a3dd150a66dcb8e3b063f411d904dc356">~DirectoryEntry</a> ()</td></tr>
20 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_directory_entry.html">DirectoryEntry</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html#a7e1b5b7376a2da0a4f736eb986092556">operator=</a> (const <a class="el" href="classpp_1_1_directory_entry.html">DirectoryEntry</a> &other)</td></tr>
21 <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html#aea481437bc555e04429b4e7ec1005ef0">is_null</a> () const </td></tr>
22 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1_file_ref.html">FileRef</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html#af6ff2a3c83a6f26455573bc07f15ec4d">file_ref</a> () const </td></tr>
23 <tr><td class="memItemLeft" align="right" valign="top">PP_FileType </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_directory_entry.html#a9c91f7dda30ef2f31ec9547f9fd9faaf">file_type</a> () const </td></tr>
25 <hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
26 <div class="textblock"><p>The <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code> class represents information about a directory entry. </p>
27 </div><hr /><h2>Constructor & Destructor Documentation</h2>
28 <a class="anchor" id="abd1a4a70ed1b922a232c78be62b1fe86"></a><!-- doxytag: member="pp::DirectoryEntry::DirectoryEntry" ref="abd1a4a70ed1b922a232c78be62b1fe86" args="()" -->
30 <div class="memproto">
31 <table class="memname">
33 <td class="memname"><a class="el" href="classpp_1_1_directory_entry.html#abd1a4a70ed1b922a232c78be62b1fe86">pp::DirectoryEntry::DirectoryEntry</a> </td>
35 <td class="paramname"></td><td>)</td>
41 <p>Default constructor for creating an <a class="el" href="classpp_1_1_directory_entry.html#aea481437bc555e04429b4e7ec1005ef0" title="This function determines if this DirectoryEntry is a null value.">is_null()</a> <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code> object. </p>
44 <a class="anchor" id="aa8fe311e0fe27aee989f0a055ec2f2e4"></a><!-- doxytag: member="pp::DirectoryEntry::DirectoryEntry" ref="aa8fe311e0fe27aee989f0a055ec2f2e4" args="(PassRef, const PP_DirectoryEntry &data)" -->
46 <div class="memproto">
47 <table class="memname">
49 <td class="memname"><a class="el" href="classpp_1_1_directory_entry.html#abd1a4a70ed1b922a232c78be62b1fe86">pp::DirectoryEntry::DirectoryEntry</a> </td>
51 <td class="paramtype"><a class="el" href="namespacepp.html#a339083c1beec620267bf8b3c55decaa5">PassRef</a> </td>
52 <td class="paramname">, </td>
55 <td class="paramkey"></td>
57 <td class="paramtype">const PP_DirectoryEntry & </td>
58 <td class="paramname"><em>data</em> </td>
68 <p>A constructor used when you have a <code>PP_DirectoryEntry</code> which contains a <code><a class="el" href="classpp_1_1_file_ref.html" title='The FileRef class represents a "weak pointer" to a file in a file system.'>FileRef</a></code> that has already been reference counted as a return value. </p>
69 <dl class="params"><dt><b>Parameters:</b></dt><dd>
70 <table class="params">
71 <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>A <code>PP_DirectoryEntry</code> to be copied. </td></tr>
77 <a class="anchor" id="af60a142d874f0bc2fed98bd8ae5b7cdc"></a><!-- doxytag: member="pp::DirectoryEntry::DirectoryEntry" ref="af60a142d874f0bc2fed98bd8ae5b7cdc" args="(const DirectoryEntry &other)" -->
79 <div class="memproto">
80 <table class="memname">
82 <td class="memname"><a class="el" href="classpp_1_1_directory_entry.html#abd1a4a70ed1b922a232c78be62b1fe86">pp::DirectoryEntry::DirectoryEntry</a> </td>
84 <td class="paramtype">const <a class="el" href="classpp_1_1_directory_entry.html">DirectoryEntry</a> & </td>
85 <td class="paramname"><em>other</em></td><td>)</td>
91 <p>A copy constructor for <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code>. </p>
92 <p>This constructor increments a reference count of the <code><a class="el" href="classpp_1_1_file_ref.html" title='The FileRef class represents a "weak pointer" to a file in a file system.'>FileRef</a></code> held by this <a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a>.</p>
93 <dl class="params"><dt><b>Parameters:</b></dt><dd>
94 <table class="params">
95 <tr><td class="paramdir">[in]</td><td class="paramname">other</td><td>A pointer to a <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code>. </td></tr>
101 <a class="anchor" id="a3dd150a66dcb8e3b063f411d904dc356"></a><!-- doxytag: member="pp::DirectoryEntry::~DirectoryEntry" ref="a3dd150a66dcb8e3b063f411d904dc356" args="()" -->
102 <div class="memitem">
103 <div class="memproto">
104 <table class="memname">
106 <td class="memname"><a class="el" href="classpp_1_1_directory_entry.html#a3dd150a66dcb8e3b063f411d904dc356">pp::DirectoryEntry::~DirectoryEntry</a> </td>
108 <td class="paramname"></td><td>)</td>
114 <p>A destructor that decrements a reference count of the <code><a class="el" href="classpp_1_1_file_ref.html" title='The FileRef class represents a "weak pointer" to a file in a file system.'>FileRef</a></code> held by this <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code>. </p>
117 <hr /><h2>Member Function Documentation</h2>
118 <a class="anchor" id="af6ff2a3c83a6f26455573bc07f15ec4d"></a><!-- doxytag: member="pp::DirectoryEntry::file_ref" ref="af6ff2a3c83a6f26455573bc07f15ec4d" args="() const " -->
119 <div class="memitem">
120 <div class="memproto">
121 <table class="memname">
123 <td class="memname"><a class="el" href="classpp_1_1_file_ref.html">FileRef</a> <a class="el" href="classpp_1_1_directory_entry.html#af6ff2a3c83a6f26455573bc07f15ec4d">pp::DirectoryEntry::file_ref</a> </td>
125 <td class="paramname"></td><td>)</td>
126 <td> const<code> [inline]</code></td>
131 <p>This function returns the <code><a class="el" href="classpp_1_1_file_ref.html" title='The FileRef class represents a "weak pointer" to a file in a file system.'>FileRef</a></code> held by this <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code>. </p>
132 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classpp_1_1_file_ref.html" title='The FileRef class represents a "weak pointer" to a file in a file system.'>FileRef</a></code> of the file. </dd></dl>
135 <a class="anchor" id="a9c91f7dda30ef2f31ec9547f9fd9faaf"></a><!-- doxytag: member="pp::DirectoryEntry::file_type" ref="a9c91f7dda30ef2f31ec9547f9fd9faaf" args="() const " -->
136 <div class="memitem">
137 <div class="memproto">
138 <table class="memname">
140 <td class="memname">PP_FileType <a class="el" href="classpp_1_1_directory_entry.html#a9c91f7dda30ef2f31ec9547f9fd9faaf">pp::DirectoryEntry::file_type</a> </td>
142 <td class="paramname"></td><td>)</td>
143 <td> const<code> [inline]</code></td>
148 <p>This function returns the <code>PP_FileType</code> of the file referenced by this <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code>. </p>
149 <dl class="return"><dt><b>Returns:</b></dt><dd>A <code>PP_FileType</code> of the file. </dd></dl>
152 <a class="anchor" id="aea481437bc555e04429b4e7ec1005ef0"></a><!-- doxytag: member="pp::DirectoryEntry::is_null" ref="aea481437bc555e04429b4e7ec1005ef0" args="() const " -->
153 <div class="memitem">
154 <div class="memproto">
155 <table class="memname">
157 <td class="memname">bool <a class="el" href="classpp_1_1_directory_entry.html#aea481437bc555e04429b4e7ec1005ef0">pp::DirectoryEntry::is_null</a> </td>
159 <td class="paramname"></td><td>)</td>
160 <td> const<code> [inline]</code></td>
165 <p>This function determines if this <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code> is a null value. </p>
166 <dl class="return"><dt><b>Returns:</b></dt><dd>true if this <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code> is null, otherwise false. </dd></dl>
169 <a class="anchor" id="a7e1b5b7376a2da0a4f736eb986092556"></a><!-- doxytag: member="pp::DirectoryEntry::operator=" ref="a7e1b5b7376a2da0a4f736eb986092556" args="(const DirectoryEntry &other)" -->
170 <div class="memitem">
171 <div class="memproto">
172 <table class="memname">
174 <td class="memname"><a class="el" href="classpp_1_1_directory_entry.html">DirectoryEntry</a>& pp::DirectoryEntry::operator= </td>
176 <td class="paramtype">const <a class="el" href="classpp_1_1_directory_entry.html">DirectoryEntry</a> & </td>
177 <td class="paramname"><em>other</em></td><td>)</td>
183 <p>This function assigns one <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code> object to this <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code> object. </p>
184 <p>This function increases the reference count of the <code><a class="el" href="classpp_1_1_file_ref.html" title='The FileRef class represents a "weak pointer" to a file in a file system.'>FileRef</a></code> of the other <a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a> while decrementing the reference count of the <a class="el" href="classpp_1_1_file_ref.html" title='The FileRef class represents a "weak pointer" to a file in a file system.'>FileRef</a> of this <a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a>.</p>
185 <dl class="params"><dt><b>Parameters:</b></dt><dd>
186 <table class="params">
187 <tr><td class="paramdir">[in]</td><td class="paramname">other</td><td>A pointer to a <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code>.</td></tr>
191 <dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classpp_1_1_directory_entry.html" title="The DirectoryEntry class represents information about a directory entry.">DirectoryEntry</a></code> object. </dd></dl>
194 <hr />The documentation for this class was generated from the following file:<ul>
195 <li><a class="el" href="directory__entry_8h.html">directory_entry.h</a></li>
197 </div><!-- contents -->
198 {{/partials.standard_nacl_article}}