Biorbd
|
A node is an abstract element which is assigned to a parent. More...
#include <Node.h>
Public Member Functions | |
Node () | |
Construct Node. | |
Node (const biorbd::utils::Node &other) | |
Construct Node from another node. More... | |
Node (const biorbd::utils::String &name) | |
Construct Node. More... | |
Node (const biorbd::utils::String &name, const biorbd::utils::String &parentName) | |
Construct Node. More... | |
virtual | ~Node () |
Destroy class properly. | |
void | DeepCopy (const biorbd::utils::Node &other) |
Deep copy of the node in another node. More... | |
void | setName (const biorbd::utils::String &name) |
Set the name of the node. More... | |
const biorbd::utils::String & | name () const |
Return the name of the node. | |
const biorbd::utils::String & | parent () const |
Return the parent name of the node. | |
void | setParent (const biorbd::utils::String &name) |
Set the parent name of the node. More... | |
biorbd::utils::NODE_TYPE | typeOfNode () const |
Return the type of node. | |
Protected Member Functions | |
virtual void | setType ()=0 |
To set the type. | |
Protected Attributes | |
std::shared_ptr< biorbd::utils::String > | m_name |
The name of the node. | |
std::shared_ptr< biorbd::utils::String > | m_parentName |
The parent name of the node. | |
std::shared_ptr< biorbd::utils::NODE_TYPE > | m_typeOfNode |
The type of the node. | |
biorbd::utils::Node::Node | ( | const biorbd::utils::Node & | other | ) |
biorbd::utils::Node::Node | ( | const biorbd::utils::String & | name | ) |
biorbd::utils::Node::Node | ( | const biorbd::utils::String & | name, |
const biorbd::utils::String & | parentName | ||
) |
void biorbd::utils::Node::DeepCopy | ( | const biorbd::utils::Node & | other | ) |
void biorbd::utils::Node::setName | ( | const biorbd::utils::String & | name | ) |
void biorbd::utils::Node::setParent | ( | const biorbd::utils::String & | name | ) |