Murl::Resource::IPackage::ClassInfo Class Reference

The class information object. More...

#include "murl_resource_i_package.h"

Inheritance diagram for Murl::Resource::IPackage::ClassInfo:

Public Member Functions

 ClassInfo ()
 The default constructor.
 
 ClassInfo (const String &className, CreateFunction createFunction, QueryFunction queryFunction, const IFactoryObject< IPackage >::ClassInfo *baseClassInfo, const PropertyInfo *propertyInfo, const AttributeInfo *attributeInfo)
 The constructor taking a class name, create function and query function. More...
 
QueryFunction GetQueryFunction () const
 Get the query function. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< ClassType >::ClassInfo
 ClassInfo ()
 The default constructor.
 
 ClassInfo (const String &className, typename ClassType::CreateFunction createFunction, const ClassInfo *baseClassInfo, const PropertyInfo *propertyInfo, const AttributeInfo *attributeInfo)
 The constructor taking a class name and create function. More...
 
const StringGetClassName () const
 Get the class name. More...
 
ClassType::CreateFunction GetCreateFunction () const
 Get the create function. More...
 
const ClassInfoGetBaseClassInfo () const
 Get the ClassInfo struct of the base class. More...
 
const PropertyInfoGetPropertyInfo () const
 Get the class' property info struct. More...
 
const AttributeInfoGetAttributeInfo () const
 Get the class' attribute info struct. More...
 

Additional Inherited Members

- Protected Attributes inherited from Murl::IFactoryObject< ClassType >::ClassInfo
String mClassName
 The class name.
 
ClassType::CreateFunction mCreateFunction
 The function to create the derived class.
 
const ClassInfomBaseClassInfo
 The class info struct of the base class if present.
 
const PropertyInfomPropertyInfo
 The property info structure.
 
const AttributeInfomAttributeInfo
 The attribute info structure.
 

Detailed Description

The class information object.

Constructor & Destructor Documentation

◆ ClassInfo()

Murl::Resource::IPackage::ClassInfo::ClassInfo ( const String className,
CreateFunction  createFunction,
QueryFunction  queryFunction,
const IFactoryObject< IPackage >::ClassInfo baseClassInfo,
const PropertyInfo propertyInfo,
const AttributeInfo attributeInfo 
)
inline

The constructor taking a class name, create function and query function.

Parameters
classNameThe class name.
createFunctionThe function to create a package.
queryFunctionThe function to query information about a package.
baseClassInfoA pointer to the ClassInfo structure of an optional base class, if this class is a derived one.
propertyInfoThe property information of the class.
attributeInfoThe attribute information of the class.

Member Function Documentation

◆ GetQueryFunction()

QueryFunction Murl::Resource::IPackage::ClassInfo::GetQueryFunction ( ) const
inline

Get the query function.

Returns
The query function.

The documentation for this class was generated from the following file:
  • murl_resource_i_package.h


Copyright © 2011-2024 Spraylight GmbH.