theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Class_Introspection_C_API

MkObjectC - get information from the MkTypeS

+ Collaboration diagram for MkObjectC_Class_Introspection_C_API:

MkObjectC - get information from the MkTypeS

The Introspection API is used to get information about the details of the instance and type implementation. Only the connection between type and instance is currently implemented.

Three methods are used to create an iteration over all avaialable instances of a type.

Example: a simple loop over all instances of class MkBufferC (language C++) ~~~~{.cc} for (auto buf = MkBufferC::Instances(); buf != NULL; buf = buf->Next()) { SendSTR(buf->ToString()); } ~~~~