Scopira  20080306
scopira::core::register_view< T > Class Template Reference

#include <register.h>

Inheritance diagram for scopira::core::register_view< T >:
scopira::core::register_flow< T >

Public Member Functions

 register_view (const char *fullname, const char *model_type, const char *menu_name, int vgmask=default_uimode_c)
 ctor, null parent_name means "top level object" (ie from tool::object) More...
 
- Public Member Functions inherited from scopira::core::register_flow< T >
 register_flow (const char *fullname)
 ctor, yes, just plain char *
 
 register_flow (const char *fullname, int dummy)
 version that has a NULL loader
 

Detailed Description

template<class T>
class scopira::core::register_view< T >

Registers object in a run time type tree, that is a "model". In addition to what register_object does, this makes the class decent from the model base class and stores any additional model specific info.

There is no additional model specific info, yet.

Author
Aleksander Demko

Constructor & Destructor Documentation

◆ register_view()

template<class T >
scopira::core::register_view< T >::register_view ( const char *  fullname,
const char *  model_type,
const char *  menu_name,
int  vgmask = default_uimode_c 
)
inline

ctor, null parent_name means "top level object" (ie from tool::object)

Constructor.

fullname is the full name of the class that is being registered, this is usually the full c++ name. model_type is the full name of the model to be associated with this view. menu_name is the name in the popup menu. Slashes denote sub menus ("blah/View" for example) vgmask is a bitmask of flags and options

Author
Aleksander Demko

References scopira::core::link_view_imp().


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