Changeset 172 for doc/latex/classUserInfo.tex
- Timestamp:
- 09/24/08 13:31:03 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classUserInfo.tex
r162 r172 1 \hypertarget{classUserInfo}{ 1 2 \section{UserInfo Class Reference} 2 3 \label{classUserInfo}\index{UserInfo@{UserInfo}} 3 \doxyref{UserInfo}{p.}{classUserInfo} is an abstract is for internal purposes only. Use CompoundUserInfo$<$T$>$ or ValuedUserInfo$<$T$>$ instead. The raison d'etre of this class is to allow pointers to its templated descendants. 4 } 5 \hyperlink{classUserInfo}{UserInfo} is an abstract is for internal purposes only. Use CompoundUserInfo$<$T$>$ or ValuedUserInfo$<$T$>$ instead. The raison d'etre of this class is to allow pointers to its templated descendants. 4 6 5 7 … … 23 25 \begin{CompactItemize} 24 26 \item 25 {\footnotesize template$<$class T$>$ }\\static T $\ast$ {\bfAssembly} (DOMElement \&element, const string tagName)27 {\footnotesize template$<$class T$>$ }\\static T $\ast$ \hyperlink{classUserInfo_0f090c6525a3e8fb11634a553f467ede}{Assembly} (DOMElement \&element, const string tagName) 26 28 \item 27 {\footnotesize template$<$class T$>$ }\\static bool {\bfDisassembly} (T \&instance, DOMElement \&element, const string tagName, const string help)29 {\footnotesize template$<$class T$>$ }\\static bool \hyperlink{classUserInfo_1d402661b82feccb5265a70f65c242e1}{Disassembly} (T \&instance, DOMElement \&element, const string tagName, const string help) 28 30 \item 29 {\footnotesize template$<$class T$>$ }\\static bool {\bfDisassembly} (T \&instance, DOMElement \&element, const string tagName)31 {\footnotesize template$<$class T$>$ }\\static bool \hyperlink{classUserInfo_917b2257abc31b94c89ef3cd270e4a42}{Disassembly} (T \&instance, DOMElement \&element, const string tagName) 30 32 \end{CompactItemize} 31 33 \subsection*{Protected Member Functions} 32 34 \begin{CompactItemize} 33 35 \item 34 {\bf UserInfo} (const string \&userFriendlyTypeName, const string \&typeNameByRTTI)\label{classUserInfo_0bccb19c6b819cf9f763e985c573ae8f} 36 \hypertarget{classUserInfo_0bccb19c6b819cf9f763e985c573ae8f}{ 37 \hyperlink{classUserInfo_0bccb19c6b819cf9f763e985c573ae8f}{UserInfo} (const string \&userFriendlyTypeName, const string \&typeNameByRTTI)} 38 \label{classUserInfo_0bccb19c6b819cf9f763e985c573ae8f} 35 39 36 40 \begin{CompactList}\small\item\em default constructor \item\end{CompactList}\item 37 string {\bf XMLCh2str} (const XMLCh $\ast$const XMLCh\_\-str)\label{classBindingFrame_2244bd5181c3d1e70f3a6be2b72e9424} 41 \hypertarget{classBindingFrame_2244bd5181c3d1e70f3a6be2b72e9424}{ 42 string \hyperlink{classBindingFrame_2244bd5181c3d1e70f3a6be2b72e9424}{XMLCh2str} (const XMLCh $\ast$const XMLCh\_\-str)} 43 \label{classBindingFrame_2244bd5181c3d1e70f3a6be2b72e9424} 38 44 39 45 \begin{CompactList}\small\item\em function which transcodes Xerces' XMLCh-based strings into C++ strings \item\end{CompactList}\item 40 string \textbf{removeSpaces} (const string \&{\bf str})\label{classBindingFrame_820e4df85c0dc545e3079e407fcdbbaa} 46 \hypertarget{classBindingFrame_820e4df85c0dc545e3079e407fcdbbaa}{ 47 string \textbf{removeSpaces} (const string \&\hyperlink{classstr}{str})} 48 \label{classBindingFrame_820e4df85c0dc545e3079e407fcdbbaa} 41 49 42 50 \item 43 virtual void {\bf AssemblyComponentsFromXML} (DOMElement \&element)=0\label{classBindingFrame_c6d068c261d4fc3a0a4d1305ade1483d} 51 \hypertarget{classBindingFrame_c6d068c261d4fc3a0a4d1305ade1483d}{ 52 virtual void \hyperlink{classBindingFrame_c6d068c261d4fc3a0a4d1305ade1483d}{AssemblyComponentsFromXML} (DOMElement \&element)=0} 53 \label{classBindingFrame_c6d068c261d4fc3a0a4d1305ade1483d} 44 54 45 55 \begin{CompactList}\small\item\em This method parse DOMElement, finds proper DOMNode and fills binded data accordingly. \item\end{CompactList}\item 46 virtual void {\bf ReleaseMemory} ()\label{classBindingFrame_8d4dc5902ee71a473983d6a8fa3c8b7a} 56 \hypertarget{classBindingFrame_8d4dc5902ee71a473983d6a8fa3c8b7a}{ 57 virtual void \hyperlink{classBindingFrame_8d4dc5902ee71a473983d6a8fa3c8b7a}{ReleaseMemory} ()} 58 \label{classBindingFrame_8d4dc5902ee71a473983d6a8fa3c8b7a} 47 59 48 60 \begin{CompactList}\small\item\em A method for releasing memory allocated within the 'AssemblyComponentsFromXML()' method. \item\end{CompactList}\item 49 virtual bool {\bfDisassemblyComponentsToXML} (DOMElement \&element)=061 virtual bool \hyperlink{classBindingFrame_0c207ed6e5a4c975ed5bc9a758a063ca}{DisassemblyComponentsToXML} (DOMElement \&element)=0 50 62 \end{CompactItemize} 51 63 \subsection*{Classes} … … 57 69 58 70 \subsection{Detailed Description} 59 \ doxyref{UserInfo}{p.}{classUserInfo} is an abstract is for internal purposes only. Use CompoundUserInfo$<$T$>$ or ValuedUserInfo$<$T$>$ instead. The raison d'etre of this class is to allow pointers to its templated descendants.71 \hyperlink{classUserInfo}{UserInfo} is an abstract is for internal purposes only. Use CompoundUserInfo$<$T$>$ or ValuedUserInfo$<$T$>$ instead. The raison d'etre of this class is to allow pointers to its templated descendants. 60 72 61 Also, the main functions of the whole \ doxyref{UserInfo}{p.}{classUserInfo} library are included within this class, see static methods 'Assembly' and 'Disassembly'.73 Also, the main functions of the whole \hyperlink{classUserInfo}{UserInfo} library are included within this class, see static methods 'Assembly' and 'Disassembly'. 62 74 63 75 \subsection{Member Function Documentation} 76 \hypertarget{classUserInfo_0f090c6525a3e8fb11634a553f467ede}{ 64 77 \index{UserInfo@{UserInfo}!Assembly@{Assembly}} 65 78 \index{Assembly@{Assembly}!UserInfo@{UserInfo}} 66 \subsubsection[Assembly]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ static T$\ast$ UserInfo::Assembly (DOMElement \& {\em element}, \/ const string {\em tagName})\hspace{0.3cm}{\tt [inline, static]}}\label{classUserInfo_0f090c6525a3e8fb11634a553f467ede} 79 \subsubsection[Assembly]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ static T$\ast$ UserInfo::Assembly (DOMElement \& {\em element}, \/ const string {\em tagName})\hspace{0.3cm}{\tt \mbox{[}inline, static\mbox{]}}}} 80 \label{classUserInfo_0f090c6525a3e8fb11634a553f467ede} 67 81 68 82 69 83 This methods tries to assembly a new instance of type T (or some of its descendant types) according to a data stored in a DOMNode named tagName within a child nodes of the passed element. If an error occurs, it returns a NULL pointer. 70 84 71 References Attribute::Get(), and Attribute::type.\index{UserInfo@{UserInfo}!Disassembly@{Disassembly}} 85 References Attribute::Get(), and Attribute::type.\hypertarget{classUserInfo_1d402661b82feccb5265a70f65c242e1}{ 86 \index{UserInfo@{UserInfo}!Disassembly@{Disassembly}} 72 87 \index{Disassembly@{Disassembly}!UserInfo@{UserInfo}} 73 \subsubsection[Disassembly]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ static bool UserInfo::Disassembly (T \& {\em instance}, \/ DOMElement \& {\em element}, \/ const string {\em tagName}, \/ const string {\em help})\hspace{0.3cm}{\tt [inline, static]}}\label{classUserInfo_1d402661b82feccb5265a70f65c242e1} 88 \subsubsection[Disassembly]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ static bool UserInfo::Disassembly (T \& {\em instance}, \/ DOMElement \& {\em element}, \/ const string {\em tagName}, \/ const string {\em help})\hspace{0.3cm}{\tt \mbox{[}inline, static\mbox{]}}}} 89 \label{classUserInfo_1d402661b82feccb5265a70f65c242e1} 74 90 75 91 … … 78 94 References Attribute::help, Attribute::Set(), and Attribute::type. 79 95 80 Referenced by Disassembly(), and CompoundUserInfo$<$ T $>$::BindedElement$<$ U $>$::DisassemblyComponentsToXML().\index{UserInfo@{UserInfo}!Disassembly@{Disassembly}} 96 Referenced by Disassembly(), and CompoundUserInfo$<$ T $>$::BindedElement$<$ U $>$::DisassemblyComponentsToXML().\hypertarget{classUserInfo_917b2257abc31b94c89ef3cd270e4a42}{ 97 \index{UserInfo@{UserInfo}!Disassembly@{Disassembly}} 81 98 \index{Disassembly@{Disassembly}!UserInfo@{UserInfo}} 82 \subsubsection[Disassembly]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ static bool UserInfo::Disassembly (T \& {\em instance}, \/ DOMElement \& {\em element}, \/ const string {\em tagName})\hspace{0.3cm}{\tt [inline, static]}}\label{classUserInfo_917b2257abc31b94c89ef3cd270e4a42} 99 \subsubsection[Disassembly]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ static bool UserInfo::Disassembly (T \& {\em instance}, \/ DOMElement \& {\em element}, \/ const string {\em tagName})\hspace{0.3cm}{\tt \mbox{[}inline, static\mbox{]}}}} 100 \label{classUserInfo_917b2257abc31b94c89ef3cd270e4a42} 83 101 84 102 85 103 This methods tries to disassembly an instance of type T (or some of its descendant types) and build DOM tree accordingly. Then, it creates a new DOMNode named according tagName and connecti it to the passed DOMElement as a new child node. 86 104 87 References Disassembly().\index{UserInfo@{UserInfo}!DisassemblyComponentsToXML@{DisassemblyComponentsToXML}} 105 References Disassembly().\hypertarget{classBindingFrame_0c207ed6e5a4c975ed5bc9a758a063ca}{ 106 \index{UserInfo@{UserInfo}!DisassemblyComponentsToXML@{DisassemblyComponentsToXML}} 88 107 \index{DisassemblyComponentsToXML@{DisassemblyComponentsToXML}!UserInfo@{UserInfo}} 89 \subsubsection[DisassemblyComponentsToXML]{\setlength{\rightskip}{0pt plus 5cm}virtual bool BindingFrame::DisassemblyComponentsToXML (DOMElement \& {\em element})\hspace{0.3cm}{\tt [pure virtual, inherited]}}\label{classBindingFrame_0c207ed6e5a4c975ed5bc9a758a063ca} 108 \subsubsection[DisassemblyComponentsToXML]{\setlength{\rightskip}{0pt plus 5cm}virtual bool BindingFrame::DisassemblyComponentsToXML (DOMElement \& {\em element})\hspace{0.3cm}{\tt \mbox{[}pure virtual, inherited\mbox{]}}}} 109 \label{classBindingFrame_0c207ed6e5a4c975ed5bc9a758a063ca} 90 110 91 111 92 112 This method reads binded data, fill them into a new DOMNode, which then appends to the passed DOMElement 93 113 94 Implemented in {\bf CompoundUserInfo$<$ T $>$::BindedElement$<$ U $>$} \doxyref{}{p.}{classCompoundUserInfo_1_1BindedElement_6ef55cedb98f5d2dbcf92730f2fed939}.114 Implemented in \hyperlink{classCompoundUserInfo_1_1BindedElement_6ef55cedb98f5d2dbcf92730f2fed939}{CompoundUserInfo$<$ T $>$::BindedElement$<$ U $>$}. 95 115 96 116 The documentation for this class was generated from the following file:\begin{CompactItemize}