<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>HippoDraw Class Library</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="hippoApp.ico"> </head><body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_d71d549033b3d00bbeb107001643b90a.html">xml</a> </div> </div> <div class="contents"> <h1>AxisModelXML.h</h1><a href="AxisModelXML_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*- */</span> <a name="l00002"></a>00002 <a name="l00014"></a>00014 <span class="preprocessor">#ifndef _AxisModelXML_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _AxisModelXML_H_</span> <a name="l00016"></a>00016 <span class="preprocessor"></span> <a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="BaseXML_8h.html" title="BaseXML class interface.">BaseXML.h</a>"</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#include "<a class="code" href="AxesType_8h.html" title="The namespace for axes.">axes/AxesType.h</a>"</span> <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="keyword">namespace </span>hippodraw { <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="keyword">class </span>AxisModelBase; <a name="l00024"></a>00024 <span class="keyword">class </span>AxisTickXML; <a name="l00025"></a>00025 <a name="l00031"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html">00031</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1AxisModelXML.html" title="A class that is does XML serialization and de-serialization of derived classes of...">AxisModelXML</a> : <span class="keyword">virtual</span> <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1BaseXML.html" title="A base class of XML element controllers.">BaseXML</a> <a name="l00032"></a>00032 { <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="keyword">private</span>: <a name="l00035"></a>00035 <a name="l00037"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html#a242fdf073c801a3c0cb1b6b715fc38d5">00037</a> <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1AxisModelXML.html" title="A class that is does XML serialization and de-serialization of derived classes of...">AxisModelXML</a> * s_instance; <a name="l00038"></a>00038 <a name="l00041"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html#a3b9e29d257e095e750a99be42ea7e524">00041</a> <a class="code" href="classhippodraw_1_1AxisTickXML.html" title="A class that is does XML serialization and de-serialization of AxisTick with XML...">AxisTickXML</a> * m_axistick_xml; <a name="l00042"></a>00042 <a name="l00044"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html#a899d4db96d521999eeab11f62effd3a4">00044</a> std::string m_autorange; <a name="l00045"></a>00045 <a name="l00047"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html#a3f2cec569d47e147250bc4baaf222076">00047</a> std::string m_low; <a name="l00048"></a>00048 <a name="l00050"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html#ae243830d7acb4a0cca6ab1a5a9e2b438">00050</a> std::string m_high; <a name="l00051"></a>00051 <a name="l00053"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html#a7b0f5d1b60977c63abc130354e0de3a4">00053</a> std::string m_scale_factor; <a name="l00054"></a>00054 <a name="l00056"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html#ac9a3f495dfe002ec2aef9565c3a53258">00056</a> std::string m_log; <a name="l00057"></a>00057 <a name="l00061"></a><a class="code" href="classhippodraw_1_1AxisModelXML.html#a3d6df832bcae763082ff0d92230718cb">00061</a> std::string m_auto_tick; <a name="l00062"></a>00062 <a name="l00064"></a>00064 <a class="code" href="classhippodraw_1_1AxisModelXML.html" title="A class that is does XML serialization and de-serialization of derived classes of...">AxisModelXML</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1AxisModelXML.html" title="A class that is does XML serialization and de-serialization of derived classes of...">AxisModelXML</a> & ); <a name="l00065"></a>00065 <a name="l00068"></a>00068 <span class="keywordtype">void</span> createChildren ( <a class="code" href="classhippodraw_1_1XmlElement.html" title="A pure virtual base class of XML element wrapper.">XmlElement</a> &, <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> & ); <a name="l00069"></a>00069 <a name="l00072"></a>00072 <span class="keywordtype">void</span> createChildren ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1XmlElement.html" title="A pure virtual base class of XML element wrapper.">XmlElement</a> * element, <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> * model ); <a name="l00073"></a>00073 <a name="l00074"></a>00074 <span class="keyword">public</span>: <a name="l00075"></a>00075 <a name="l00078"></a>00078 <a class="code" href="classhippodraw_1_1AxisModelXML.html" title="A class that is does XML serialization and de-serialization of derived classes of...">AxisModelXML</a> ( <a class="code" href="classhippodraw_1_1XmlController.html" title="A base class that is the interface between GUI and the XML serialization and deserialization...">XmlController</a> * controller ); <a name="l00079"></a>00079 <a name="l00082"></a>00082 ~<a class="code" href="classhippodraw_1_1AxisModelXML.html" title="A class that is does XML serialization and de-serialization of derived classes of...">AxisModelXML</a> (); <a name="l00083"></a>00083 <a name="l00086"></a>00086 <span class="keywordtype">void</span> setAttributes ( <a class="code" href="classhippodraw_1_1XmlElement.html" title="A pure virtual base class of XML element wrapper.">XmlElement</a> & tag, <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> & plotter ); <a name="l00087"></a>00087 <a name="l00090"></a>00090 <span class="keywordtype">void</span> setAttributes ( <a class="code" href="classhippodraw_1_1AxisModelBase.html" title="The AxisModelBase class maintains the Range and scaling of an axis.">AxisModelBase</a> * model, <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1XmlElement.html" title="A pure virtual base class of XML element wrapper.">XmlElement</a> * element ); <a name="l00091"></a>00091 <a name="l00093"></a>00093 <a class="code" href="namespacehippodraw_1_1Axes.html#a1d1cfd8ffb84e947f82999c682b666a7" title="Axes constants.">hippodraw::Axes::Type</a> getAxis ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1XmlElement.html" title="A pure virtual base class of XML element wrapper.">XmlElement</a> * element, <a name="l00094"></a>00094 <span class="keyword">const</span> std::string & tagname ); <a name="l00095"></a>00095 <a name="l00098"></a>00098 <span class="keywordtype">bool</span> isLog ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1XmlElement.html" title="A pure virtual base class of XML element wrapper.">XmlElement</a> * element ); <a name="l00099"></a>00099 <a name="l00100"></a>00100 }; <a name="l00101"></a>00101 <a name="l00102"></a>00102 } <span class="comment">// namespace hippodraw</span> <a name="l00103"></a>00103 <a name="l00104"></a>00104 <span class="preprocessor">#endif // _AxisModelXML_H_</span> </pre></div></div> <hr size="1"><address style="align: right;"><small> Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0> </a> </small></address> </body> </html>