class CCL::AbstractTypeInfo

Overview

Abstract type information base class. More…

#include <metaclass.h>

class AbstractTypeInfo: public CCL::ITypeInfo
{
public:
    // methods

    virtual const ITypeInfo*CCL_API getParentType () const;
    virtual int CCL_API getClassFlags () const;
    virtual CStringPtr CCL_API getClassName () const;
    virtual CStringPtr CCL_API getClassNamespace () const;
    virtual UIDRef CCL_API getClassID () const;
    virtual const MethodDefinition*CCL_API getMethodNames () const;
    virtual const PropertyDefinition*CCL_API getPropertyNames () const;
    virtual ModuleRef CCL_API getModuleReference () const;
    virtual IUnknown*CCL_API createInstance () const;
};

Inherited Members

public:
    // enums

    enum DataTypes;
    enum Flags;

    // structs

    struct MethodDefinition;
    struct PropertyDefinition;

    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;
    virtual const ITypeInfo*CCL_API getParentType () const = 0;
    virtual int CCL_API getClassFlags () const = 0;
    virtual CStringPtr CCL_API getClassName () const = 0;
    virtual CStringPtr CCL_API getClassNamespace () const = 0;
    virtual UIDRef CCL_API getClassID () const = 0;
    virtual const MethodDefinition*CCL_API getMethodNames () const = 0;
    virtual const PropertyDefinition*CCL_API getPropertyNames () const = 0;
    virtual ModuleRef CCL_API getModuleReference () const = 0;
    virtual IUnknown*CCL_API createInstance () const = 0;

Detailed Documentation

Abstract type information base class.

Methods

virtual const ITypeInfo*CCL_API getParentType () const

Get type info of parent class (returns null for base class).

virtual int CCL_API getClassFlags () const

Get class flags.

virtual CStringPtr CCL_API getClassName () const

Get class name as null-terminated ASCII string.

virtual CStringPtr CCL_API getClassNamespace () const

Get class namespace as null-terminated ASCII string, optional.

virtual UIDRef CCL_API getClassID () const

Get unique class identifier if available, empty otherwise.

virtual const MethodDefinition*CCL_API getMethodNames () const

Get null-terminated array of method definitions (optional).

virtual const PropertyDefinition*CCL_API getPropertyNames () const

Get null-terminated array of property definitions (optional).

virtual ModuleRef CCL_API getModuleReference () const

Get reference of module this class resides in.

virtual IUnknown*CCL_API createInstance () const

Create object instance of this class.