[172] | 1 | \hypertarget{classUserInfo}{ |
---|
[162] | 2 | \section{UserInfo Class Reference} |
---|
[140] | 3 | \label{classUserInfo}\index{UserInfo@{UserInfo}} |
---|
[172] | 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. |
---|
[140] | 6 | |
---|
| 7 | |
---|
| 8 | {\tt \#include $<$userinfo.h$>$} |
---|
| 9 | |
---|
[162] | 10 | Inheritance diagram for UserInfo:\nopagebreak |
---|
[140] | 11 | \begin{figure}[H] |
---|
| 12 | \begin{center} |
---|
| 13 | \leavevmode |
---|
[162] | 14 | \includegraphics[width=400pt]{classUserInfo__inherit__graph} |
---|
[140] | 15 | \end{center} |
---|
| 16 | \end{figure} |
---|
[162] | 17 | Collaboration diagram for UserInfo:\nopagebreak |
---|
[140] | 18 | \begin{figure}[H] |
---|
| 19 | \begin{center} |
---|
| 20 | \leavevmode |
---|
[162] | 21 | \includegraphics[width=137pt]{classUserInfo__coll__graph} |
---|
[140] | 22 | \end{center} |
---|
| 23 | \end{figure} |
---|
[162] | 24 | \subsection*{Static Public Member Functions} |
---|
[140] | 25 | \begin{CompactItemize} |
---|
| 26 | \item |
---|
[172] | 27 | {\footnotesize template$<$class T$>$ }\\static T $\ast$ \hyperlink{classUserInfo_0f090c6525a3e8fb11634a553f467ede}{Assembly} (DOMElement \&element, const string tagName) |
---|
[162] | 28 | \item |
---|
[172] | 29 | {\footnotesize template$<$class T$>$ }\\static bool \hyperlink{classUserInfo_1d402661b82feccb5265a70f65c242e1}{Disassembly} (T \&instance, DOMElement \&element, const string tagName, const string help) |
---|
[162] | 30 | \item |
---|
[172] | 31 | {\footnotesize template$<$class T$>$ }\\static bool \hyperlink{classUserInfo_917b2257abc31b94c89ef3cd270e4a42}{Disassembly} (T \&instance, DOMElement \&element, const string tagName) |
---|
[162] | 32 | \end{CompactItemize} |
---|
| 33 | \subsection*{Protected Member Functions} |
---|
| 34 | \begin{CompactItemize} |
---|
| 35 | \item |
---|
[172] | 36 | \hypertarget{classUserInfo_0bccb19c6b819cf9f763e985c573ae8f}{ |
---|
| 37 | \hyperlink{classUserInfo_0bccb19c6b819cf9f763e985c573ae8f}{UserInfo} (const string \&userFriendlyTypeName, const string \&typeNameByRTTI)} |
---|
| 38 | \label{classUserInfo_0bccb19c6b819cf9f763e985c573ae8f} |
---|
[140] | 39 | |
---|
[162] | 40 | \begin{CompactList}\small\item\em default constructor \item\end{CompactList}\item |
---|
[172] | 41 | \hypertarget{classBindingFrame_2244bd5181c3d1e70f3a6be2b72e9424}{ |
---|
| 42 | string \hyperlink{classBindingFrame_2244bd5181c3d1e70f3a6be2b72e9424}{XMLCh2str} (const XMLCh $\ast$const XMLCh\_\-str)} |
---|
| 43 | \label{classBindingFrame_2244bd5181c3d1e70f3a6be2b72e9424} |
---|
[140] | 44 | |
---|
[162] | 45 | \begin{CompactList}\small\item\em function which transcodes Xerces' XMLCh-based strings into C++ strings \item\end{CompactList}\item |
---|
[172] | 46 | \hypertarget{classBindingFrame_820e4df85c0dc545e3079e407fcdbbaa}{ |
---|
[255] | 47 | string \textbf{removeSpaces} (const string \&str)} |
---|
[172] | 48 | \label{classBindingFrame_820e4df85c0dc545e3079e407fcdbbaa} |
---|
[140] | 49 | |
---|
[162] | 50 | \item |
---|
[172] | 51 | \hypertarget{classBindingFrame_c6d068c261d4fc3a0a4d1305ade1483d}{ |
---|
| 52 | virtual void \hyperlink{classBindingFrame_c6d068c261d4fc3a0a4d1305ade1483d}{AssemblyComponentsFromXML} (DOMElement \&element)=0} |
---|
| 53 | \label{classBindingFrame_c6d068c261d4fc3a0a4d1305ade1483d} |
---|
[140] | 54 | |
---|
[162] | 55 | \begin{CompactList}\small\item\em This method parse DOMElement, finds proper DOMNode and fills binded data accordingly. \item\end{CompactList}\item |
---|
[172] | 56 | \hypertarget{classBindingFrame_8d4dc5902ee71a473983d6a8fa3c8b7a}{ |
---|
| 57 | virtual void \hyperlink{classBindingFrame_8d4dc5902ee71a473983d6a8fa3c8b7a}{ReleaseMemory} ()} |
---|
| 58 | \label{classBindingFrame_8d4dc5902ee71a473983d6a8fa3c8b7a} |
---|
[140] | 59 | |
---|
[162] | 60 | \begin{CompactList}\small\item\em A method for releasing memory allocated within the 'AssemblyComponentsFromXML()' method. \item\end{CompactList}\item |
---|
[172] | 61 | virtual bool \hyperlink{classBindingFrame_0c207ed6e5a4c975ed5bc9a758a063ca}{DisassemblyComponentsToXML} (DOMElement \&element)=0 |
---|
[162] | 62 | \end{CompactItemize} |
---|
| 63 | \subsection*{Classes} |
---|
| 64 | \begin{CompactItemize} |
---|
| 65 | \item |
---|
| 66 | class \textbf{StringToUIMap} |
---|
| 67 | \end{CompactItemize} |
---|
[140] | 68 | |
---|
| 69 | |
---|
[162] | 70 | \subsection{Detailed Description} |
---|
[172] | 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. |
---|
[140] | 72 | |
---|
[172] | 73 | Also, the main functions of the whole \hyperlink{classUserInfo}{UserInfo} library are included within this class, see static methods 'Assembly' and 'Disassembly'. |
---|
[140] | 74 | |
---|
[162] | 75 | \subsection{Member Function Documentation} |
---|
[172] | 76 | \hypertarget{classUserInfo_0f090c6525a3e8fb11634a553f467ede}{ |
---|
[162] | 77 | \index{UserInfo@{UserInfo}!Assembly@{Assembly}} |
---|
| 78 | \index{Assembly@{Assembly}!UserInfo@{UserInfo}} |
---|
[172] | 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} |
---|
[140] | 81 | |
---|
| 82 | |
---|
[162] | 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. |
---|
[140] | 84 | |
---|
[172] | 85 | References Attribute::Get(), and Attribute::type.\hypertarget{classUserInfo_1d402661b82feccb5265a70f65c242e1}{ |
---|
| 86 | \index{UserInfo@{UserInfo}!Disassembly@{Disassembly}} |
---|
[162] | 87 | \index{Disassembly@{Disassembly}!UserInfo@{UserInfo}} |
---|
[172] | 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} |
---|
[140] | 90 | |
---|
| 91 | |
---|
[162] | 92 | 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 (with a help attribute filled). |
---|
[140] | 93 | |
---|
[162] | 94 | References Attribute::help, Attribute::Set(), and Attribute::type. |
---|
[140] | 95 | |
---|
[172] | 96 | Referenced by Disassembly(), and CompoundUserInfo$<$ T $>$::BindedElement$<$ U $>$::DisassemblyComponentsToXML().\hypertarget{classUserInfo_917b2257abc31b94c89ef3cd270e4a42}{ |
---|
| 97 | \index{UserInfo@{UserInfo}!Disassembly@{Disassembly}} |
---|
[162] | 98 | \index{Disassembly@{Disassembly}!UserInfo@{UserInfo}} |
---|
[172] | 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} |
---|
[162] | 101 | |
---|
| 102 | |
---|
| 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. |
---|
| 104 | |
---|
[172] | 105 | References Disassembly().\hypertarget{classBindingFrame_0c207ed6e5a4c975ed5bc9a758a063ca}{ |
---|
| 106 | \index{UserInfo@{UserInfo}!DisassemblyComponentsToXML@{DisassemblyComponentsToXML}} |
---|
[162] | 107 | \index{DisassemblyComponentsToXML@{DisassemblyComponentsToXML}!UserInfo@{UserInfo}} |
---|
[172] | 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} |
---|
[162] | 110 | |
---|
| 111 | |
---|
| 112 | This method reads binded data, fill them into a new DOMNode, which then appends to the passed DOMElement |
---|
| 113 | |
---|
[172] | 114 | Implemented in \hyperlink{classCompoundUserInfo_1_1BindedElement_6ef55cedb98f5d2dbcf92730f2fed939}{CompoundUserInfo$<$ T $>$::BindedElement$<$ U $>$}. |
---|
[162] | 115 | |
---|
[140] | 116 | The documentation for this class was generated from the following file:\begin{CompactItemize} |
---|
| 117 | \item |
---|
[261] | 118 | userinfo.h\end{CompactItemize} |
---|