MeVisLabToolboxReference
DCMTree_Serialization::Source Class Reference

Interface of a data source for the deserialization of objects. More...

#include <DCMTree_Serialization.h>

Inheritance diagram for DCMTree_Serialization::Source:
DCMTree_Serialization::FileSource

List of all members.

Public Member Functions

virtual ~Source ()
void readX (std::string &value)
void readTypeX (TypeCode expected)
 Reads a TypeCode.
virtual void readX (void *data, boost::uint32_t size)=0
 Reads a specified number of bytes.
virtual void rewind ()=0

Detailed Description

Interface of a data source for the deserialization of objects.

Definition at line 92 of file DCMTree_Serialization.h.


Constructor & Destructor Documentation

virtual DCMTree_Serialization::Source::~Source ( ) [inline, virtual]

Definition at line 94 of file DCMTree_Serialization.h.


Member Function Documentation

void DCMTree_Serialization::Source::readTypeX ( TypeCode  expected)

Reads a TypeCode.

Parameters:
expectedThe expected TypeCode
Exceptions:
IOExceptionIf reading fails or the read TypeCode doesn't match the expected TypeCode.

Referenced by DCMTree_Serialization::deserializeEnumX(), and DCMTree_Serialization::deserializeX().

void DCMTree_Serialization::Source::readX ( std::string &  value)
virtual void DCMTree_Serialization::Source::readX ( void *  data,
boost::uint32_t  size 
) [pure virtual]

Reads a specified number of bytes.

Exceptions:
IOExceptionIf reading fails.

Implemented in DCMTree_Serialization::FileSource.

virtual void DCMTree_Serialization::Source::rewind ( ) [pure virtual]

The documentation for this class was generated from the following file: