StructureSerializerDebug Class Reference
#include <adskDataStructureSerializerDebug.h>
Class handling the data structure format type "Debug".
The "Debug" format is taken directly from the Print request handler on the Structure and owned object classes. The formatting will be self-describing so either print a structure or look at the Debug method in the adsk::Data::Structure class to see what information is printed.
Structure * read
(
std::istream &
cSrc ,
std::string &
errors
)
const
virtual
Mandatory pure virtual read method fails immediately.
Parameters
[in] cSrc Stream containing the Debug format data to be parsed
[out] errors Description of problems found when parsing the string
Returns NULL since no Structure can be created from this format
Implements StructureSerializer .
int write
(
const Structure &
dataToWrite ,
std::ostream &
cDst
)
const
virtual
Output the Structure object in Debug format into the stream.
Parameters
[in] dataToWrite Structure to be formatted
[out] cDst Stream to which the Debug format of the structure is written
Returns number of errors found during write, 0 means success
Implements StructureSerializer .
void getFormatDescription
(
std::ostream &
info )
const
virtual
The documentation for this class was generated from the following files:
adskDataStructureSerializerDebug.h
adskDataStructureSerializerDebug.cpp