#include <entity_base.hh>
Inherits GenericPropContainer< EntityBase >.
Inherited by EntityHandle, and EntityView.
|
| | EntityBase (const impl::EntityImplPtr &impl) |
| |
| | EntityBase () |
| |
| const String & | GetName () const |
| |
| void | SetName (const String &ent_name) |
| |
| void | ClearProps () |
| |
| void | SetStringProp (const String &key, const String &value) |
| |
| void | SetFloatProp (const String &key, Real value) |
| |
| void | SetIntProp (const String &key, int value) |
| |
| void | SetBoolProp (const String &key, bool value) |
| |
| void | SetVec3Prop (const String &key, geom::Vec3 value) |
| |
| void | RemoveProp (const String &key) |
| |
| bool | HasProp (const String &key) const |
| |
| String | GetPropAsString (const String &key) const |
| |
| String | GetStringProp (const String &key) const |
| |
| Real | GetFloatProp (const String &key) const |
| |
| int | GetIntProp (const String &key) const |
| |
| bool | GetBoolProp (const String &key) const |
| |
| geom::Vec3 | GetVec3Prop (const String &key) const |
| |
| String | GetStringProp (const String &key, const String &def) const |
| |
| Real | GetFloatProp (const String &key, Real def) const |
| |
| int | GetIntProp (const String &key, int def) const |
| |
| bool | GetBoolProp (const String &key, bool def) const |
| |
| std::map< String, GenericPropValue > | GetPropMap () const |
| |
| std::vector< String > | GetPropList () const |
| |
definition of EntityBase
Definition at line 30 of file entity_base.hh.
◆ EntityBase() [1/2]
◆ EntityBase() [2/2]
◆ CheckValidity()
| void CheckValidity |
( |
| ) |
const |
|
protected |
◆ GetName()
| const String& GetName |
( |
| ) |
const |
◆ GpImpl() [1/2]
◆ GpImpl() [2/2]
◆ Impl() [1/2]
◆ Impl() [2/2]
◆ IsValid()
◆ operator bool()
check validity of handle
check, whether the entity handle points to a valid entity.
- Note
- It is an error to use any method other than IsValid, Impl and operator bool() when the handle is invalid. An InvalidHandle exception will be thrown.
Definition at line 59 of file entity_base.hh.
◆ SetName()
| void SetName |
( |
const String & |
ent_name | ) |
|
◆ ConstGenericPropContainer< EntityBase >
The documentation for this class was generated from the following file: