Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Member Functions
bbcpp::BBText Class Reference

#include <BBDocument.h>

+ Inheritance diagram for bbcpp::BBText:

Public Member Functions

 BBText (const std::string &value)
 
virtual ~BBText ()=default
 
virtual const std::string getText () const
 
void append (const std::string &text)
 
- 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 BBNodeListgetChildren () const
 
virtual void appendChild (BBNodePtr node)
 
template<typename NewTypePtrT >
NewTypePtrT downCast (bool bThrowOnFail=true)
 
template<typename NewTypePtrT >
NewTypePtrT downCast (bool bThrowOnFail=true) const
 

Additional Inherited Members

- Public Types inherited from bbcpp::BBNode
enum class  NodeType { DOCUMENT , ELEMENT , TEXT , ATTRIBUTE }
 
- Protected Attributes inherited from bbcpp::BBNode
std::string _name
 
NodeType _nodeType
 
BBNodeWeakPtr _parent
 
BBNodeList _children
 

Detailed Description

Definition at line 162 of file BBDocument.h.

Constructor & Destructor Documentation

◆ BBText()

bbcpp::BBText::BBText ( const std::string &  value)
inline

Definition at line 165 of file BBDocument.h.

◆ ~BBText()

virtual bbcpp::BBText::~BBText ( )
virtualdefault

Member Function Documentation

◆ append()

void bbcpp::BBText::append ( const std::string &  text)
inline

Definition at line 175 of file BBDocument.h.

◆ getText()

virtual const std::string bbcpp::BBText::getText ( ) const
inlinevirtual

Definition at line 173 of file BBDocument.h.


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