nux-0.9.48
|
#include <Nux/NodeNetProtocol.h>
Public Member Functions | |
NodeNetCom * | FindNodeID (int id) |
Search the ID in the whole tree below this node. Search also this node. | |
NodeNetCom * | FindChildNodeID (int id) |
Search the ID in the immediate children of this node. | |
virtual TiXmlElement * | ToXML () 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 TCHAR * | GetName () 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 |
nux::NodeNetCom::NodeNetCom | ( | const TCHAR * | Name, |
NodeParameterType | type = NODE_TYPE_UNDEFINED |
||
) | [protected] |
virtual nux::NodeNetCom::~NodeNetCom | ( | ) | [inline, protected, virtual] |
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] |
const TCHAR* nux::NodeNetCom::GetName | ( | ) | const [inline] |
References nux::NString::GetTCharPtr().
Referenced by nux::Vector4PropertyItem::GetWLabel(), nux::Vector4PropertyItem::GetXLabel(), nux::Vector3PropertyItem::GetXLabel(), nux::Vector4PropertyItem::GetYLabel(), nux::Vector3PropertyItem::GetYLabel(), nux::Vector4PropertyItem::GetZLabel(), and nux::Vector3PropertyItem::GetZLabel().
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] |
friend class ParameterManagerImpl [friend] |