![]() |
Rigs of Rods 2023.09
Soft-body Physics Simulation
|
#include <BBDocument.h>
Inheritance diagram for bbcpp::BBElement:Public Types | |
| enum | ElementType { SIMPLE , VALUE , PARAMETER , CLOSING } |
Public Types inherited from bbcpp::BBNode | |
| enum class | NodeType { DOCUMENT , ELEMENT , TEXT , ATTRIBUTE } |
Public Member Functions | |
| BBElement (const std::string &name, ElementType et=BBElement::SIMPLE) | |
| virtual | ~BBElement ()=default |
| const ElementType | getElementType () const |
| void | setOrAddParameter (const std::string &key, const std::string &value, bool addIfNotExists=true) |
| std::string | findParameter (const std::string &key) |
| const ParameterMap & | getParameters () const |
Public Member Functions inherited from bbcpp::BBNode | |
| BBNode (NodeType nodeType, const std::string &name) | |
| virtual | ~BBNode ()=default |
| const std::string & | getNodeName () const |
| NodeType | getNodeType () const |
| BBNodePtr | getParent () const |
| const BBNodeList & | getChildren () const |
| virtual void | appendChild (BBNodePtr node) |
| template<typename NewTypePtrT > | |
| NewTypePtrT | downCast (bool bThrowOnFail=true) |
| template<typename NewTypePtrT > | |
| NewTypePtrT | downCast (bool bThrowOnFail=true) const |
Private Attributes | |
| ElementType | _elementType = BBElement::SIMPLE |
| ParameterMap | _parameters |
Additional Inherited Members | |
Protected Attributes inherited from bbcpp::BBNode | |
| std::string | _name |
| NodeType | _nodeType |
| BBNodeWeakPtr | _parent |
| BBNodeList | _children |
Definition at line 181 of file BBDocument.h.
| Enumerator | |
|---|---|
| SIMPLE | |
| VALUE | |
| PARAMETER | |
| CLOSING | |
Definition at line 184 of file BBDocument.h.
|
inline |
Definition at line 192 of file BBDocument.h.
|
virtualdefault |
|
inline |
Definition at line 208 of file BBDocument.h.
|
inline |
Definition at line 201 of file BBDocument.h.
|
inline |
Definition at line 218 of file BBDocument.h.
|
inline |
Definition at line 203 of file BBDocument.h.
|
private |
Definition at line 221 of file BBDocument.h.
|
private |
Definition at line 222 of file BBDocument.h.