Click or drag to resize

IGlobalVariables Interface

The global variables shared by the graph processing environments.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public interface IGlobalVariables

The IGlobalVariables type exposes the following members.

Properties
  NameDescription
Public propertyItem
Indexer for accessing the variables by name, via index notation on this object.
Public propertyVariables
Returns an iterator over all available (non-null) variables
Top
Methods
  NameDescription
Public methodCloneGraphVariables
Duplicates the graph variables of an old just cloned graph, assigns them to the new cloned graph.
Public methodCustom
Does action execution environment dependent stuff.
Public methodFetchObjectUniqueId
Fetches a unique id for an internal class object (non-transient). May be called concurrently from multiple threads.
Public methodFillCustomCommandDescriptions
Adds the custom commands descriptions of this object to the customCommandsToDescriptions.
Public methodGetEdgeVarValue
Retrieves the IEdge for a variable name or null, if the variable isn't set yet or anymore. A InvalidCastException is thrown, if the variable is set and does not point to an IEdge object.
Public methodGetElementVariables
Returns a linked list of variables mapping to the given graph element or null, if no variable points to this element
Public methodGetNodeVarValue
Retrieves the INode for a variable name or null, if the variable isn't set yet or anymore. A InvalidCastException is thrown, if the variable is set and does not point to an INode object.
Public methodGetVariableValue
Retrieves the object for a variable name or null, if the variable isn't set yet or anymore
Public methodRequestObjectUniqueId
Requests a specific unique id for an internal class object (non-transient). This allows to adapt the internal id source so this id cannot be fetched anymore (as well as all ids that are lower than this one).
Public methodSetVariableValue
Sets the value of the given variable to the given value. If the variable name is null, this function does nothing. If val is null, the variable is unset.
Top
See Also