 | EmitHelperToString(Object, String, String, AttributeType, IGraph, Boolean, ObjectNamerAndIndexer, TransientObjectNamerAndIndexer, IGraphProcessingEnvironment) Method |
Returns a string representation of the given non-container value
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntaxpublic 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 Object
- The scalar value of which to get the string representation
- type String
- The type as string, e.g int,string,Foo
- content String
- The content as string, e.g. 42,"foo",bar }
- attrType AttributeType
- The attribute type of the value (may be null)
- graph IGraph
- The graph with the model and the element names
- 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