GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
GrGenType Class
A representation of a GrGen graph element type.
Declaration Syntax
C#
public abstract class GrGenType
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
GrGenType(Int32)
Initializes a GrGenType object.

AttributeTypes
Enumerates all attribute types of this type.

directSubGrGenTypes
Array containing all direct sub types of this type.

DirectSubTypes
Array containing all direct sub types of this type.

directSuperGrGenTypes
Array containing all direct super types of this type.

DirectSuperTypes
Array containing all direct super types of this type.

FunctionMethods
Enumerates all function methods of this type.

GetAttributeType(String)
Returns an AttributeType object for the given attribute name. If this type does not have an attribute with this name, null is returned.

GetFunctionMethod(String)
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(String)
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.

GreaterThan(GrGenType, GrGenType)
Checks, whether the first type is a sub type of the second type.

GreaterThanOrEqual(GrGenType, GrGenType)
Checks, whether the first type is a sub type of the second type or the types are the same.

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 node/edge root type.

IsA(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.

IsAbstract
True, if this type is an abstract element type.

IsConst
True, if this type is a const element type.

IsNodeType
True, if this type is a node type.

LessThan(GrGenType, GrGenType)
Checks, whether the first type is a super type of the second type.

LessThanOrEqual(GrGenType, GrGenType)
Checks, whether the first type is a super type of the second type or the types are the same.

Name
The name of the type.

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.

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.

ProcedureMethods
Enumerates all procedure methods of this type.

subOrSameGrGenTypes
Array containing this type first and following all sub types.

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!

superOrSameGrGenTypes
Array containing this type first and following all super types.

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!

ToString()()()()
Returns the name of the type.
(Overrides Object.ToString()()()().)
TypeID
An identification number of the type, unique among all other types of the same kind (node/edge) in the owning type model.

Inheritance Hierarchy

Assembly: libGr (Module: libGr) Version: 4.4.0.0 (4.4.0.0)