#include <stage.hh>
Base class for Model and World
◆ Ancestor()
◆ ~Ancestor()
◆ AddChild()
void Ancestor::AddChild |
( |
Model * | mod | ) |
|
|
virtual |
◆ ForEachDescendant()
recursively call func( model, arg ) for each descendant
◆ GetChildren()
std::vector< Model * > & Stg::Ancestor::GetChildren |
( |
| ) |
|
|
inline |
get the children of the this element
◆ GetGlobalPose()
Pose Ancestor::GetGlobalPose |
( |
| ) |
const |
|
virtual |
◆ GetProperty()
void * Stg::Ancestor::GetProperty |
( |
std::string & | key | ) |
|
|
inline |
A key-value database for users to associate arbitrary things with this model.
◆ Load()
◆ RemoveChild()
void Ancestor::RemoveChild |
( |
Model * | mod | ) |
|
|
virtual |
◆ Save()
void Ancestor::Save |
( |
Worldfile * | wf, |
|
|
int | section ) |
|
protected |
◆ SetProperty()
void Stg::Ancestor::SetProperty |
( |
std::string & | key, |
|
|
void * | value ) |
|
inline |
A key-value database for users to associate arbitrary things with this model.
◆ SetToken()
virtual void Stg::Ancestor::SetToken |
( |
const std::string & | str | ) |
|
|
inlinevirtual |
◆ Token()
const char * Stg::Ancestor::Token |
( |
| ) |
const |
|
inline |
◆ TokenStr()
const std::string & Stg::Ancestor::TokenStr |
( |
| ) |
const |
|
inline |
◆ child_type_counts
std::map<std::string, unsigned int> Stg::Ancestor::child_type_counts |
|
protected |
array contains the number of each type of child model
◆ children
std::vector<Model *> Stg::Ancestor::children |
|
protected |
◆ debug
bool Stg::Ancestor::debug |
|
protected |
◆ props
std::map<std::string, void *> Stg::Ancestor::props |
|
protected |
A key-value database for users to associate arbitrary things with this object.
◆ token
std::string Stg::Ancestor::token |
|
protected |
The documentation for this class was generated from the following files: