Bpp/Standard
Serialization
C++
 
 
DESCRIPTION
 

This module provides facilities to serialize objects (i.e. to convert them into sequences of bytes).

 
SOURCE FILES
 

This section allows you to access the C++ source files of the module.

 
PARENT MODULE
 

This module is part of Bpp/Standard.

 
INCLUDED FILES
 

The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.

  • <bpp/standard/maths.hpp>

  • <deque>

 
NEEDED FILES
 

The files listed below are needed by the implementation part of the module. But a module dependent of this module is not necessary dependent of the files listed here.

  • <bpp/modules.hpp>

 
INTEGRATED NAMESPACES
 

The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module.

  • standardMaths

 
ALIASES
 

The aliases listed below are only used internally by the interface. They are here just to lighten the writing of certain declarations. Never use them, they are local to the interface and can not be used outside of it.

  • tdMap = class prKey,class prValue,template <class> class prComparator,template <class> class prAllocator,template <class,class,class,class> class prContainer

  • tuMap = prContainer<prKey,prValue,prComparator<prKey>,prAllocator< STL_MAP_ALLOCATOR_PARAMETERS(prKey,prValue) > >

  • tdPair = class prType1,class prType2

  • tuPair = std_pair(prType1,prType2)

  • tdSequence = class prType,template <class> class prAllocator,template <class,class> class prContainer

  • tuSequence = prContainer<prType,prAllocator<prType> >

  • tdSet = class prType,template <class> class prComparator,template <class> class prAllocator,template <class,class,class> class prContainer

  • tuSet = prContainer< prType,prComparator<prType>,prAllocator<prType> >

 
MACROCOMMANDS
 

The macrocommands listed below can be used without specifying the namespace where they have been defined. That means you can not define an element by your own that have the same name.

 
ERRORS
 

Here are listed the errors that are supported or generated by the module. To use one of them, you do not have to specify the namespace of the module.

  • erCardinalSize
    Not enough bytes in cardinal to deserialize.

  • erIntegerSize
    Not enough bytes in integer to deserialize.

 
FUNCTIONS
 

Here are listed the functions provided by the module. To use one of them, you have to specify the namespace of the module.

 
CLASSES
 

Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module.

 
clDeflator
 
 
Declaration

template <class prType> class clDeflator

 
Description

Provides static methods for the serialization of a specific type of objects. This generic class must be statically specialized for any type of object.

 
Methods
 
clDeflator<tyBoolean>
 
 
Declaration

template <> class clDeflator<tyBoolean>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<tyByte>
 
 
Declaration

template <> class clDeflator<tyByte>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<tyCharacter>
 
 
Declaration

template <> class clDeflator<tyCharacter>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<tyCardinal>
 
 
Declaration

template <> class clDeflator<tyCardinal>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<tyInteger>
 
 
Declaration

template <> class clDeflator<tyInteger>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<tyReal>
 
 
Declaration

template <> class clDeflator<tyReal>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<tcString>
 
 
Declaration

template <> class clDeflator<tcString>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<clString>
 
 
Declaration

template <> class clDeflator<clString>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<std_pair(?,?)>
 
 
Declaration

template <tdPair> class clDeflator<tuPair>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<std_sequence(?)>
 
 
Declaration

template <tdSequence> class clDeflator<tuSequence>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<std_map(?,?)>
 
 
Declaration

template <tdMap> class clDeflator<tuMap>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clDeflator<std_set(?)>
 
 
Declaration

template <tdSet> class clDeflator<tuSet>

 
Description

Specialization of the Deflator generic class.

 
Methods
 
clSerializer
 
 
Declaration

class clSerializer

 
Description

Represents a serializer that potentially converts any type of object into a sequence of bytes, and vice versa. The serializer stores a sequence of bytes where objects of different kinds can be added or retrieved.

 
Methods
 
 
Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).