Click or drag to resize

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

Returns a string representation of the given dictionary

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

Parameters

setmap  IDictionary
The dictionary of which to get the string representation
type  String
The type as string, e.g set<int> or set<int>map<string,boolean>
content  String
The content as string, e.g. { 42, 43 } or { "foo"->true, "bar"->false }
attrType  AttributeType
The attribute type of the dictionary if available, otherwise null
graph  IGraph
The graph with the model and the element names if available, otherwise null
firstLevelObjectEmitted  Boolean
Prevents emitting of further objects and thus infinite regressions
objectNamerAndIndexer  ObjectNamerAndIndexer
If not null, it is used to name the visited objects or collect them
transientObjectNamerAndIndexer  TransientObjectNamerAndIndexer
If not null, it is used to name the visited transient objects or collect them
procEnv  IGraphProcessingEnvironment
If not null, the processing environment is used for transient object unique id emitting and fetching
See Also