InheritanceType Class |
Namespace: de.unika.ipd.grGen.libGr
public abstract class InheritanceType : GrGenType
The InheritanceType type exposes the following members.
| Name | Description | |
|---|---|---|
| InheritanceType |
Initializes an InheritanceType object.
|
| Name | Description | |
|---|---|---|
| AttributeTypes |
Enumerates all attribute types of this type.
| |
| DirectSubTypes |
Array containing all direct sub types of this type.
| |
| DirectSuperTypes |
Array containing all direct super types of this type.
| |
| FunctionMethods |
Enumerates all function methods of this type.
| |
| HasSubTypes |
True, if this type has any sub types.
| |
| HasSuperTypes |
True, if this type has any super types, i.e. if it is not the root type.
| |
| IsAbstract |
True, if this type is an abstract element type.
| |
| IsConst |
True, if this type is a const element type.
| |
| Name |
The name of the type.
(Inherited from GrGenType.) | |
| NumAttributes |
The number of attributes of this type.
| |
| NumFunctionMethods |
The number of function methods of this type.
| |
| NumProcedureMethods |
The number of procedure methods of this type.
| |
| Package |
null if this is a global type, otherwise the package the type is contained in.
(Inherited from GrGenType.) | |
| PackagePrefixedName |
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.) | |
| ProcedureMethods |
Enumerates all procedure methods of this type.
| |
| SubOrSameTypes |
Array containing this type first and following all sub types.
| |
| SubTypes |
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!
| |
| SuperOrSameTypes |
Array containing this type first and following all super types.
| |
| SuperTypes |
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!
|
| Name | Description | |
|---|---|---|
| GetAttributeType |
Returns an AttributeType object for the given attribute name.
If this type does not have an attribute with this name, null is returned.
| |
| GetFunctionMethod |
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.
| |
| GetProcedureMethod |
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.
| |
| IsA |
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.) | |
| ToString |
Returns the name of the type.
(Inherited from GrGenType.) |
| Name | Description | |
|---|---|---|
| GreaterThan |
Checks, whether the first type is a sub type of the second type.
| |
| GreaterThanOrEqual |
Checks, whether the first type is a sub type of the second type or the types are the same.
| |
| LessThan |
Checks, whether the first type is a super type of the second type.
| |
| LessThanOrEqual |
Checks, whether the first type is a super type of the second type or the types are the same.
|
| Name | Description | |
|---|---|---|
| directSubGrGenTypes |
Array containing all direct sub types of this type.
| |
| directSuperGrGenTypes |
Array containing all direct super types of this type.
| |
| subOrSameGrGenTypes |
Array containing this type first and following all sub types.
| |
| superOrSameGrGenTypes |
Array containing this type first and following all super types.
| |
| TypeID |
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.) |