Evita  0.16
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
evCodec Class Referenceabstract

#include <evCodec.h>

Inheritance diagram for evCodec:
Inheritance graph
[legend]
Collaboration diagram for evCodec:
Collaboration graph
[legend]

Public Member Functions

 evCodec (void)
 
virtual ~evCodec (void)
 
virtual const evString GetClassName (void) const
 
virtual int Encode (evBitBuffer &output_buffer, evDataset &dataset, evProgressReporter *progress_reporter=NULL)=0
 
virtual int EncodeHeader (evFile &outfile, evDataset &dataset) const =0
 
virtual int Decode (evBitBuffer &input_buffer, evDataset &dataset, evProgressReporter *progress_reporter=NULL)=0
 
virtual int DecodeHeader (evFile &infile, evDataset &dataset)=0
 
unsigned int GetNumComponentsToCode (void) const
 
void SetComponentsToCode (const unsigned int num_components_to_code, const unsigned int *components_to_code=NULL)
 
unsigned int FindComponent (const unsigned int component) const
 
- Public Member Functions inherited from evProcessObject
 evProcessObject (void)
 
virtual ~evProcessObject (void)
 
- Public Member Functions inherited from evObject
 evObject (void)
 
virtual ~evObject (void)
 
void Print (const int tabbing) const
 
void Print (void) const
 
virtual void PrintSelf (const int tabbing) const
 

Static Public Member Functions

static evCodecCreate (const evString &compression_algorithm)
 

Protected Attributes

std::vector< unsigned int > ComponentsToCode
 

Additional Inherited Members

- Protected Member Functions inherited from evObject
 evObject (const evObject &object)
 

Constructor & Destructor Documentation

evCodec::evCodec ( void  )
inline
evCodec::~evCodec ( void  )
inlinevirtual

Member Function Documentation

static evCodec* evCodec::Create ( const evString compression_algorithm)
static
virtual int evCodec::Decode ( evBitBuffer input_buffer,
evDataset dataset,
evProgressReporter progress_reporter = NULL 
)
pure virtual

Implemented in evCodecSARL, and evCodecNone.

virtual int evCodec::DecodeHeader ( evFile infile,
evDataset dataset 
)
pure virtual

Implemented in evCodecSARL, and evCodecNone.

virtual int evCodec::Encode ( evBitBuffer output_buffer,
evDataset dataset,
evProgressReporter progress_reporter = NULL 
)
pure virtual

Implemented in evCodecSARL, and evCodecNone.

virtual int evCodec::EncodeHeader ( evFile outfile,
evDataset dataset 
) const
pure virtual

Implemented in evCodecSARL, and evCodecNone.

unsigned int evCodec::FindComponent ( const unsigned int  component) const
inline
virtual const evString evCodec::GetClassName ( void  ) const
inlinevirtual

Reimplemented from evProcessObject.

Reimplemented in evCodecSARL, evCodecEmbedded, and evCodecNone.

unsigned int evCodec::GetNumComponentsToCode ( void  ) const
inline
void evCodec::SetComponentsToCode ( const unsigned int  num_components_to_code,
const unsigned int *  components_to_code = NULL 
)

Member Data Documentation

std::vector<unsigned int> evCodec::ComponentsToCode
protected

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