Click or drag to resize

InheritanceType Class

A representation of a GrGen inheritance type.
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.libGrGrGenType
    de.unika.ipd.grGen.libGrInheritanceType
      de.unika.ipd.grGen.libGrBaseObjectType
      de.unika.ipd.grGen.libGrGraphElementType

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 8.1
Syntax
C#
public abstract class InheritanceType : GrGenType

The InheritanceType type exposes the following members.

Constructors
  NameDescription
Protected methodInheritanceType
Initializes an InheritanceType object.
Top
Properties
  NameDescription
Public propertyAttributeTypes
Enumerates all attribute types of this type.
Public propertyDirectSubTypes
Array containing all direct sub types of this type.
Public propertyDirectSuperTypes
Array containing all direct super types of this type.
Public propertyFunctionMethods
Enumerates all function methods of this type.
Public propertyHasSubTypes
True, if this type has any sub types.
Public propertyHasSuperTypes
True, if this type has any super types, i.e. if it is not the root type.
Public propertyIsAbstract
True, if this type is an abstract element type.
Public propertyIsConst
True, if this type is a const element type.
Public propertyName
The name of the type.
(Inherited from GrGenType.)
Public propertyNumAttributes
The number of attributes of this type.
Public propertyNumFunctionMethods
The number of function methods of this type.
Public propertyNumProcedureMethods
The number of procedure methods of this type.
Public propertyPackage
null if this is a global type, otherwise the package the type is contained in.
(Inherited from GrGenType.)
Public propertyPackagePrefixedName
The name of the type in case of a global type, the name of the type prefixed by the name of the package otherwise.
(Inherited from GrGenType.)
Public propertyProcedureMethods
Enumerates all procedure methods of this type.
Public propertySubOrSameTypes
Array containing this type first and following all sub types.
Public propertySubTypes
Enumerates over all real subtypes of this type Warning: You should not use this property, but SubOrSameTypes starting from index 1, because Enumerators in .NET are quite slow!
Public propertySuperOrSameTypes
Array containing this type first and following all super types.
Public propertySuperTypes
Enumerates over all real supertypes of this type Warning: You should not use this property, but SuperOrSameTypes starting from index 1, because Enumerators in .NET are quite slow!
Top
Methods
  NameDescription
Public methodGetAttributeType
Returns an AttributeType object for the given attribute name. If this type does not have an attribute with this name, null is returned.
Public methodGetFunctionMethod
Returns a function definition object for the given function method name. If this type does not have a function method with this name, null is returned.
Public methodGetProcedureMethod
Returns a procedure definition object for the given procedure method name. If this type does not have a procedure method with this name, null is returned.
Public methodIsA
Checks, whether this type is compatible to the given type, i.e. this type is the same type as the given type or it is a sub type of the given type.
(Inherited from GrGenType.)
Public methodToString
Returns the name of the type.
(Inherited from GrGenType.)
Top
Operators
  NameDescription
Public operatorStatic memberGreaterThan
Checks, whether the first type is a sub type of the second type.
Public operatorStatic memberGreaterThanOrEqual
Checks, whether the first type is a sub type of the second type or the types are the same.
Public operatorStatic memberLessThan
Checks, whether the first type is a super type of the second type.
Public operatorStatic memberLessThanOrEqual
Checks, whether the first type is a super type of the second type or the types are the same.
Top
Fields
  NameDescription
Public fielddirectSubGrGenTypes
Array containing all direct sub types of this type.
Public fielddirectSuperGrGenTypes
Array containing all direct super types of this type.
Public fieldsubOrSameGrGenTypes
Array containing this type first and following all sub types.
Public fieldsuperOrSameGrGenTypes
Array containing this type first and following all super types.
Public fieldTypeID
An identification number of the type, unique among all other types of the same kind (node/edge) in the owning type model.
(Inherited from GrGenType.)
Top
See Also