Click or drag to resize

BaseObjectType Class

A representation of a GrGen base object type, i.e. class of internal non-node/edge values.
Inheritance Hierarchy

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

The BaseObjectType type exposes the following members.

Constructors
  NameDescription
Protected methodBaseObjectType
Constructs a BaseObjectType (non-graph-element internal class) instance with the given type ID.
Top
Properties
  NameDescription
Public propertyAnnotations
The annotations of the transient class type
Public propertyAttributeTypes
Enumerates all attribute types of this type.
(Inherited from InheritanceType.)
Public propertyBaseObjectClassName
This BaseObjectType describes classes whose real .NET class type is named as returned (fully qualified). It might be null in case this type IsAbstract.
Public propertyBaseObjectInterfaceName
This BaseObjectType describes classes whose real .NET interface type is named as returned (fully qualified).
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.
(Inherited from InheritanceType.)
Public propertyHasSubTypes
True, if this type has any sub types.
(Inherited from InheritanceType.)
Public propertyHasSuperTypes
True, if this type has any super types, i.e. if it is not the root type.
(Inherited from InheritanceType.)
Public propertyIsAbstract
True, if this type is an abstract element type.
(Inherited from InheritanceType.)
Public propertyIsConst
True, if this type is a const element type.
(Inherited from InheritanceType.)
Public propertyName
The name of the type.
(Inherited from GrGenType.)
Public propertyNumAttributes
The number of attributes of this type.
(Inherited from InheritanceType.)
Public propertyNumFunctionMethods
The number of function methods of this type.
(Inherited from InheritanceType.)
Public propertyNumProcedureMethods
The number of procedure methods of this type.
(Inherited from InheritanceType.)
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.
(Inherited from InheritanceType.)
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!
(Inherited from InheritanceType.)
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!
(Inherited from InheritanceType.)
Top
Methods
  NameDescription
Public methodCreateBaseObject
Creates a base object according to this type.
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.
(Inherited from InheritanceType.)
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.
(Inherited from InheritanceType.)
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.
(Inherited from InheritanceType.)
Public methodIsA(Int32)
Tells whether this type is the same or a subtype of the given type
Public methodIsA(GrGenType)
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 methodIsMyType
Tells whether the given type is the same or a subtype of this type
Public methodToString
Returns the name of the type.
(Inherited from GrGenType.)
Top
Fields
  NameDescription
Public fielddirectSubGrGenTypes
Array containing all direct sub types of this type.
(Inherited from InheritanceType.)
Public fielddirectSuperGrGenTypes
Array containing all direct super types of this type.
(Inherited from InheritanceType.)
Public fieldsubOrSameGrGenTypes
Array containing this type first and following all sub types.
(Inherited from InheritanceType.)
Public fieldsuperOrSameGrGenTypes
Array containing this type first and following all super types.
(Inherited from InheritanceType.)
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