- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# StructureSerializerDebug Class Reference

Search for all occurrences

## Detailed Description

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.

`#include <adskDataStructureSerializerDebug.h>`

Inheritance diagram for StructureSerializerDebug:
[legend]

List of all members.

## Public Member Functions
virtual | ~StructureSerializerDebug ()
| Default destructor, does nothing.
virtual Structure * | read (std::istream &cSrc, std::string &errors) const
| Mandatory pure virtual read method fails immediately.
virtual int | write (const Structure &dataToWrite, std::ostream &cDst) const
| Output the Structure object in Debug format into the stream.
virtual void | getFormatDescription (std::ostream &info) const
| Get a description of the Debug structure format.

## Member Function Documentation

Structure * read | ( | std::istream & | cSrc,
|  | std::string & | errors
| ) |  | const`[virtual]`

Search for all occurrences

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]`

Search for all occurrences

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]`

Search for all occurrences

Get a description of the Debug structure format.

Parameters:

  [out] | info | Stream to which the Debug format description is output

Implements StructureSerializer.

StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug
StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug StructureSerializerDebug