Scopira
20080306
|
#include <viewtype.h>
Public Member Functions | |
viewtype (const std::string &name, copyfunc_t cp, const std::string &menuname, int vgmask) | |
ctor | |
void | set_modeltype (objecttype *mt) |
sets the model type | |
objecttype * | get_modeltype (void) const |
gets the model type | |
const std::string & | get_menuname (void) const |
gets the user-displayable menu name | |
int | get_vgmask (void) const |
![]() | |
objecttype (const std::string &name, copyfunc_t cp) | |
ctor | |
const std::string & | get_name (void) const |
bool | has_copyfunc (void) const |
void | add_child (objecttype *d) |
objecttype_iterator | get_parent_iterator (void) |
objecttype_iterator | get_child_iterator (void) |
objecttype * | find (const std::string &_name) |
bool | is_base (const objecttype *d) const |
int | base_depth (const objecttype *d) const |
void | print_tree (int indent=0) |
template<class CT > | |
CT * | load_copy (const scopira::tool::object *src) const |
internal | |
![]() | |
virtual | ~object () |
int | add_ref (void) const |
bool | sub_ref (void) const |
void | auto_ref (void) const |
int | current_ref (void) const |
virtual scopira::tool::oflow_i & | print (scopira::tool::oflow_i &o) const |
virtual bool | load (scopira::tool::iobjflow_i &in) |
virtual void | save (scopira::tool::oobjflow_i &out) const |
bool | is_alive_object (void) const |
bool | is_dead_object (void) const |
Protected Member Functions | |
virtual void | print_tree_this (int indent) |
internal | |
![]() | |
object (void) | |
object (bool neverusecounter) | |
Additional Inherited Members | |
![]() | |
typedef scopira::tool::iterator_g< objecttype * > | objecttype_iterator |
A object representing a view's "type".