32 void set_name(
const std::string& _name);
43 inline static named_ptr cast(
base* b) {
return b->get_named(); }
58#include <cgv/config/lib_end.h>
base class for all classes that can be registered with support for dynamic properties (see also secti...
base class for all gui types
void set_name(const std::string &_name)
set a new parent node
const_named_ptr get_named_const() const override
cast upward to const named
std::string get_type_name() const override
overload to return the type name of this object
named(const std::string &name="")
construct from name
const std::string & get_name() const
return the parent node
std::string name
store the name as a string
named_ptr get_named() override
cast upward to named
reference counted pointer, which can work together with types that are derived from ref_counted,...
the base namespace holds the base hierarchy, support for plugin registration and signals
data::ref_ptr< named, true > named_ptr
ref counted pointer to a node
data::ref_ptr< const named, true > const_named_ptr
ref counted pointer to a const node
this header is dependency free