NAP
Public Member Functions | List of all members
IGroup Class Reference

#include <nap/group.h>

Public Member Functions

 IGroup (rtti::TypeInfo memberType, std::string &&membersName, std::string &&childrenName)
 
rtti::TypeInfo getMemberType () const
 
rttr::property getMembersProperty () const
 
rttr::property getChildrenProperty () const
 
const std::string & membersPropertyName () const
 
const std::string & childrenPropertyName () const
 
- Public Member Functions inherited from Resource
 Resource ()
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual bool init (utility::ErrorState &errorState)
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Description

Group interface

Inheritance diagram for IGroup:
[legend]
Collaboration diagram for IGroup:
[legend]

Constructor & Destructor Documentation

◆ IGroup()

IGroup ( rtti::TypeInfo  memberType,
std::string &&  membersName,
std::string &&  childrenName 
)
Parameters
memberTypethe group member type
membersNamemembers rtti property name
childrenNamechildren rtti property name

Member Function Documentation

◆ childrenPropertyName()

const std::string& childrenPropertyName ( ) const
Returns
children property name

◆ getChildrenProperty()

rttr::property getChildrenProperty ( ) const
Returns
'Children' rtti property

◆ getMembersProperty()

rttr::property getMembersProperty ( ) const
Returns
'Members' rtti property

◆ getMemberType()

rtti::TypeInfo getMemberType ( ) const
Returns
group member type

◆ membersPropertyName()

const std::string& membersPropertyName ( ) const
Returns
member property name