|
Public Types inherited from caffa::ObjectHandle |
using | InheritanceStackType = std::vector< std::string > |
|
Static Public Member Functions inherited from caffa::ObjectHandle |
static std::string | classKeywordStatic () |
|
static bool | matchesClassKeyword (const std::string &classKeyword, const InheritanceStackType &inheritanceStack) |
|
static constexpr bool | isValidCharacter (char c) |
|
static constexpr bool | isValidKeyword (const std::string_view &type) |
|
◆ initField()
template<typename FieldType >
FieldInitHelper<FieldType> caffa::Object::initField |
( |
FieldType & |
field, |
|
|
const std::string & |
keyword |
|
) |
| |
|
inlineprotected |
Initialises the field with a keyword and registers it with the class
- Parameters
-
field | A reference to the field |
keyword | The field keyword. Has to be unique within the class. |
◆ initMethod()
template<typename MethodType , typename CallbackT >
MethodInitHelper<MethodType> caffa::Object::initMethod |
( |
MethodType & |
method, |
|
|
const std::string & |
keyword, |
|
|
CallbackT && |
callback |
|
) |
| |
|
inlineprotected |
Initialises the method with a keyword and registers it with the class
- Parameters
-
method | A reference to the method |
keyword | The method keyword. Has to be unique within the class. |
callback | The method that will be called locally |
◆ initMethodWithSession()
template<typename MethodType , typename CallbackT >
MethodInitHelper<MethodType> caffa::Object::initMethodWithSession |
( |
MethodType & |
method, |
|
|
const std::string & |
keyword, |
|
|
CallbackT && |
callback |
|
) |
| |
|
inlineprotected |
Initialises the method with a keyword and registers it with the class
- Parameters
-
method | A reference to the method |
keyword | The method keyword. Has to be unique within the class. |
argumentNames | A vector of argument names |
callback | The method that will be called locally |
The documentation for this class was generated from the following files: