Click or drag to resize

EmitHelperToString Method (Object, String, String, AttributeType, IGraph, Boolean, ObjectNamerAndIndexer, TransientObjectNamerAndIndexer, IGraphProcessingEnvironment)

Returns a string representation of the given non-container value

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public static void ToString(
	Object value,
	out string type,
	out string content,
	AttributeType attrType,
	IGraph graph,
	bool firstLevelObjectEmitted,
	ObjectNamerAndIndexer objectNamerAndIndexer,
	TransientObjectNamerAndIndexer transientObjectNamerAndIndexer,
	IGraphProcessingEnvironment procEnv
)

Parameters

value
Type: SystemObject
The scalar value of which to get the string representation
type
Type: SystemString
The type as string, e.g int,string,Foo
content
Type: SystemString
The content as string, e.g. 42,"foo",bar }
attrType
Type: de.unika.ipd.grGen.libGrAttributeType
The attribute type of the value (may be null)
graph
Type: de.unika.ipd.grGen.libGrIGraph
The graph with the model and the element names
firstLevelObjectEmitted
Type: SystemBoolean
Prevents emitting of further objects and thus infinite regressions
objectNamerAndIndexer
Type: de.unika.ipd.grGen.libGrObjectNamerAndIndexer
If not null, it is used to name the visited objects or collect them
transientObjectNamerAndIndexer
Type: de.unika.ipd.grGen.libGrTransientObjectNamerAndIndexer
If not null, it is used to name the visited transient objects or collect them
procEnv
Type: de.unika.ipd.grGen.libGrIGraphProcessingEnvironment
If not null, the processing environment is used for transient object unique id emitting and fetching
See Also