32    group(
const std::string& name = 
"");
 
   34    unsigned int get_nr_children() 
const;
 
   40        static_assert(std::is_base_of<node, T>::value, 
"T must inherit from node");
 
   43        unsigned int i = append_child(ptr);
 
 
   53    virtual void remove_all_children();
 
   61    std::string get_type_name() 
const;
 
   66    inline static group_ptr cast(
base* b) { 
return b->get_group(); }
 
 
   76CGV_TEMPLATE 
template class CGV_API std::vector<base_ptr>;
 
   82#include <cgv/config/lib_end.h> 
base class for all classes that can be registered with support for dynamic properties (see also secti...
 
The group class is a node with children.
 
data::ref_ptr< T > create_and_append_child(const std::string &name="", unsigned int *index=nullptr)
create and append an instance of a child node and return pointer to appended child; optionally set na...
 
std::vector< base_ptr > children
store a list of children
 
The node class keeps a pointer to its parent.
 
complete implementation of method actions that only call one method when entering a node
 
reference counted pointer, which can work together with types that are derived from ref_counted,...
 
data::ref_ptr< const group, true > const_group_ptr
ref counted pointer to a node
 
data::ref_ptr< group, true > group_ptr
ref counted pointer to a node