<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Irrlicht Engine: irr::io::SNamedPath Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table class="irrlicht" > <tr valign="middle"> <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> Namespace Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td> </tr> </table> <!-- Generated by Doxygen 1.6.2 --> <div class="navpath"><a class="el" href="namespaceirr.html">irr</a>::<a class="el" href="namespaceirr_1_1io.html">io</a>::<a class="el" href="structirr_1_1io_1_1_s_named_path.html">SNamedPath</a> </div> <div class="contents"> <h1>irr::io::SNamedPath Struct Reference</h1><!-- doxytag: class="irr::io::SNamedPath" --> <p>Used in places where we identify objects by a filename, but don't actually work with the real filename. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="path_8h_source.html">path.h</a>></code></p> <p><a href="structirr_1_1io_1_1_s_named_path-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classirr_1_1core_1_1string.html">path</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#ab491ba694139f03d2a8ece5d3efdd7ed">getInternalName</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classirr_1_1core_1_1string.html">path</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#a4844a4f6116070ffeb84d889b3077d09">getPath</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the path. <a href="#a4844a4f6116070ffeb84d889b3077d09"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#a4e4f65dd90c3c90ccfeda5588f0db423">operator core::stringc</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Implicit cast to <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1" title="Type used for all file system related strings.">io::path</a>. <a href="#a4e4f65dd90c3c90ccfeda5588f0db423"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#aff4b0d1d31743efc7f54c0fd3244f591">operator core::stringw</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Implicit cast to <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1" title="Type used for all file system related strings.">io::path</a>. <a href="#aff4b0d1d31743efc7f54c0fd3244f591"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#a250ac73c47a7c2b746626425db1fe5ad">operator<</a> (const <a class="el" href="structirr_1_1io_1_1_s_named_path.html">SNamedPath</a> &other) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Is smaller comparator. <a href="#a250ac73c47a7c2b746626425db1fe5ad"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#a2c802b7579938e06bd858d5edade3d72">setPath</a> (const <a class="el" href="classirr_1_1core_1_1string.html">path</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the path. <a href="#a2c802b7579938e06bd858d5edade3d72"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#ac23f075ced19675a5c43d042814be687">SNamedPath</a> (const <a class="el" href="classirr_1_1core_1_1string.html">path</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#ac23f075ced19675a5c43d042814be687"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#a6a4926fa6d0889cc0da49cb3e74415a4">SNamedPath</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a6a4926fa6d0889cc0da49cb3e74415a4"></a><br/></td></tr> <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classirr_1_1core_1_1string.html">path</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structirr_1_1io_1_1_s_named_path.html#a44b1a0751421673efb55e7d8118199be">PathToName</a> (const <a class="el" href="classirr_1_1core_1_1string.html">path</a> &p) const </td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Used in places where we identify objects by a filename, but don't actually work with the real filename. </p> <p>Irrlicht is internally not case-sensitive when it comes to names. Also this class is a first step towards support for correctly serializing renamed objects. </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00023">23</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a6a4926fa6d0889cc0da49cb3e74415a4"></a><!-- doxytag: member="irr::io::SNamedPath::SNamedPath" ref="a6a4926fa6d0889cc0da49cb3e74415a4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">irr::io::SNamedPath::SNamedPath </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00026">26</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> </div> </div> <a class="anchor" id="ac23f075ced19675a5c43d042814be687"></a><!-- doxytag: member="irr::io::SNamedPath::SNamedPath" ref="ac23f075ced19675a5c43d042814be687" args="(const path &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">irr::io::SNamedPath::SNamedPath </td> <td>(</td> <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1string.html">path</a> & </td> <td class="paramname"> <em>p</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00029">29</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ab491ba694139f03d2a8ece5d3efdd7ed"></a><!-- doxytag: member="irr::io::SNamedPath::getInternalName" ref="ab491ba694139f03d2a8ece5d3efdd7ed" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classirr_1_1core_1_1string.html">path</a>& irr::io::SNamedPath::getInternalName </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get the name which is used to identify the file. This string is similar to the names and filenames used before Irrlicht 1.7 </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00054">54</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> <p>Referenced by <a class="el" href="_i_mesh_cache_8h_source.html#l00102">irr::scene::IMeshCache::getMeshFilename()</a>.</p> </div> </div> <a class="anchor" id="a4844a4f6116070ffeb84d889b3077d09"></a><!-- doxytag: member="irr::io::SNamedPath::getPath" ref="a4844a4f6116070ffeb84d889b3077d09" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classirr_1_1core_1_1string.html">path</a>& irr::io::SNamedPath::getPath </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Get the path. </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00047">47</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> <p>Referenced by <a class="el" href="path_8h_source.html#l00060">operator core::stringc()</a>, and <a class="el" href="path_8h_source.html#l00065">operator core::stringw()</a>.</p> </div> </div> <a class="anchor" id="a4e4f65dd90c3c90ccfeda5588f0db423"></a><!-- doxytag: member="irr::io::SNamedPath::operator core::stringc" ref="a4e4f65dd90c3c90ccfeda5588f0db423" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">irr::io::SNamedPath::operator <a class="el" href="classirr_1_1core_1_1string.html">core::stringc</a> </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implicit cast to <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1" title="Type used for all file system related strings.">io::path</a>. </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00060">60</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> <p>References <a class="el" href="path_8h_source.html#l00047">getPath()</a>.</p> </div> </div> <a class="anchor" id="aff4b0d1d31743efc7f54c0fd3244f591"></a><!-- doxytag: member="irr::io::SNamedPath::operator core::stringw" ref="aff4b0d1d31743efc7f54c0fd3244f591" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">irr::io::SNamedPath::operator <a class="el" href="classirr_1_1core_1_1string.html">core::stringw</a> </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implicit cast to <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1" title="Type used for all file system related strings.">io::path</a>. </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00065">65</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> <p>References <a class="el" href="path_8h_source.html#l00047">getPath()</a>.</p> </div> </div> <a class="anchor" id="a250ac73c47a7c2b746626425db1fe5ad"></a><!-- doxytag: member="irr::io::SNamedPath::operator<" ref="a250ac73c47a7c2b746626425db1fe5ad" args="(const SNamedPath &other) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool irr::io::SNamedPath::operator< </td> <td>(</td> <td class="paramtype">const <a class="el" href="structirr_1_1io_1_1_s_named_path.html">SNamedPath</a> & </td> <td class="paramname"> <em>other</em></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Is smaller comparator. </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00034">34</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> </div> </div> <a class="anchor" id="a44b1a0751421673efb55e7d8118199be"></a><!-- doxytag: member="irr::io::SNamedPath::PathToName" ref="a44b1a0751421673efb55e7d8118199be" args="(const path &p) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classirr_1_1core_1_1string.html">path</a> irr::io::SNamedPath::PathToName </td> <td>(</td> <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1string.html">path</a> & </td> <td class="paramname"> <em>p</em></td> <td> ) </td> <td> const<code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="path_8h_source.html#l00072">72</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> <p>References <a class="el" href="irr_string_8h_source.html#l00415">irr::core::string< T, TAlloc >::make_lower()</a>, and <a class="el" href="irr_string_8h_source.html#l00885">irr::core::string< T, TAlloc >::replace()</a>.</p> <p>Referenced by <a class="el" href="path_8h_source.html#l00040">setPath()</a>.</p> </div> </div> <a class="anchor" id="a2c802b7579938e06bd858d5edade3d72"></a><!-- doxytag: member="irr::io::SNamedPath::setPath" ref="a2c802b7579938e06bd858d5edade3d72" args="(const path &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void irr::io::SNamedPath::setPath </td> <td>(</td> <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1string.html">path</a> & </td> <td class="paramname"> <em>p</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Set the path. </p> <p>Definition at line <a class="el" href="path_8h_source.html#l00040">40</a> of file <a class="el" href="path_8h_source.html">path.h</a>.</p> <p>References <a class="el" href="path_8h_source.html#l00072">PathToName()</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="path_8h_source.html">path.h</a></li> </ul> </div> <hr size="1"> <address style="align: right;"> <small> </small> </address> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td> <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht Engine</a> Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:42:06 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> (1.6.2)</font></em></small></div></td> </tr> </table> <address style="align: right;"> </address> </body> </html>