Public Types | |
using | InitFunction = Result< DataType >() |
Public Member Functions | |
const DataType & | Get () const |
Result< void > | Init (Bool showMsg) const |
DataTypeCache (InitFunction *init, ModuleInfo *module) | |
template<typename T > | |
DataTypeCache (Result< T >(*init)(), ModuleInfo *module) | |
Bool | IsInitialized () const |
Private Attributes | |
DataType | _type |
const DataTypeCache *const | _next |
InitFunction *const | _init |
Friends | |
class | ObjectModel |
using InitFunction = Result<DataType>() |
DataTypeCache | ( | InitFunction * | init, |
ModuleInfo * | module | ||
) |
DataTypeCache | ( | Result< T >(*)() | init, |
ModuleInfo * | module | ||
) |
const DataType& Get | ( | ) | const |
Bool IsInitialized | ( | ) | const |
|
friend |
|
mutableprivate |
|
private |
|
private |