Scopira  20080306
scopira::core::viewtype Class Reference

#include <viewtype.h>

Inheritance diagram for scopira::core::viewtype:
scopira::core::objecttype scopira::tool::object

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
 
objecttypeget_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
 
- Public Member Functions inherited from scopira::core::objecttype
 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)
 
objecttypefind (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
 
- Public Member Functions inherited from scopira::tool::object
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_iprint (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
 
- Protected Member Functions inherited from scopira::tool::object
 object (void)
 
 object (bool neverusecounter)
 

Additional Inherited Members

- Public Types inherited from scopira::core::objecttype
typedef scopira::tool::iterator_g< objecttype * > objecttype_iterator
 

Detailed Description

A object representing a view's "type".

Author
Aleksander Demko

The documentation for this class was generated from the following file: