<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>FontXML.h</h1><a href="FontXML_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 _FontXML_H_</span> <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _FontXML_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>FontBase; <a name="l00024"></a>00024 <a name="l00030"></a><a class="code" href="classhippodraw_1_1FontXML.html">00030</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1FontXML.html" title="A class that is does XML serialization and deserialization of derived classes of...">FontXML</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="l00031"></a>00031 { <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="keyword">private</span>: <a name="l00034"></a>00034 <a name="l00036"></a><a class="code" href="classhippodraw_1_1FontXML.html#aed7bf38a33c0204e41f5f01793c19899">00036</a> <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1FontXML.html" title="A class that is does XML serialization and deserialization of derived classes of...">FontXML</a> * s_instance; <a name="l00037"></a>00037 <a name="l00040"></a><a class="code" href="classhippodraw_1_1FontXML.html#af85a81e31d491e4e62e137d2130932b0">00040</a> std::string m_family; <a name="l00041"></a>00041 <a name="l00044"></a><a class="code" href="classhippodraw_1_1FontXML.html#a73ce8ccf631725f72f3c37b8c3a64bbe">00044</a> std::string m_italic; <a name="l00045"></a>00045 <a name="l00048"></a><a class="code" href="classhippodraw_1_1FontXML.html#a17b2ca2062cf6a07236943061bf64eb1">00048</a> std::string m_size; <a name="l00049"></a>00049 <a name="l00052"></a><a class="code" href="classhippodraw_1_1FontXML.html#ad7630136f9ed9b266ef3057d11e5ccae">00052</a> std::string m_weight; <a name="l00053"></a>00053 <a name="l00055"></a>00055 <a class="code" href="classhippodraw_1_1FontXML.html" title="A class that is does XML serialization and deserialization of derived classes of...">FontXML</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1FontXML.html" title="A class that is does XML serialization and deserialization of derived classes of...">FontXML</a> & ); <a name="l00056"></a>00056 <a name="l00057"></a>00057 <a name="l00058"></a>00058 <span class="keyword">public</span>: <a name="l00059"></a>00059 <a name="l00062"></a>00062 <a class="code" href="classhippodraw_1_1FontXML.html" title="A class that is does XML serialization and deserialization of derived classes of...">FontXML</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="l00063"></a>00063 <a name="l00066"></a>00066 <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> &, <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1FontBase.html" title="A abstract base class for font handling.">FontBase</a> & ); <a name="l00067"></a>00067 <a name="l00070"></a>00070 <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="l00071"></a>00071 <span class="keyword">const</span> std::string & tagname ); <a name="l00072"></a>00072 <a name="l00076"></a>00076 <span class="keywordtype">void</span> setAttributes ( <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_1FontBase.html" title="A abstract base class for font handling.">FontBase</a> * font ); <a name="l00077"></a>00077 <a name="l00078"></a>00078 }; <a name="l00079"></a>00079 <a name="l00080"></a>00080 } <span class="comment">// namespace hippodraw</span> <a name="l00081"></a>00081 <a name="l00082"></a>00082 <span class="preprocessor">#endif // _FontXML_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>