nux-0.9.46

nux::NodeNetCom Class Reference

#include <Nux/NodeNetProtocol.h>

Inheritance diagram for nux::NodeNetCom:
nux::NodeItem nux::TableItem nux::SectionProperty nux::TreeItem nux::CheckBoxPropertyItem nux::ColorGradientPropertyItem nux::ColorPreviewPropertyItem nux::ComboBoxListPropertyItem nux::ComboBoxPropertyItem nux::DoubleValuatorPropertyItem nux::EditTextLinePropertyItem nux::FilePropertyItem nux::IntValuatorPropertyItem nux::Matrix3PreviewPropertyItem nux::Matrix4PreviewPropertyItem nux::RangeValueIntegerPropertyItem nux::RangeValuePropertyItem nux::RGBAPropertyItem nux::RGBPropertyItem nux::SpinBoxDoublePropertyItem nux::SpinBoxPropertyItem nux::SplineCurvePropertyItem nux::Vector3PropertyItem nux::Vector3ValuatorPropertyItem nux::Vector4PropertyItem nux::FolderTreeItem

Public Member Functions

NodeNetComFindNodeID (int id)
 Search the ID in the whole tree below this node. Search also this node.
NodeNetComFindChildNodeID (int id)
 Search the ID in the immediate children of this node.
virtual TiXmlElementToXML () const
virtual bool FromXML (const TiXmlElement *elementxml)
virtual bool CreateFromXML (const TiXmlElement *elementxml)
 Used by client to create node from XML after initialization.
virtual bool SkipChild () const
 By default, when generating xml (ToXML) or creating from xml (FromXML), it may be necessary to skip the child of some elements because they.
void DeleteChildren ()
const TCHARGetName () const
void SetName (const TCHAR *str)

Protected Member Functions

void SetNodeXMLAttributes (TiXmlElement *elementxml) const
void GetNodeXMLAttributes (const TiXmlElement *elementxml)
 NodeNetCom (const TCHAR *Name, NodeParameterType type=NODE_TYPE_UNDEFINED)
virtual ~NodeNetCom ()
void SetParameterType (NodeParameterType t)
NodeParameterType GetParameterType () const
int GetID () const
void SetID (int id)
void SetEnable (bool b)
int IsEnable () const
void SetVisible (bool b)
int IsVisible () const

Friends

class ParameterManagerImpl

Constructor & Destructor Documentation

nux::NodeNetCom::NodeNetCom ( const TCHAR Name,
NodeParameterType  type = NODE_TYPE_UNDEFINED 
) [protected]
virtual nux::NodeNetCom::~NodeNetCom ( ) [inline, protected, virtual]

Member Function Documentation

virtual bool nux::NodeNetCom::CreateFromXML ( const TiXmlElement elementxml) [virtual]

Used by client to create node from XML after initialization.

void nux::NodeNetCom::DeleteChildren ( )
NodeNetCom* nux::NodeNetCom::FindChildNodeID ( int  id)

Search the ID in the immediate children of this node.

NodeNetCom* nux::NodeNetCom::FindNodeID ( int  id)

Search the ID in the whole tree below this node. Search also this node.

virtual bool nux::NodeNetCom::FromXML ( const TiXmlElement elementxml) [virtual]
int nux::NodeNetCom::GetID ( ) const [inline, protected]
void nux::NodeNetCom::GetNodeXMLAttributes ( const TiXmlElement elementxml) [protected]
NodeParameterType nux::NodeNetCom::GetParameterType ( ) const [inline, protected]
int nux::NodeNetCom::IsEnable ( ) const [inline, protected]
int nux::NodeNetCom::IsVisible ( ) const [inline, protected]
void nux::NodeNetCom::SetEnable ( bool  b) [inline, protected]
void nux::NodeNetCom::SetID ( int  id) [inline, protected]
void nux::NodeNetCom::SetName ( const TCHAR str) [inline]
void nux::NodeNetCom::SetNodeXMLAttributes ( TiXmlElement elementxml) const [protected]
void nux::NodeNetCom::SetParameterType ( NodeParameterType  t) [inline, protected]
void nux::NodeNetCom::SetVisible ( bool  b) [inline, protected]
virtual bool nux::NodeNetCom::SkipChild ( ) const [inline, virtual]

By default, when generating xml (ToXML) or creating from xml (FromXML), it may be necessary to skip the child of some elements because they.

Reimplemented from nux::NodeItem.

virtual TiXmlElement* nux::NodeNetCom::ToXML ( ) const [virtual]

Friends And Related Function Documentation

friend class ParameterManagerImpl [friend]

The documentation for this class was generated from the following file: