ug4
|
groups classes. One of the members is the default member. More...
#include <registry.h>
Public Member Functions | |
void | add_class (IExportedClass *c, const std::string &tag) |
adds a class to group More... | |
ClassGroupDesc () | |
bool | empty () const |
returns if classes in group More... | |
IExportedClass * | get_class (size_t i) |
returns a class of the group More... | |
const IExportedClass * | get_class (size_t i) const |
returns a class of the group More... | |
const std::string & | get_class_tag (size_t i) const |
returns the class group tag for a class More... | |
IExportedClass * | get_default_class () const |
if no default class is set, this method returns NULL. More... | |
const std::string & | name () const |
returns name of group More... | |
size_t | num_classes () const |
returns number of classes in group More... | |
void | set_default_class (size_t i) |
sets the i'th class as default More... | |
void | set_name (const std::string &name) |
sets name of group More... | |
Private Attributes | |
std::vector< IExportedClass * > | m_classes |
classes registered to the class group More... | |
std::vector< std::string > | m_classTags |
tags can be used to describe classes. One tag for each class. More... | |
IExportedClass * | m_defaultClass |
the current default class More... | |
std::string | m_name |
name of class group More... | |
groups classes. One of the members is the default member.
|
inline |
|
inline |
adds a class to group
Referenced by ug::bridge::Registry::add_class_to_group().
|
inline |
returns if classes in group
Referenced by ug::vrl::classGroups2NativeClassGroups(), and ug::bridge::lua::LuaProxyGroupConstructor().
|
inline |
returns a class of the group
Referenced by ug::vrl::classGroups2NativeClassGroups(), and ug::bridge::UGTypeInfo().
|
inline |
returns a class of the group
|
inline |
returns the class group tag for a class
Referenced by ug::bridge::InitUG().
|
inline |
if no default class is set, this method returns NULL.
Referenced by ug::vrl::classGroups2NativeClassGroups(), Java_edu_gcsc_vrl_ug_UG__1getDefaultClassNameFromGroup(), Java_edu_gcsc_vrl_ug_UG__1getExportedClassPtrByName(), ug::bridge::lua::LuaProxyGroupConstructor(), and ug::bridge::UGTypeInfo().
|
inline |
returns name of group
Referenced by ug::vrl::classGroups2NativeClassGroups(), ug::bridge::lua::CreateBindings_LUA(), ug::bridge::GetClassesCompletitions(), and ug::bridge::lua::LuaProxyGroupConstructor().
|
inline |
returns number of classes in group
Referenced by ug::vrl::classGroups2NativeClassGroups(), ug::bridge::InitUG(), and ug::bridge::UGTypeInfo().
|
inline |
sets the i'th class as default
Referenced by ug::bridge::InitUG().
|
inline |
|
private |
classes registered to the class group
|
private |
tags can be used to describe classes. One tag for each class.
|
private |
the current default class
|
private |
name of class group