TwiceAsNice
2019-02-18
|
This class represents one node of the configuration tree. Each joint can have a set of children joint OR a leaf which is of the type defined by the template parameter. The class provides several operators to set and extract data to and from a joint node. More...
#include <Joint.h>
Public Member Functions | |
Joint () | |
Constructor of a joint node. More... | |
Joint (const std::string &_name) | |
Constructor. More... | |
~Joint () | |
Destructor. More... | |
std::string | toString () |
returns tree as string. More... | |
bool | exist (const std::string &_path) const |
Checks if a node exists. More... | |
template<typename Type > | |
void | operator= (const Type &_val) |
Stream operator. More... | |
void | set (const Nice::PropertyPtr &_p) |
Set a Nice::Property as leaf at this node. More... | |
void | set (const char *_val, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at this node. More... | |
void | set (const char *_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at this node. More... | |
void | set (const std::string &_val, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at this node. More... | |
void | set (const std::string &_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at this node. More... | |
template<typename Type > | |
void | set (const Type &_val) |
Set type Type as a leaf at this node, if a leaf already exists, _val will be converted into the type of the leaf. More... | |
template<typename Type > | |
void | set (const Type &_val, const Nice::Date &_date) |
Set type Type as a leaf at this node, if a leaf already exists, _val will be converted into the type of the leaf. More... | |
template<typename Type > | |
void | set (const Type &_val, Nice::I64 _setterId, const Nice::Date &=Nice::Date::now()) |
Set type Type as a leaf at this node, if a leaf already exists, _val will be converted into the type of the leaf. More... | |
void | setAtNode (const std::string &_node, const Nice::PropertyPtr &_p) |
Set a Nice::Property as leaf at node _node. More... | |
void | setAtNode (const char *_node, const Nice::PropertyPtr &_p) |
Set a const char * as a std::string leaf atnode _node. More... | |
void | setAtNode (const std::string &_node, const char *_val, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at node _node. More... | |
void | setAtNode (const std::string &_node, const char *_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at node _node. More... | |
template<typename Type > | |
void | setAtNode (const char *_node, const Type &_val, const Nice::Date &_date=Nice::Date::now()) |
Set type Type as a leaf of type Type at node _node. More... | |
template<typename Type > | |
void | setAtNode (const char *_node, const Type &_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set type Type as a leaf of type Type at node _node. More... | |
template<typename Type > | |
void | setAtNode (const std::string &_node, const Type &_val, const Nice::Date &_date=Nice::Date::now()) |
Set type Type as a leaf of type Type at node _node. More... | |
template<typename Type > | |
void | setAtNode (const std::string &_node, const Type &_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set type Type as a leaf of type Type at node _node. More... | |
template<typename Type > | |
void | setIfNotExist (const Type &_default) |
Set type Type as a leaf if it doesnt exist. More... | |
template<typename Type > | |
void | setIfNotExist (const std::string &_node, const Type &_default) |
Set type Type as a leaf at node _node if it doesnt exist. More... | |
template<typename Type > | |
Type | get () |
Get data from Property with a specific data type Type. More... | |
template<typename Type > | |
Type | getAtNode (const std::string &_node) |
Get data from Property at a subnode with a specific data type Type. More... | |
template<typename Type > | |
Type | getWithDefault (const Type &_default) |
Get data from Property with a specific data type Type. More... | |
template<typename Type > | |
Type | getWithDefault (const std::string &_node, const Type &_default, bool _warning=false) |
Get data from Property with a specific data type Type at a subnode. More... | |
const Nice::PropertyPtr & | leaf () |
Get the connected Property pointer from the current node. More... | |
template<typename Type > | |
const Nice::PropertyPtr & | leaf () |
Get the connected Property pointer from the current node and create leaf if its not there. More... | |
template<typename Type > | |
const Nice::PropertyPtr & | leaf (const std::string &_path, bool _create=true) |
Get the connected Property pointer from a specific subnode. More... | |
const Nice::PropertyPtr & | leaf (const std::string &_path, bool _create=true) |
Get the connected Property pointer from a specific subnode. More... | |
Nice::JointPtr | node (const std::string &_path, bool _create=true) |
Get the Joint pointer from a specific subnode. More... | |
Nice::JointPtr | parent () const |
Get the parent joint of this. More... | |
Nice::JointPtrVector | getParents () |
Get the entire path to this started by the Root joint. More... | |
int | depth () |
Get the entire path to this started by the Root joint. More... | |
JointPtrMap | children () |
Get a reference to the children vector. More... | |
void | children (JointPtrVector &_children, const std::string &_pre="", bool _exact=false) |
Get a vector of all children joint. More... | |
void | children (SeqString &_children, const std::string &_pre="", bool _exact=false) |
Get a vector of all children as node strings. More... | |
size_t | leafs (JointPtrVector &_leaf, const std::string &_pre="", bool _exact=false) |
Get a vector of leaf joints. More... | |
template<typename T > | |
size_t | leafsWithType (JointPtrVector &_leaf, const std::string &_pre="", bool _exact=false) |
Get a vector of leaf joints with type TYPE. More... | |
template<typename T > | |
size_t | leafsWithBridgeType (JointPtrVector &_leaf, const std::string &_id) |
Get a vector of leaf joints with bridge type TYPE. More... | |
size_t | leafCount (const std::string &_pre="") |
Get the amount of leafs (endpoints) this subtree contains. More... | |
bool | isChildOf (const JointPtr &_branch) const |
Checks if a joint is a child of this. More... | |
size_t | childCount () const |
Checks if a joint is a leaf. More... | |
bool | hasLeaf () const |
Checks if a joint has a Property. More... | |
std::string | path (const JointPtr &_leaf=0) const |
Get the entire path to this started by the Root joint. More... | |
const std::string & | name () const |
Get the entire path string from this to a leaf seperated by ".". More... | |
void | replace (const Nice::JointPtr &_branch) |
adds a subtree to the current node, existing sub tree will be deleted. More... | |
void | merge (const Nice::JointPtr &_branch, bool _overwrite=true) |
adds a subtree to the current node, existing sub tree will be merged. More... | |
void | merge (const std::string &_node, const Nice::JointPtr &_branch, bool _overwrite=true) |
adds a subtree to the current node, existing sub tree will be merged. More... | |
void | mergeContext (const Nice::JointPtr &_branch) |
merge the context(Property values) of a node to this node existing sub tree will be merged. More... | |
bool | operator== (const JointPtr &_value) |
template<typename Type > | |
operator Type () | |
Returns a copy of leaf. More... | |
Joint () | |
Constructor of a joint node. More... | |
Joint (const std::string &_name) | |
Constructor. More... | |
~Joint () | |
Destructor. More... | |
std::string | toString () |
returns tree as string. More... | |
bool | exist (const std::string &_path) const |
Checks if a node exists. More... | |
template<typename Type > | |
void | operator= (const Type &_val) |
Stream operator. More... | |
void | set (const Nice::PropertyPtr &_p) |
Set a Nice::Property as leaf at this node. More... | |
void | set (const char *_val, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at this node. More... | |
void | set (const char *_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at this node. More... | |
void | set (const std::string &_val, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at this node. More... | |
void | set (const std::string &_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at this node. More... | |
template<typename Type > | |
void | set (const Type &_val) |
Set type Type as a leaf at this node, if a leaf already exists, _val will be converted into the type of the leaf. More... | |
template<typename Type > | |
void | set (const Type &_val, const Nice::Date &_date) |
Set type Type as a leaf at this node, if a leaf already exists, _val will be converted into the type of the leaf. More... | |
template<typename Type > | |
void | set (const Type &_val, Nice::I64 _setterId, const Nice::Date &=Nice::Date::now()) |
Set type Type as a leaf at this node, if a leaf already exists, _val will be converted into the type of the leaf. More... | |
void | setAtNode (const std::string &_node, const Nice::PropertyPtr &_p) |
Set a Nice::Property as leaf at node _node. More... | |
void | setAtNode (const char *_node, const Nice::PropertyPtr &_p) |
Set a const char * as a std::string leaf atnode _node. More... | |
void | setAtNode (const std::string &_node, const char *_val, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at node _node. More... | |
void | setAtNode (const std::string &_node, const char *_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set a const char * as a std::string leaf at node _node. More... | |
template<typename Type > | |
void | setAtNode (const char *_node, const Type &_val, const Nice::Date &_date=Nice::Date::now()) |
Set type Type as a leaf of type Type at node _node. More... | |
template<typename Type > | |
void | setAtNode (const char *_node, const Type &_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set type Type as a leaf of type Type at node _node. More... | |
template<typename Type > | |
void | setAtNode (const std::string &_node, const Type &_val, const Nice::Date &_date=Nice::Date::now()) |
Set type Type as a leaf of type Type at node _node. More... | |
template<typename Type > | |
void | setAtNode (const std::string &_node, const Type &_val, Nice::I64 _setterId, const Nice::Date &_date=Nice::Date::now()) |
Set type Type as a leaf of type Type at node _node. More... | |
template<typename Type > | |
void | setIfNotExist (const Type &_default) |
Set type Type as a leaf if it doesnt exist. More... | |
template<typename Type > | |
void | setIfNotExist (const std::string &_node, const Type &_default) |
Set type Type as a leaf at node _node if it doesnt exist. More... | |
template<typename Type > | |
Type | get () |
Get data from Property with a specific data type Type. More... | |
template<typename Type > | |
Type | getAtNode (const std::string &_node) |
Get data from Property at a subnode with a specific data type Type. More... | |
template<typename Type > | |
Type | getWithDefault (const Type &_default) |
Get data from Property with a specific data type Type. More... | |
template<typename Type > | |
Type | getWithDefault (const std::string &_node, const Type &_default, bool _warning=false) |
Get data from Property with a specific data type Type at a subnode. More... | |
const Nice::PropertyPtr & | leaf () |
Get the connected Property pointer from the current node. More... | |
template<typename Type > | |
const Nice::PropertyPtr & | leaf () |
Get the connected Property pointer from the current node and create leaf if its not there. More... | |
template<typename Type > | |
const Nice::PropertyPtr & | leaf (const std::string &_path, bool _create=true) |
Get the connected Property pointer from a specific subnode. More... | |
const Nice::PropertyPtr & | leaf (const std::string &_path, bool _create=true) |
Get the connected Property pointer from a specific subnode. More... | |
Nice::JointPtr | node (const std::string &_path, bool _create=true) |
Get the Joint pointer from a specific subnode. More... | |
Nice::JointPtr | parent () const |
Get the parent joint of this. More... | |
Nice::JointPtrVector | getParents () |
Get the entire path to this started by the Root joint. More... | |
int | depth () |
Get the entire path to this started by the Root joint. More... | |
JointPtrMap | children () |
Get a reference to the children vector. More... | |
void | children (JointPtrVector &_children, const std::string &_pre="", bool _exact=false) |
Get a vector of all children joint. More... | |
void | children (SeqString &_children, const std::string &_pre="", bool _exact=false) |
Get a vector of all children as node strings. More... | |
size_t | leafs (JointPtrVector &_leaf, const std::string &_pre="", bool _exact=false) |
Get a vector of leaf joints. More... | |
template<typename T > | |
size_t | leafsWithType (JointPtrVector &_leaf, const std::string &_pre="", bool _exact=false) |
Get a vector of leaf joints with type TYPE. More... | |
template<typename T > | |
size_t | leafsWithBridgeType (JointPtrVector &_leaf, const std::string &_id) |
Get a vector of leaf joints with bridge type TYPE. More... | |
size_t | leafCount (const std::string &_pre="") |
Get the amount of leafs (endpoints) this subtree contains. More... | |
bool | isChildOf (const JointPtr &_branch) const |
Checks if a joint is a child of this. More... | |
size_t | childCount () const |
Checks if a joint is a leaf. More... | |
bool | hasLeaf () const |
Checks if a joint has a Property. More... | |
std::string | path (const JointPtr &_leaf=0) const |
Get the entire path to this started by the Root joint. More... | |
const std::string & | name () const |
Get the entire path string from this to a leaf seperated by ".". More... | |
void | replace (const Nice::JointPtr &_branch) |
adds a subtree to the current node, existing sub tree will be deleted. More... | |
void | merge (const Nice::JointPtr &_branch, bool _overwrite=true) |
adds a subtree to the current node, existing sub tree will be merged. More... | |
void | merge (const std::string &_node, const Nice::JointPtr &_branch, bool _overwrite=true) |
adds a subtree to the current node, existing sub tree will be merged. More... | |
void | mergeContext (const Nice::JointPtr &_branch) |
merge the context(Property values) of a node to this node existing sub tree will be merged. More... | |
bool | operator== (const JointPtr &_value) |
template<typename Type > | |
operator Type () | |
Returns a copy of leaf. More... | |
Static Public Member Functions | |
static void | chop (Nice::JointPtr &_node) |
Delete all children, deregister with parent and move _node pointer to the the next parent. More... | |
static void | chop (Nice::JointPtr &_node) |
Delete all children, deregister with parent and move _node pointer to the the next parent. More... | |
Protected Member Functions | |
Joint (const Nice::JointPtr &_joint, const Nice::JointPtr &_parent) | |
Copyconstructor. More... | |
Joint (const std::string &_name, const Nice::JointPtr &_parent) | |
Constructor. More... | |
Joint (const Nice::JointPtr &_joint, const Nice::JointPtr &_parent) | |
Copyconstructor. More... | |
Joint (const std::string &_name, const Nice::JointPtr &_parent) | |
Constructor. More... | |
Private Attributes | |
Nice::JointPtrThreadSafeMap | m_children |
std::string | m_name |
Nice::Joint * | m_parent |
Nice::PropertyPtr | m_leaf |
This class represents one node of the configuration tree. Each joint can have a set of children joint OR a leaf which is of the type defined by the template parameter. The class provides several operators to set and extract data to and from a joint node.
|
explicitprotected |
Copyconstructor.
The entire subtree will be copied.
_joint | Joint to copy. |
_parent | New parent joint of the copy. |
|
explicitprotected |
Constructor.
Creates a new joint with a specified name.
_name | Name of the new joint. |
_parent | Parent of the new joint. By default a node has no parent, so a root joint with another name than ROOT can be created. |
|
explicit |
Constructor of a joint node.
By default this node is named ROOT and has no parent joint.
|
explicit |
Constructor.
Creates a new joint with a specified name.
_name | Name of the new joint. no parent, so a root joint with another name than ROOT can be created. |
Nice::Joint::~Joint | ( | ) |
Destructor.
Calls the destructor of all children and the attached leafs.
|
explicitprotected |
Copyconstructor.
The entire subtree will be copied.
_joint | Joint to copy. |
_parent | New parent joint of the copy. |
|
explicitprotected |
Constructor.
Creates a new joint with a specified name.
_name | Name of the new joint. |
_parent | Parent of the new joint. By default a node has no parent, so a root joint with another name than ROOT can be created. |
|
explicit |
Constructor of a joint node.
By default this node is named ROOT and has no parent joint.
|
explicit |
Constructor.
Creates a new joint with a specified name.
_name | Name of the new joint. no parent, so a root joint with another name than ROOT can be created. |
Nice::Joint::~Joint | ( | ) |
Destructor.
Calls the destructor of all children and the attached leafs.
size_t Nice::Joint::childCount | ( | ) | const |
Checks if a joint is a leaf.
If the joint has no children the joint is a leaf.
size_t Nice::Joint::childCount | ( | ) | const |
Checks if a joint is a leaf.
If the joint has no children the joint is a leaf.
|
inline |
Get a reference to the children vector.
|
inline |
Get a reference to the children vector.
void Nice::Joint::children | ( | JointPtrVector & | _children, |
const std::string & | _pre = "" , |
||
bool | _exact = false |
||
) |
Get a vector of all children joint.
_children | Reference of a vector to fill in pointer of found children. |
_pre | Search string of leafs. Only leafs which contain _pre in its name are added to the vector. |
void Nice::Joint::children | ( | JointPtrVector & | _children, |
const std::string & | _pre = "" , |
||
bool | _exact = false |
||
) |
Get a vector of all children joint.
_children | Reference of a vector to fill in pointer of found children. |
_pre | Search string of leafs. Only leafs which contain _pre in its name are added to the vector. |
void Nice::Joint::children | ( | Nice::SeqString & | _children, |
const std::string & | _pre = "" , |
||
bool | _exact = false |
||
) |
Get a vector of all children as node strings.
_children | Reference of a vector to fill in pointer of found children. |
_pre | Search string of leafs. Only leafs which contain _pre in its name are added to the vector. |
void Nice::Joint::children | ( | SeqString & | _children, |
const std::string & | _pre = "" , |
||
bool | _exact = false |
||
) |
Get a vector of all children as node strings.
_children | Reference of a vector to fill in pointer of found children. |
_pre | Search string of leafs. Only leafs which contain _pre in its name are added to the vector. |
|
static |
Delete all children, deregister with parent and move _node pointer to the the next parent.
|
static |
Delete all children, deregister with parent and move _node pointer to the the next parent.
int Nice::Joint::depth | ( | ) |
Get the entire path to this started by the Root joint.
int Nice::Joint::depth | ( | ) |
Get the entire path to this started by the Root joint.
Checks if a node exists.
_path | Path to the node to check. |
Checks if a node exists.
_path | Path to the node to check. |
Type Nice::Joint::get | ( | ) |
Nice::JointPtrVector Nice::Joint::getParents | ( | ) |
Get the entire path to this started by the Root joint.
Nice::JointPtrVector Nice::Joint::getParents | ( | ) |
Get the entire path to this started by the Root joint.
|
inline |
Get data from Property with a specific data type Type at a subnode.
If the node does not have a Property, a new Property is created and a default value with Type is set.
|
inline |
Get data from Property with a specific data type Type at a subnode.
If the node does not have a Property, a new Property is created and a default value with Type is set.
bool Nice::Joint::hasLeaf | ( | ) | const |
bool Nice::Joint::hasLeaf | ( | ) | const |
Checks if a joint is a child of this.
_branch | Joint to check. |
Checks if a joint is a child of this.
_branch | Joint to check. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const Nice::PropertyPtr& Nice::Joint::leaf | ( | const std::string & | _path, |
bool | _create = true |
||
) |
const Nice::PropertyPtr & Nice::Joint::leaf | ( | const std::string & | _path, |
bool | _create = true |
||
) |
size_t Nice::Joint::leafCount | ( | const std::string & | _pre = "" | ) |
Get the amount of leafs (endpoints) this subtree contains.
size_t Nice::Joint::leafCount | ( | const std::string & | _pre = "" | ) |
Get the amount of leafs (endpoints) this subtree contains.
size_t Nice::Joint::leafs | ( | JointPtrVector & | _leaf, |
const std::string & | _pre = "" , |
||
bool | _exact = false |
||
) |
Get a vector of leaf joints.
_leaf | Reference of a vector to fill in pointer of found leafs. |
_pre | Search string of leafs. Only leafs which contain _pre in its name are added to the vector. Returns number of leafs; |
size_t Nice::Joint::leafs | ( | JointPtrVector & | _leaf, |
const std::string & | _pre = "" , |
||
bool | _exact = false |
||
) |
Get a vector of leaf joints.
_leaf | Reference of a vector to fill in pointer of found leafs. |
_pre | Search string of leafs. Only leafs which contain _pre in its name are added to the vector. Returns number of leafs; |
size_t Nice::Joint::leafsWithBridgeType | ( | JointPtrVector & | _leaf, |
const std::string & | _id | ||
) |
Get a vector of leaf joints with bridge type TYPE.
_leaf | Reference of a vector to fill in pointer of found leafs. |
_identity | of the bridge |
size_t Nice::Joint::leafsWithBridgeType | ( | JointPtrVector & | _leaf, |
const std::string & | _id | ||
) |
Get a vector of leaf joints with bridge type TYPE.
_leaf | Reference of a vector to fill in pointer of found leafs. |
_identity | of the bridge |
size_t Nice::Joint::leafsWithType | ( | JointPtrVector & | _leaf, |
const std::string & | _pre = "" , |
||
bool | _exact = false |
||
) |
Get a vector of leaf joints with type TYPE.
_leaf | Reference of a vector to fill in pointer of found leafs. |
_type | Search string of leafs. Only leafs which contain _pre in its name are added to the vector. Returns number of leafs; |
size_t Nice::Joint::leafsWithType | ( | JointPtrVector & | _leaf, |
const std::string & | _pre = "" , |
||
bool | _exact = false |
||
) |
Get a vector of leaf joints with type TYPE.
_leaf | Reference of a vector to fill in pointer of found leafs. |
_type | Search string of leafs. Only leafs which contain _pre in its name are added to the vector. Returns number of leafs; |
void Nice::Joint::merge | ( | const Nice::JointPtr & | _branch, |
bool | _overwrite = true |
||
) |
adds a subtree to the current node, existing sub tree will be merged.
void Nice::Joint::merge | ( | const Nice::JointPtr & | _branch, |
bool | _overwrite = true |
||
) |
adds a subtree to the current node, existing sub tree will be merged.
void Nice::Joint::merge | ( | const std::string & | _node, |
const Nice::JointPtr & | _branch, | ||
bool | _overwrite = true |
||
) |
adds a subtree to the current node, existing sub tree will be merged.
void Nice::Joint::merge | ( | const std::string & | _node, |
const Nice::JointPtr & | _branch, | ||
bool | _overwrite = true |
||
) |
adds a subtree to the current node, existing sub tree will be merged.
void Nice::Joint::mergeContext | ( | const Nice::JointPtr & | _branch | ) |
merge the context(Property values) of a node to this node existing sub tree will be merged.
void Nice::Joint::mergeContext | ( | const Nice::JointPtr & | _branch | ) |
merge the context(Property values) of a node to this node existing sub tree will be merged.
const std::string & Nice::Joint::name | ( | ) | const |
const std::string& Nice::Joint::name | ( | ) | const |
Nice::JointPtr Nice::Joint::node | ( | const std::string & | _path, |
bool | _create = true |
||
) |
Nice::JointPtr Nice::Joint::node | ( | const std::string & | _path, |
bool | _create = true |
||
) |
Nice::Joint::operator Type | ( | ) |
Returns a copy of leaf.
_branch | Automatic type conversion. |
Nice::Joint::operator Type | ( | ) |
Returns a copy of leaf.
_branch | Automatic type conversion. |
Stream operator.
Assigned a value to the leaf.
_leaf | Value to assign. |
Stream operator.
Assigned a value to the leaf.
_leaf | Value to assign. |
Nice::JointPtr Nice::Joint::parent | ( | ) | const |
Get the parent joint of this.
Nice::JointPtr Nice::Joint::parent | ( | ) | const |
Get the parent joint of this.
Get the entire path to this started by the Root joint.
Get the entire path to this started by the Root joint.
void Nice::Joint::replace | ( | const Nice::JointPtr & | _branch | ) |
adds a subtree to the current node, existing sub tree will be deleted.
void Nice::Joint::replace | ( | const Nice::JointPtr & | _branch | ) |
adds a subtree to the current node, existing sub tree will be deleted.
|
inline |
Set a Nice::Property as leaf at this node.
_p | as Nice::PropertyPtr |
|
inline |
Set a Nice::Property as leaf at this node.
_p | as Nice::PropertyPtr |
|
inline |
Set a const char * as a std::string leaf at this node.
_val | as const char * |
|
inline |
Set a const char * as a std::string leaf at this node.
_val | as const char * |
|
inline |
Set a const char * as a std::string leaf at this node.
_val | as const char * |
|
inline |
Set a const char * as a std::string leaf at this node.
_val | as const char * |
|
inline |
Set a const char * as a std::string leaf at this node.
_val | as const char * |
|
inline |
Set a const char * as a std::string leaf at this node.
_val | as const char * |
|
inline |
Set a const char * as a std::string leaf at this node.
_val | as const char * |
|
inline |
Set a const char * as a std::string leaf at this node.
_val | as const char * |
void Nice::Joint::set | ( | const Type & | _val, |
const Nice::Date & | _date | ||
) |
void Nice::Joint::set | ( | const Type & | _val, |
const Nice::Date & | _date | ||
) |
void Nice::Joint::set | ( | const Type & | _val, |
Nice::I64 | _setterId, | ||
const Nice::Date & | = Nice::Date::now() |
||
) |
void Nice::Joint::set | ( | const Type & | _val, |
Nice::I64 | _setterId, | ||
const Nice::Date & | _date = Nice::Date::now() |
||
) |
|
inline |
Set a Nice::Property as leaf at node _node.
_node | - node name |
_p | - property pointer |
|
inline |
Set a Nice::Property as leaf at node _node.
_node | - node name |
_p | - property pointer |
|
inline |
Set a const char * as a std::string leaf atnode _node.
_node | - node name |
_p | - property pointer |
|
inline |
Set a const char * as a std::string leaf atnode _node.
_node | - node name |
_p | - property pointer |
|
inline |
Set a const char * as a std::string leaf at node _node.
_node | - node name |
_val | as const char * |
_date | - time stamp with default=now() or as parameter. |
|
inline |
Set a const char * as a std::string leaf at node _node.
_node | - node name |
_val | as const char * |
_date | - time stamp with default=now() or as parameter. |
|
inline |
Set a const char * as a std::string leaf at node _node.
_node | - node name |
_val | as const char * |
_date | - time stamp with default=now() or as parameter. |
|
inline |
Set a const char * as a std::string leaf at node _node.
_node | - node name |
_val | as const char * |
_date | - time stamp with default=now() or as parameter. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set type Type as a leaf if it doesnt exist.
_default | value to set. |
Set type Type as a leaf if it doesnt exist.
_default | value to set. |
|
inline |
Set type Type as a leaf at node _node if it doesnt exist.
_default | value to set. |
_node | node name. |
|
inline |
Set type Type as a leaf at node _node if it doesnt exist.
_default | value to set. |
_node | node name. |
std::string Nice::Joint::toString | ( | ) |
returns tree as string.
std::string Nice::Joint::toString | ( | ) |
returns tree as string.
|
private |
|
private |
|
private |
|
private |