All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
castor::Decoder Class Reference

#include <Encoding.h>

Inheritance diagram for castor::Decoder:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void commit ()=0
virtual DecoderPtr createDecoder (const BytesPtr x, size_t offset=0)=0
virtual DecoderPtr createDecoder (const char *x, size_t length)=0
virtual DecoderPtr createDecoder (const char *x, size_t offset, size_t length)=0
virtual EncoderPtr createEncoder ()=0
virtual castor::net::NetAddress decAddress ()=0
virtual bool decBool ()=0
virtual BytesPtr decBytes (size_t length)=0
virtual double decDouble ()=0
virtual float decFloat ()=0
virtual short decInt16 ()=0
virtual long decInt32 ()=0
virtual long long decInt64 ()=0
virtual char decInt8 ()=0
virtual size_t decLength ()=0
 Decoder ()
 Decoder (const BytesPtr x, size_t offset=0)
 Decoder (const char *x, size_t length)
 Decoder (const char *x, size_t offset, size_t length)
virtual std::string decString ()=0
virtual unsigned short decUInt16 ()=0
virtual unsigned long decUInt32 ()=0
virtual unsigned long long decUInt64 ()=0
virtual unsigned char decUInt8 ()=0
virtual const char * getBuffer ()=0
virtual BytesPtr getBytes ()=0
virtual size_t getLength ()=0
virtual size_t getPosition ()=0
virtual void mark ()=0
virtual void reset ()=0
virtual void rollback ()=0
virtual void seek (long offset)=0
virtual void switchEndianness (bool yes)=0
virtual ~Decoder ()

Detailed Description

Definition at line 116 of file Encoding.h.


Constructor & Destructor Documentation

Definition at line 120 of file Encoding.h.

castor::Decoder::Decoder ( const BytesPtr  x,
size_t  offset = 0 
)
castor::Decoder::Decoder ( const char *  x,
size_t  length 
)
castor::Decoder::Decoder ( const char *  x,
size_t  offset,
size_t  length 
)
virtual castor::Decoder::~Decoder ( ) [inline, virtual]

Definition at line 127 of file Encoding.h.


Member Function Documentation

virtual void castor::Decoder::commit ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual DecoderPtr castor::Decoder::createDecoder ( const BytesPtr  x,
size_t  offset = 0 
) [pure virtual]

Implemented in castor::encoding::CNER.

virtual DecoderPtr castor::Decoder::createDecoder ( const char *  x,
size_t  length 
) [pure virtual]

Implemented in castor::encoding::CNER.

virtual DecoderPtr castor::Decoder::createDecoder ( const char *  x,
size_t  offset,
size_t  length 
) [pure virtual]

Implemented in castor::encoding::CNER.

virtual EncoderPtr castor::Decoder::createEncoder ( ) [pure virtual]

Implemented in castor::encoding::CNER.

Implemented in castor::encoding::CNER.

virtual bool castor::Decoder::decBool ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual BytesPtr castor::Decoder::decBytes ( size_t  length) [pure virtual]

Implemented in castor::encoding::CNER.

virtual double castor::Decoder::decDouble ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual float castor::Decoder::decFloat ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual short castor::Decoder::decInt16 ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual long castor::Decoder::decInt32 ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual long long castor::Decoder::decInt64 ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual char castor::Decoder::decInt8 ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual size_t castor::Decoder::decLength ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual std::string castor::Decoder::decString ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual unsigned short castor::Decoder::decUInt16 ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual unsigned long castor::Decoder::decUInt32 ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual unsigned long long castor::Decoder::decUInt64 ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual unsigned char castor::Decoder::decUInt8 ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual const char* castor::Decoder::getBuffer ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual BytesPtr castor::Decoder::getBytes ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual size_t castor::Decoder::getLength ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual size_t castor::Decoder::getPosition ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual void castor::Decoder::mark ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual void castor::Decoder::reset ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual void castor::Decoder::rollback ( ) [pure virtual]

Implemented in castor::encoding::CNER.

virtual void castor::Decoder::seek ( long  offset) [pure virtual]

Implemented in castor::encoding::CNER.

virtual void castor::Decoder::switchEndianness ( bool  yes) [pure virtual]

Implemented in castor::encoding::CNER.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41