EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoArchiveTXT Class Reference

Archive for Human readable Text files. More...

#include <eoArchiveTXT.h>

Inheritance diagram for eoArchiveTXT:
Collaboration diagram for eoArchiveTXT:

Public Member Functions

virtual eoArchiveoperator& (char const *obj)
 
virtual eoArchiveoperator& (char *obj)
 
virtual eoArchiveoperator& (uint32_t &obj)
 
virtual eoArchiveoperator& (int32_t &obj)
 
virtual eoArchiveoperator& (uint16_t &obj)
 
virtual eoArchiveoperator& (int16_t &obj)
 
virtual eoArchiveoperator& (uint8_t &obj)
 
virtual eoArchiveoperator& (int8_t &obj)
 
virtual eoArchiveoperator& (double &obj)
 
virtual eoArchiveoperator& (bool &obj)
 
virtual eoArchiveoperator& (eoISerialize *obj)
 
virtual eoArchiveoperator& (eoISerialize &obj)
 
void ExchangeInt (int &obj)
 
virtual uint8_t Open (const char *strBuf)
 
virtual void Close ()
 
void indent ()
 
void startBlock ()
 
void endBlock ()
 
void startBlock (const char *BlockName)
 

Additional Inherited Members

- Public Attributes inherited from eoArchive
bool isStoring
 Flag signalising storing.
 
char identifier [32]
 String indentifier of the archive.
 
- Protected Attributes inherited from eoArchive
eoHeaderh
 Header information with the versioning.
 
uint8_t level
 Actual level of the serialisation stream.
 
uint8_t state
 Statemaschine indicator.
 
bool isName
 Flag to signalise if name set.
 

Detailed Description

Archive for Human readable Text files.

this eoArchive is used to generate and parse Text Files for serialization. Numbers are stored as hex value.

Member Function Documentation

◆ Close()

virtual void eoArchiveTXT::Close ( )
virtual

Closing the Serialisation stream.

Reimplemented from eoArchive.

◆ endBlock()

void eoArchiveTXT::endBlock ( )
virtual

End a block in serialisation stream.

Reimplemented from eoArchive.

◆ ExchangeInt()

void eoArchiveTXT::ExchangeInt ( int &  obj)

Echange an stored integer.

Parameters
objIntended object.

◆ indent()

void eoArchiveTXT::indent ( )
virtual

Make an empty line indent.

Reimplemented from eoArchive.

◆ Open()

virtual uint8_t eoArchiveTXT::Open ( const char *  strBuf)
virtual

Opens the StreamBuffer/file

Parameters
strBuffile/stream buffer
Returns
eoReturn

Reimplemented from eoArchive.

◆ operator&() [1/12]

virtual eoArchive& eoArchiveTXT::operator & ( char const *  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [2/12]

virtual eoArchive& eoArchiveTXT::operator & ( char *  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [3/12]

virtual eoArchive& eoArchiveTXT::operator & ( uint32_t &  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [4/12]

virtual eoArchive& eoArchiveTXT::operator & ( int32_t &  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [5/12]

virtual eoArchive& eoArchiveTXT::operator & ( uint16_t &  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [6/12]

virtual eoArchive& eoArchiveTXT::operator & ( int16_t &  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [7/12]

virtual eoArchive& eoArchiveTXT::operator & ( uint8_t &  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [8/12]

virtual eoArchive& eoArchiveTXT::operator & ( int8_t &  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [9/12]

virtual eoArchive& eoArchiveTXT::operator & ( double &  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [10/12]

virtual eoArchive& eoArchiveTXT::operator & ( bool &  obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [11/12]

virtual eoArchive& eoArchiveTXT::operator & ( eoISerialize obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ operator&() [12/12]

virtual eoArchive& eoArchiveTXT::operator & ( eoISerialize obj)
virtual

Overloaded & operator to add an object to the archive.

Parameters
objObejct to be add.

Reimplemented from eoArchive.

◆ startBlock() [1/2]

void eoArchiveTXT::startBlock ( )
virtual

Start a block in serialisation stream.

Reimplemented from eoArchive.

◆ startBlock() [2/2]

void eoArchiveTXT::startBlock ( const char *  BlockName)
virtual

Start a block in serialisation stream.

Parameters
BlockNamename of the block.

Reimplemented from eoArchive.