ZFFramework
 
Loading...
Searching...
No Matches
ZFTypeInfo Class Referenceabstract

base protocol for ZFTypeId More...

#include <ZFTypeIdFwd.h>

Inheritance diagram for ZFTypeInfo:
ZFTypeId< T_Type, T_isZFObject, T_isPointer >

Public Member Functions

virtual zfbool typeIdSerializable (void) const =0
 see ZFTypeId::TypeIdSerializable
 
virtual const zfstringtypeId (void) const =0
 the type id
 
virtual const ZFClasstypeIdClass (void) const =0
 return the proper wrapper type class if available
 
virtual zfbool genericValueStore (zfauto &obj, const void *v) const =0
 advanced generic value access
 
virtual void * genericAccess (zfauto &obj) const =0
 see genericValueStore
 
virtual void genericAccessFinish (zfauto &obj, void *v) const =0
 see genericValueStore
 
virtual ZFCoreArrayBasegenericArrayNew (void) const =0
 create generic array type
 

Detailed Description

base protocol for ZFTypeId

Member Function Documentation

◆ typeIdClass()

virtual const ZFClass * ZFTypeInfo::typeIdClass ( void ) const
pure virtual

return the proper wrapper type class if available

if available:

◆ genericValueStore()

virtual zfbool ZFTypeInfo::genericValueStore ( zfauto & obj,
const void * v ) const
pure virtual

advanced generic value access

note:

when access:

  • for ZFObject type
    • obj: should store the ZFObject itself
    • v: must be a pointer to T_Type of ZFTypeId<T_Type>, e.g. zfauto, zfweakT<SomeZFObject>, SomeZFObject *
  • for non-ZFObject type

The documentation for this class was generated from the following file: