client-cpp  0.0.1-SNAPSHOT
kaa::ISchemaStorage Class Referenceabstract

#include <ISchemaStorage.hpp>

Public Types

typedef std::vector
< boost::uint8_t > 
byte_buffer
 

Public Member Functions

virtual ~ISchemaStorage ()
 
virtual void saveSchema (const byte_buffer &data)=0
 
virtual byte_buffer loadSchema ()=0
 

Detailed Description

Interface which is used by SchemaPersistenceManager to use user-defined routines for persisting/loading binary data schema.

Should be defined by user.

Definition at line 31 of file ISchemaStorage.hpp.

Member Typedef Documentation

typedef std::vector<boost::uint8_t> kaa::ISchemaStorage::byte_buffer

Definition at line 33 of file ISchemaStorage.hpp.

Constructor & Destructor Documentation

virtual kaa::ISchemaStorage::~ISchemaStorage ( )
inlinevirtual

Definition at line 34 of file ISchemaStorage.hpp.

Member Function Documentation

virtual byte_buffer kaa::ISchemaStorage::loadSchema ( )
pure virtual

Specifies routine to load data schema.

Returns
Serialized data schema.
virtual void kaa::ISchemaStorage::saveSchema ( const byte_buffer data)
pure virtual

Specifies routine to persist data schema.

Parameters
bytesSerialized data schema.

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