LibreOffice Module codemaker (master) 1
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
codemaker::ExceptionTreeNode Struct Reference

Represents a node of the hierarchy from the ExceptionTree class. More...

#include <exceptiontree.hxx>

Public Types

typedef std::vector< std::unique_ptr< ExceptionTreeNode > > Children
 

Public Member Functions

 ExceptionTreeNode (rtl::OString theName)
 
 ~ExceptionTreeNode ()
 
void setPresent ()
 
ExceptionTreeNodeadd (rtl::OString const &theName)
 

Public Attributes

rtl::OString name
 
bool present
 
Children children
 

Private Member Functions

 ExceptionTreeNode (ExceptionTreeNode const &)=delete
 
ExceptionTreeNodeoperator= (ExceptionTreeNode const &)=delete
 
void clearChildren ()
 

Detailed Description

Represents a node of the hierarchy from the ExceptionTree class.

Definition at line 37 of file exceptiontree.hxx.

Member Typedef Documentation

◆ Children

typedef std::vector< std::unique_ptr<ExceptionTreeNode> > codemaker::ExceptionTreeNode::Children

Definition at line 38 of file exceptiontree.hxx.

Constructor & Destructor Documentation

◆ ExceptionTreeNode() [1/2]

codemaker::ExceptionTreeNode::ExceptionTreeNode ( rtl::OString  theName)
inline

Definition at line 41 of file exceptiontree.hxx.

Referenced by add().

◆ ~ExceptionTreeNode()

codemaker::ExceptionTreeNode::~ExceptionTreeNode ( )
inline

Definition at line 45 of file exceptiontree.hxx.

References clearChildren().

◆ ExceptionTreeNode() [2/2]

codemaker::ExceptionTreeNode::ExceptionTreeNode ( ExceptionTreeNode const &  )
privatedelete

Member Function Documentation

◆ add()

ExceptionTreeNode * ExceptionTreeNode::add ( rtl::OString const &  theName)

Definition at line 36 of file exceptiontree.cxx.

References children, and ExceptionTreeNode().

Referenced by codemaker::ExceptionTree::add().

◆ clearChildren()

void ExceptionTreeNode::clearChildren ( )
private

Definition at line 42 of file exceptiontree.cxx.

References children.

Referenced by setPresent(), and ~ExceptionTreeNode().

◆ operator=()

ExceptionTreeNode & codemaker::ExceptionTreeNode::operator= ( ExceptionTreeNode const &  )
privatedelete

◆ setPresent()

void codemaker::ExceptionTreeNode::setPresent ( )
inline

Definition at line 48 of file exceptiontree.hxx.

References clearChildren(), and present.

Referenced by codemaker::ExceptionTree::add().

Member Data Documentation

◆ children

Children codemaker::ExceptionTreeNode::children

Definition at line 55 of file exceptiontree.hxx.

Referenced by codemaker::ExceptionTree::add(), add(), and clearChildren().

◆ name

rtl::OString codemaker::ExceptionTreeNode::name

Definition at line 53 of file exceptiontree.hxx.

◆ present

bool codemaker::ExceptionTreeNode::present

Definition at line 54 of file exceptiontree.hxx.

Referenced by codemaker::ExceptionTree::add(), and setPresent().


The documentation for this struct was generated from the following files: