\hypertarget{classodf_1_1element_1_1Childless}{\section{odf.\+element.\+Childless Class Reference}
\label{classodf_1_1element_1_1Childless}\index{odf.\+element.\+Childless@{odf.\+element.\+Childless}}
}


Mixin that makes childless-\/ness easy to implement and avoids the complexity of the \hyperlink{classodf_1_1element_1_1Node}{Node} methods that deal with children.  




Inheritance diagram for odf.\+element.\+Childless\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=227pt]{classodf_1_1element_1_1Childless__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for odf.\+element.\+Childless\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=188pt]{classodf_1_1element_1_1Childless__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classodf_1_1element_1_1Childless_a49fc4deafdc33d7f017f6c41749f5148}{append\+Child}
\begin{DoxyCompactList}\small\item\em Raises an error. \end{DoxyCompactList}\item 
def \hyperlink{classodf_1_1element_1_1Childless_a9f3f1b00e65a6ce687d2bf14ffe5baf2}{has\+Child\+Nodes}
\item 
def \hyperlink{classodf_1_1element_1_1Childless_a70f9703eec71a5bb0e11d0b103d3d2cf}{insert\+Before}
\begin{DoxyCompactList}\small\item\em Raises an error. \end{DoxyCompactList}\item 
def \hyperlink{classodf_1_1element_1_1Childless_a2402048d2c1f8111d760251879db5dc4}{remove\+Child}
\begin{DoxyCompactList}\small\item\em Raises an error. \end{DoxyCompactList}\item 
def \hyperlink{classodf_1_1element_1_1Childless_abbe6bb396f159cf279b90d20dafc93c6}{replace\+Child}
\begin{DoxyCompactList}\small\item\em Raises an error. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classodf_1_1element_1_1Childless_a974831eaa784b87dd106703dc26cf5a7}{attributes} = None
\item 
tuple \hyperlink{classodf_1_1element_1_1Childless_ae9ed4266fb5a1ee7130cac60657b59e9}{child\+Nodes} = Empty\+Node\+List()
\item 
\hyperlink{classodf_1_1element_1_1Childless_aadc41dd016ecd19cd96232e5309b17f3}{first\+Child} = None
\item 
\hyperlink{classodf_1_1element_1_1Childless_a846e55e8931bcc3c90754e3b45110e96}{last\+Child} = None
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Mixin that makes childless-\/ness easy to implement and avoids the complexity of the \hyperlink{classodf_1_1element_1_1Node}{Node} methods that deal with children. 

Definition at line 221 of file element.\+py.



\subsection{Member Function Documentation}
\hypertarget{classodf_1_1element_1_1Childless_a49fc4deafdc33d7f017f6c41749f5148}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!append\+Child@{append\+Child}}
\index{append\+Child@{append\+Child}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{append\+Child}]{\setlength{\rightskip}{0pt plus 5cm}def odf.\+element.\+Childless.\+append\+Child (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{node}
\end{DoxyParamCaption}
)}}\label{classodf_1_1element_1_1Childless_a49fc4deafdc33d7f017f6c41749f5148}


Raises an error. 



Definition at line 236 of file element.\+py.

\hypertarget{classodf_1_1element_1_1Childless_a9f3f1b00e65a6ce687d2bf14ffe5baf2}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!has\+Child\+Nodes@{has\+Child\+Nodes}}
\index{has\+Child\+Nodes@{has\+Child\+Nodes}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{has\+Child\+Nodes}]{\setlength{\rightskip}{0pt plus 5cm}def odf.\+element.\+Childless.\+has\+Child\+Nodes (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classodf_1_1element_1_1Childless_a9f3f1b00e65a6ce687d2bf14ffe5baf2}


Definition at line 240 of file element.\+py.

\hypertarget{classodf_1_1element_1_1Childless_a70f9703eec71a5bb0e11d0b103d3d2cf}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!insert\+Before@{insert\+Before}}
\index{insert\+Before@{insert\+Before}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{insert\+Before}]{\setlength{\rightskip}{0pt plus 5cm}def odf.\+element.\+Childless.\+insert\+Before (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{new\+Child, }
\item[{}]{ref\+Child}
\end{DoxyParamCaption}
)}}\label{classodf_1_1element_1_1Childless_a70f9703eec71a5bb0e11d0b103d3d2cf}


Raises an error. 



Definition at line 245 of file element.\+py.

\hypertarget{classodf_1_1element_1_1Childless_a2402048d2c1f8111d760251879db5dc4}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!remove\+Child@{remove\+Child}}
\index{remove\+Child@{remove\+Child}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{remove\+Child}]{\setlength{\rightskip}{0pt plus 5cm}def odf.\+element.\+Childless.\+remove\+Child (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{old\+Child}
\end{DoxyParamCaption}
)}}\label{classodf_1_1element_1_1Childless_a2402048d2c1f8111d760251879db5dc4}


Raises an error. 



Definition at line 251 of file element.\+py.

\hypertarget{classodf_1_1element_1_1Childless_abbe6bb396f159cf279b90d20dafc93c6}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!replace\+Child@{replace\+Child}}
\index{replace\+Child@{replace\+Child}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{replace\+Child}]{\setlength{\rightskip}{0pt plus 5cm}def odf.\+element.\+Childless.\+replace\+Child (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{new\+Child, }
\item[{}]{old\+Child}
\end{DoxyParamCaption}
)}}\label{classodf_1_1element_1_1Childless_abbe6bb396f159cf279b90d20dafc93c6}


Raises an error. 



Definition at line 257 of file element.\+py.



\subsection{Member Data Documentation}
\hypertarget{classodf_1_1element_1_1Childless_a974831eaa784b87dd106703dc26cf5a7}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!attributes@{attributes}}
\index{attributes@{attributes}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{attributes}]{\setlength{\rightskip}{0pt plus 5cm}odf.\+element.\+Childless.\+attributes = None\hspace{0.3cm}{\ttfamily [static]}}}\label{classodf_1_1element_1_1Childless_a974831eaa784b87dd106703dc26cf5a7}


Definition at line 223 of file element.\+py.

\hypertarget{classodf_1_1element_1_1Childless_ae9ed4266fb5a1ee7130cac60657b59e9}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!child\+Nodes@{child\+Nodes}}
\index{child\+Nodes@{child\+Nodes}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{child\+Nodes}]{\setlength{\rightskip}{0pt plus 5cm}tuple odf.\+element.\+Childless.\+child\+Nodes = Empty\+Node\+List()\hspace{0.3cm}{\ttfamily [static]}}}\label{classodf_1_1element_1_1Childless_ae9ed4266fb5a1ee7130cac60657b59e9}


Definition at line 224 of file element.\+py.

\hypertarget{classodf_1_1element_1_1Childless_aadc41dd016ecd19cd96232e5309b17f3}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!first\+Child@{first\+Child}}
\index{first\+Child@{first\+Child}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{first\+Child}]{\setlength{\rightskip}{0pt plus 5cm}odf.\+element.\+Childless.\+first\+Child = None\hspace{0.3cm}{\ttfamily [static]}}}\label{classodf_1_1element_1_1Childless_aadc41dd016ecd19cd96232e5309b17f3}


Definition at line 225 of file element.\+py.

\hypertarget{classodf_1_1element_1_1Childless_a846e55e8931bcc3c90754e3b45110e96}{\index{odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}!last\+Child@{last\+Child}}
\index{last\+Child@{last\+Child}!odf\+::element\+::\+Childless@{odf\+::element\+::\+Childless}}
\subsubsection[{last\+Child}]{\setlength{\rightskip}{0pt plus 5cm}odf.\+element.\+Childless.\+last\+Child = None\hspace{0.3cm}{\ttfamily [static]}}}\label{classodf_1_1element_1_1Childless_a846e55e8931bcc3c90754e3b45110e96}


Definition at line 226 of file element.\+py.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
odf/\hyperlink{element_8py}{element.\+py}\end{DoxyCompactItemize}
