Click or drag to resize

LGSPObject Class

Class implementing objects in the libGr search plan backend (values of internal non-node/edge classes)
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.lgspLGSPObject

Namespace: de.unika.ipd.grGen.lgsp
Assembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntax
C#
public abstract class LGSPObject : IObject, 
	IBaseObject, IAttributeBearer, ITyped, IDeepEqualityComparer, ICallable

The LGSPObject type exposes the following members.

Constructors
 NameDescription
Protected methodLGSPObject Instantiates a LGSPObject object.
Top
Properties
 NameDescription
Public propertyItem Indexer that gives access to the attributes of the class object.
Public propertyType The ObjectType of the object.
Top
Methods
 NameDescription
Public methodApplyFunctionMethod Executes the function method given by its name. Throws an exception if the method does not exists or the parameters are of wrong types.
Public methodApplyProcedureMethod Executes the procedure method given by its name. Throws an exception if the method does not exists or the parameters are of wrong types.
Public methodClone Creates a shallow clone of this object. All attributes will be transfered to the new object. A new name will be fetched from the graph.
Public methodCopy Creates a deep copy of this object (i.e. (transient) class objects will be replicated). All attributes will be transfered to the new object. A new name will be fetched from the graph.
Public methodGetAttribute Returns the attribute with the given attribute name. If the class type doesn't have an attribute with this name, a NullReferenceException is thrown.
Public methodGetObjectName Gets the name of the class object.
Public methodGetUniqueId Gets the unique id of the class object.
Public methodInstanceOf Returns true, if the typed object is compatible to the given type.
Public methodIsDeeplyEqual Returns whether this and that are deeply equal, which means the scalar attributes are equal, the container attributes are memberwise deeply equal, and object attributes are deeply equal. (If types are unequal the result is false.) Visited objects are/have to be stored in the visited objects dictionary in order to detect shortcuts and cycles.
Public methodResetAllAttributes Resets all class object attributes to their initial values.
Public methodSetAttribute Sets the attribute with the given attribute name to the given value. If the class type doesn't have an attribute with this name, a NullReferenceException is thrown.
Public methodSetUniqueId Sets the unique id of the class object. You have to ensure consistency! (only meant for internal use.)
Public methodToString Returns the name of the type of this class.
(Overrides ObjectToString)
Top
Fields
 NameDescription
Public fieldlgspType The object type (class) of the object/value.
Public fielduniqueId Contains a unique id (intended use: filled at creation, never changed)
Top
See Also