Classes | |
class | ComponentDescriptor |
class | IsComplete< Class< T >, COUNTER > |
struct | ClassGetNonConst< REF > |
struct | ClassGetNonConst< ObjectRef > |
class | ClassInterface |
class | ObjectInterface |
struct | ObjectInterface::ReferenceFunctions< ST > |
struct | ObjectInterface::PrivateSuperMTable |
class | RemoveForwardRef< T > |
class | RemoveForwardRef< ForwardRef< T > > |
struct | CastHelper< R, SRC, true > |
class | ErrorInterface |
struct | ErrorInterface::ReferenceFunctions< ST > |
struct | ComponentIdentifierMetaData< T, DEF > |
struct | ComponentIdentifierMetaData< const Char *, DEF > |
struct | ComponentIdentifierMetaData< LiteralId, DEF > |
struct | ComponentIdentifierMetaData< Id, DEF > |
class | AdapterRoot |
struct | PrivateSelfHelperBase |
struct | PrivateSelfHelper< BASE, typename > |
class | ComponentHelper< BASE > |
class | ComponentHelper< BASE, I, REST... > |
struct | InterfacesBlock< INTERFACES > |
class | ComponentWithBase< C, BASE, INTERFACE, INTERFACES > |
class | NullReturnType< T > |
Namespaces | |
maxon | |
maxon::details | |
maxon::Classes | |
Typedefs | |
template<typename TO , typename FROM > | |
using | Out = std::is_constructible< TO, FROM > |
template<typename I1 , typename I2 > | |
using | DisableComparison = typename std::enable_if<!(maxon::HasBaseDetector< I1, I2 >::value||maxon::HasBaseDetector< I2, I1 >::value)> |
using | ClassTransformer = Delegate< Result< void >(ClassInterface *)> |
template<typename C , typename... INTERFACES> | |
using | Component = ComponentWithBase< C, ComponentRoot, INTERFACES... > |
template<typename FROM , typename C , typename... INTERFACES> | |
using | AdapterComponent = ComponentWithBase< C, AdapterRoot, FROM, INTERFACES... > |
template<typename... INTERFACES> | |
using | SelfPtr = typename ComponentHelper< ComponentRoot, INTERFACES... >::type::SelfPtr |
Functions | |
template<typename R , typename SRC , typename RESULT = typename maxon::details::CastHelper<R, SRC>::AssertCastType> | |
RESULT | AssertCast (SRC &&ref) |
template<typename R , typename SRC , typename RESULT = typename maxon::details::CastHelper<R, SRC>::type> | |
RESULT | Cast (SRC &&ref) |
template<typename R , typename SRC , typename RESULT = typename maxon::details::CastHelper<R, SRC>::type> | |
Result< RESULT > | Cast (Result< SRC > &&src) |
template<typename R , typename SRC , typename RESULT = typename maxon::details::CastHelper<R, SRC>::type> | |
Result< RESULT > | AssertCast (Result< SRC > &&src) |
MAXON_REGISTRY (Class<>, Classes, "net.maxon.registry.classes") | |
template<typename R > | |
const Class< R > & | Get (const Id &cls) |
MAXON_REGISTRY (ClassTransformer, ClassTransformers, "net.maxon.registry.classtransformers") | |
MAXON_DECLARATION (Class< ObjectRef >, ObjectBaseClass, "net.maxon.class.object") | |
Result< void > | AddComponentToClass (ClassInterface &cls, const ComponentDescriptor &comp) |
template<typename C > | |
Result< void > | AddComponentToClass (ClassInterface &cls, const Declaration< ComponentDescriptor, C > &comp) |
Result< void > | AddComponentToClass (ClassInterface &cls, const Class<> &comp) |
template<typename T , typename C > | |
Result< void > | AddComponentToClass (ClassInterface &cls, const Declaration< Class< T >, C > &comp) |
class ComponentRoot | MAXON_IF_TARGET_DEBUG (:public EmptyVirtualClass,) |
constexpr const Char * | GetFunctionName (const Char *funcName) |
const maxon::Char * | cstr (const maxon::Error &err) |
const maxon::Char * | cstr (const maxon::ErrorPtr &err) |
const maxon::Char * | cstr (const maxon::ThreadReferencedError &err) |
Variables | |
NORMAL | |
SINGLETON | |
ABSTRACT | |
static const Int | STACKTRACE_SKIP |
#define MAXON_LARGE_VTABLE |
#define MAXON_COMPONENT_HASHTABLE |
const maxon::Char* cstr | ( | const maxon::Error & | err | ) |
Debug helper, writing "cstr(err)" in the watch window will display the error as readable test.
const maxon::Char* cstr | ( | const maxon::ErrorPtr & | err | ) |
const maxon::Char* cstr | ( | const maxon::ThreadReferencedError & | err | ) |
NORMAL |
A normal object class.
SINGLETON |
A singleton object class, i.e., a class with exactly one instance. The instance can be obtained with Create().
ABSTRACT |
< An abstract object class. Create() will return an UnsupportedOperationError.