OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | List of all members
mvd::SerializableInterface Class Referenceabstract

#include <mvdSerializableInterface.h>

Public Types

enum  Mode {
  MODE_BINARY = 0,
  MODE_TEXT = 1
}
 

Public Member Functions

void Read (const QString &filename, Mode mode)
 
void Write (const QString &filename, Mode mode) const
 
virtual ~SerializableInterface ()
 

Protected Member Functions

 SerializableInterface ()
 
virtual void virtual_Read (QIODevice *device)=0
 
virtual void virtual_Write (QIODevice &device) const =0
 

Detailed Description

'Template method' pattern applied to serializable objects.

Definition at line 77 of file mvdSerializableInterface.h.

Member Enumeration Documentation

Enumerator
MODE_BINARY 
MODE_TEXT 

Definition at line 87 of file mvdSerializableInterface.h.

Constructor & Destructor Documentation

virtual mvd::SerializableInterface::~SerializableInterface ( )
virtual

Destructor.

mvd::SerializableInterface::SerializableInterface ( )
protected

Constructor.

Member Function Documentation

void mvd::SerializableInterface::Read ( const QString &  filename,
Mode  mode 
)
virtual void mvd::SerializableInterface::virtual_Read ( QIODevice *  device)
protectedpure virtual
virtual void mvd::SerializableInterface::virtual_Write ( QIODevice &  device) const
protectedpure virtual
void mvd::SerializableInterface::Write ( const QString &  filename,
Mode  mode 
) const

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