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



IconMemberDescription
EdgeType(Int32)
Constructs an EdgeType instance with the given type ID.

Annotations
The annotations of the edge type

AttributeTypes
Enumerates all attribute types of this type.
(Inherited from GrGenType.)
CreateEdge(INode, INode)
Creates an IEdge object according to this type.

CreateEdge()()()()
Creates an IEdge object according to this type. ATTENTION: You must call SetSourceAndTarget() before adding an edge created this way to a graph. This is an unsafe function that allows to first set the attributes of an edge, as needed in efficient .grs importing.

CreateEdgeWithCopyCommons(INode, INode, IEdge)
Creates an IEdge object according to this type and copies all common attributes from the given edge.

Directedness
Specifies the directedness of this edge type.

directSubGrGenTypes
Array containing all direct sub types of this type.
(Inherited from GrGenType.)
directSubTypes
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.
(Inherited from GrGenType.)
directSuperTypes
Array containing all direct super types of this type.

DirectSuperTypes
Array containing all direct super types of this type.

EdgeClassName
This EdgeType describes edges whose real .NET class type is named as returned (fully qualified). It might be null in case this type IsAbstract.

EdgeInterfaceName
This EdgeType describes edges whose real .NET interface type is named as returned (fully qualified).

FunctionMethods
Enumerates all function methods of this type.
(Inherited from GrGenType.)
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.
(Inherited from GrGenType.)
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.
(Inherited from GrGenType.)
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.
(Inherited from GrGenType.)
HasSubTypes
True, if this type has any sub types.
(Inherited from GrGenType.)
HasSuperTypes
True, if this type has any super types, i.e. if it is not the node/edge root type.
(Inherited from GrGenType.)
IsA(Int32)
Tells whether this type is the same or a subtype of the given 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.
(Inherited from GrGenType.)
IsAbstract
True, if this type is an abstract element type.
(Inherited from GrGenType.)
IsConst
True, if this type is a const element type.
(Inherited from GrGenType.)
IsMyType(Int32)
Tells whether the given type is the same or a subtype of this type

IsNodeType
Always returns false.
(Overrides GrGenType.IsNodeType.)
Name
The name of the type.
(Inherited from GrGenType.)
NumAttributes
The number of attributes of this type.
(Inherited from GrGenType.)
NumFunctionMethods
The number of function methods of this type.
(Inherited from GrGenType.)
NumProcedureMethods
The number of procedure methods of this type.
(Inherited from GrGenType.)
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.
(Inherited from GrGenType.)
SetSourceAndTarget(IEdge, INode, INode)
Sets the source and target nodes of the edge after creation without. Must be called before an edge created with CreateEdge() is added to the graph.

subOrSameGrGenTypes
Array containing this type first and following all sub types.
(Inherited from GrGenType.)
subOrSameTypes
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!
(Inherited from GrGenType.)
superOrSameGrGenTypes
Array containing this type first and following all super types.
(Inherited from GrGenType.)
superOrSameTypes
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!
(Inherited from GrGenType.)
ToString()()()()
Returns the name of the type.
(Inherited from GrGenType.)
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.)
Inheritance Hierarchy
Object
GrGenType
 EdgeType

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