stringmember : output |
Output the block to the stream.
Any other method of any other object can call this method. This is called 'public' access.
The data-type returned is "voidtype";
This method is contained in the object "stringmember".
The method takes the following arguments:
filedef : Pointer to tgl_structure_parser
Not sure.
obj : Pointer to @schemaobj
Not sure.
This method is overridden from an abstract method with the same signature found in the object @block.
The files "schema/schema_obj.hpp", "tgl_structure_parser.hpp" and "../cppxmlobj/reflect/jscript_object_navigator.hpp" are included.
Query all of the conditions to see if any don't pass.
if (!obj) { filedef->error("Object passed in was null. Not being called correctly."); return; } xmlobj::xmlobj *o = obj; if (_location != "") { ph::reflect::jscript_object_navigator n(obj->root(), filedef->console(), false, false); ph::common::object_base *no = n.navigate(o, _location); if (!no) { filedef->error("Could not find location [" + _location + "] in object."); return; } o = dynamic_cast<xmlobj::xmlobj *>(no); if (!o) { filedef->error("Internal error. How could the object returned not be an xmlobj?."); return; } } filedef->write_output(o->get(_membername));