Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

Standard_Type Class Reference

#include <Standard_Type.hxx>

Inheritance diagram for Standard_Type:

Standard_Transient

List of all members.


Detailed Description

The class <Type> provides services to find out information
about a type defined in CDL.

Definition at line 63 of file Standard_Type.hxx.


Public Member Functions

virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
Standard_EXPORT Standard_Boolean IsClass () const
 Returns "True", if the type is a "Class".
.
Standard_EXPORT Standard_Boolean IsEnumeration () const
 Returns "True", if the type is an "Enumeration".
.
Standard_EXPORT Standard_Boolean IsImported () const
 Returns "True", if the type is imported.
.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsPrimitive () const
 Returns "True", if the type is a primitive.
.
Standard_EXPORT Standard_CString Name () const
 Returns the type name of <me>.
.
Standard_EXPORT Standard_Integer NumberOfAncestor () const
Standard_EXPORT Standard_Integer NumberOfParent () const
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
Standard_EXPORT void operator<< (Standard_OStream &s) const
Standard_EXPORT void Print (Standard_OStream &s) const
Standard_EXPORT void ShallowDump (Standard_OStream &S) const
 Prints the Information about type.
.
Standard_EXPORT void ShallowDump () const
 Prints the Information about type.
.
Standard_EXPORT Standard_Integer Size () const
 Returns the size of <me> in bytes.
.
Standard_EXPORT Standard_Type (const Standard_CString aName, const Standard_Integer aSize, const Standard_Integer aNumberOfParent, const Standard_Address anAncestors, const Standard_Address aFields)
 The constructor for a class.
.
Standard_EXPORT Standard_Type (const Standard_CString aName, const Standard_Integer aSize, const Standard_Integer aNumberOfElement, const Standard_Integer aNumberOfParent, const Standard_Address anAncestors, const Standard_Address aElements)
 The constructor for an enumeration.
.
Standard_EXPORT Standard_Type (const Standard_CString aName, const Standard_Integer aSize, const Standard_Integer aNumberOfParent, const Standard_Address aAncestors)
 The constructor for a primitive.
.
Standard_EXPORT Standard_Type (const Standard_CString aName, const Standard_Integer aSize)
 The constructor for a imported type.
.
Standard_EXPORT Standard_Boolean SubType (const Standard_CString theName) const
Standard_EXPORT Standard_Boolean SubType (const Handle(Standard_Type)&aOther) const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const

Private Member Functions

Standard_EXPORT Standard_Address Ancestors () const
void InLineDummy () const

Private Attributes

Standard_Address myAncestors
Standard_KindOfType myKind
Standard_CString myName
Standard_Integer myNumberOfAncestor
Standard_Integer myNumberOfParent
Standard_Integer mySize

Friends

class Standard_AncestorIterator

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

Generated by  Doxygen 1.6.0   Back to index