#include <MetaType.hpp>
Public Methods | |
Constructor and destructor | |
MetaType ( UniversalIdentifierCref , DwordCref , DwordCref , MetaTypeCptr *, MemberDescriptorCptr *, DispatchDescriptorCptr *, CharCptr , CharCptr , CharCptr , CharCptr ) throw ( Assertion ) | |
Constructor requires meaningful information for analysis, this is for abstract types that are not instantiated. More... | |
MetaType ( UniversalIdentifierCref , DwordCref , DwordCref , MetaTypeCptr *, MemberDescriptorCptr *, DispatchDescriptorCptr *, CharCptr , CharCptr , CharCptr , CharCptr , AllocatorPtr ) throw ( Assertion ) | |
Constructor requires meaningful information for analysis. More... | |
virtual | ~MetaType ( void ) |
Virtual destructor. | |
Operator overloads | |
bool | operator== ( MetaTypeCptr ) const |
MetaType Accessors | |
General accessors for the meta type and various descriptors | |
UniversalIdentifierCref | getIdentifier ( void ) const |
get the UniversalIdentifier associated to the MetaType. More... | |
DwordCref | getTypeVersion ( void ) const |
get the class version of the type this MetaType represents. More... | |
DwordCref | getTypeSize ( void ) const |
get the instance size of the type this MetaType represents. More... | |
Count | getParentCount ( void ) const |
get the parent count. More... | |
Count | getInstanceMemberCount ( void ) const |
get the instance member (attributes) count. More... | |
Count | getInstanceFunctionCount ( void ) const |
get the dispatch functions count. More... | |
CharCptr | getInstanceTypeName ( void ) const |
get the name of the instance of this MetaType. More... | |
CharCptr | getMetaTypeName ( void ) const |
get the name of this MetaType. More... | |
CharCptr | getTypeDescription ( void ) const |
get the description of this type. More... | |
CharCptr | getDomainName ( void ) const |
get the domain name (the Ontology) that this type is a member of. More... | |
AllocatorPtr | getAllocator ( void ) const |
get the Allocator associated to this MetaType. More... | |
bool | isType ( MetaTypeCptr aMetaType ) const throw ( Assertion ) |
test if this MetaType is of the same type as aMetaType. More... | |
bool | isTypeOf ( MetaTypeCptr ) const throw ( Assertion ) |
test if this MetaType is of the same type as aMetaType. More... | |
bool | isAbstractType ( void ) const |
tells if the MetaType is an abstract one or not. More... | |
Iteator factories | |
Iterator<MetaTypePtr>* | createParentIterator ( void ) |
Create a iterator over the parents of this type. More... | |
Iterator<MemberDescriptorPtr>* | createMemberIterator ( void ) |
Create a iterator over the data member declarations of this type. More... | |
Iterator<DispatchDescriptorPtr>* | createMethodIterator ( void ) |
Create a iterator over the methods of this type. More... | |
void | destroyIterator ( Iterator<MetaTypePtr>* ) |
Destroy the iterator. More... | |
void | destroyIterator ( Iterator<MemberDescriptorPtr> * ) |
Destroy the iterator. More... | |
void | destroyIterator ( Iterator<DispatchDescriptorPtr> * ) |
Destroy the iterator. More... | |
Instance Accessors and methods interfaces | |
VoidPtr | get ( CharCptr, FrameworkEntityPtr ) const throw ( NullPointerException, DescriptorNotFound, AccessorNotFound ) |
Attempts to access to the specified attribute. More... | |
Instance Mutators and methods interfaces | |
void | set ( CharCptr, VoidPtr, FrameworkEntityPtr ) const throw ( NullPointerException, DescriptorNotFound, AccessorNotFound ) |
Attempts to set to the specified attribute. More... | |
Instance Mutators and methods interfaces | |
void | dispatch ( FrameworkEntityPtr, char *, void **, void * ) throw ( NullPointerException, DescriptorNotFound ) |
Attempts to call the method via a dispatch function on the object. More... | |
void | dispatch ( char *, void **, void * ) throw ( NullPointerException, DescriptorNotFound ) |
Attempts to call the method via a dispatch function on the object. More... | |
Protected Methods | |
MetaType ( void ) throw ( Assertion ) | |
default constructor is protected. | |
MetaType ( MetaTypeCref ) throw ( Assertion ) | |
copy constructor is protected. |
|
Constructor requires meaningful information for analysis, this is for abstract types that are not instantiated.
|
|
Constructor requires meaningful information for analysis.
|
|
Virtual destructor.
|
|
default constructor is protected.
|
|
copy constructor is protected.
|
|
Create a iterator over the data member declarations of this type.
|
|
Create a iterator over the methods of this type.
|
|
Create a iterator over the parents of this type.
|
|
Destroy the iterator.
|
|
Destroy the iterator.
|
|
Destroy the iterator.
|
|
Attempts to call the method via a dispatch function on the object.
|
|
Attempts to call the method via a dispatch function on the object.
|
|
Attempts to access to the specified attribute.
|
|
get the Allocator associated to this MetaType.
|
|
get the domain name (the Ontology) that this type is a member of.
|
|
get the UniversalIdentifier associated to the MetaType.
|
|
get the dispatch functions count.
|
|
get the instance member (attributes) count.
|
|
get the name of the instance of this MetaType.
|
|
get the name of this MetaType.
|
|
get the parent count.
|
|
get the description of this type.
|
|
get the instance size of the type this MetaType represents.
|
|
get the class version of the type this MetaType represents.
|
|
tells if the MetaType is an abstract one or not.
|
|
test if this MetaType is of the same type as aMetaType.
|
|
test if this MetaType is of the same type as aMetaType.
|
|
|
|
Attempts to set to the specified attribute.
|