freesecs::secstwo::binary_serializer_t Class Reference

Data item serialiser to SEMI E5 binary format Serialises a given data item to SEMI E5 from FREESECS representation. Serialization is done recursively for list data items. More...

#include <secstwo_serialize.h>

Collaboration diagram for freesecs::secstwo::binary_serializer_t:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< uint8_t > data_container_t
 Binary data container type define.

Public Member Functions

 binary_serializer_t (pdata_item_t pitem)
 Binary deserializer ctor Data item serialization is made in ctor. It may throw an empty exception if the following goes wrong:
  • Fail to do UTF-8 --> WCHAR conversion with iconv.

data_container_t::const_iterator begin () const
 returns const ref to start of serialized binary data
data_container_t::const_iterator end () const
 returns const ref to end of serialized binary data
 operator const data_container_t & ()
 returns const ref to serialized binary data container


Detailed Description

Data item serialiser to SEMI E5 binary format Serialises a given data item to SEMI E5 from FREESECS representation. Serialization is done recursively for list data items.

See also:
data_item_t

Definition at line 115 of file secstwo_serialize.h.


Constructor & Destructor Documentation

binary_serializer_t::binary_serializer_t ( pdata_item_t  pitem  ) 

Binary deserializer ctor Data item serialization is made in ctor. It may throw an empty exception if the following goes wrong:

  • Fail to do UTF-8 --> WCHAR conversion with iconv.

Parameters:
pitem Ptr to FREESECS representation data item

Definition at line 323 of file secstwo_serialize.cpp.

References freesecs::secstwo::list_item_t::_data, begin(), and end().

Here is the call graph for this function:


Member Function Documentation

binary_serializer_t::data_container_t::const_iterator binary_serializer_t::begin (  )  const

returns const ref to start of serialized binary data

Returns:
std::vector const iterator

Definition at line 361 of file secstwo_serialize.cpp.

Referenced by binary_serializer_t().

Here is the caller graph for this function:

binary_serializer_t::data_container_t::const_iterator binary_serializer_t::end (  )  const

returns const ref to end of serialized binary data

Returns:
std::vector const iterator

Definition at line 367 of file secstwo_serialize.cpp.

Referenced by binary_serializer_t().

Here is the caller graph for this function:


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

Generated on Sun Jun 20 08:10:08 2010 for FREESECS secstwo by  doxygen 1.5.6