Rogue Wave Views
Foundation Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvClassInfo Class Reference

Class information. More...

#include <ilviews/base/clssinfo.h>

Inherited by IlvObjectLFClassInfo, and IlvPropClassInfo.

Public Member Functions

const char * getClassName () const
 Retrieves the name of the class. More...
 
IlvClassInfogetSuperClass () const
 Retrieves the super class. More...
 
const IlSymbolgetSymbol () const
 Retrieves the name of the class as a symbol. More...
 
IlBoolean isSubtypeOf (const char *className) const
 Checks for inheritance. More...
 
IlBoolean isSubtypeOf (const IlvClassInfo *classInfo) const
 Checks for inheritance. More...
 

Detailed Description

Class information.

Library: xviews or winviews or mviews (mutually exclusive)

This class provides runtime information about Rogue Wave Views classes. A unique instance of this class is created for each class that is registered in Rogue Wave Views using. The registration depends on the class type. For example, subclasses of IlvGraphic use IlvRegisterClass to register themselves. This macro actually creates a unique instance of IlvClassInfo and associates this instance with the graphic class.

Member Function Documentation

const char* IlvClassInfo::getClassName ( ) const

Retrieves the name of the class.

Returns
The class name of the registered class. You must not modify nor delete the returned string.
IlvClassInfo* IlvClassInfo::getSuperClass ( ) const

Retrieves the super class.

Returns
A pointer to the IlvClassInfo instance associated with the superclass of the class associated with this IlvClassInfo.
const IlSymbol* IlvClassInfo::getSymbol ( ) const

Retrieves the name of the class as a symbol.

Returns
The symbol built with the class name of the registered class.
IlBoolean IlvClassInfo::isSubtypeOf ( const char *  className) const

Checks for inheritance.

Returns
IlTrue if this instance is associated with a subclass of the class registered as className, or IlFalse if it is not.
IlBoolean IlvClassInfo::isSubtypeOf ( const IlvClassInfo classInfo) const

Checks for inheritance.

Parameters
classInfoThe class descriptor that is checked as being a descriptor of a base class of this descriptor.
Returns
IlTrue if this instance is associated with a subclass of the class associated with the IlvClassInfo instance referred to as classInfo, and IlFalse if it is not.

© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.