- Aldebaran documentation |
- C++ Libraries |
- index

libqi-api 2.8.7.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Typedefs | Functions
binarycodec.hpp File Reference
`#include <qi/atomic.hpp>`
`#include <qi/api.hpp>`
`#include <boost/function.hpp>`
`#include <qi/buffer.hpp>`
`#include <qi/anyvalue.hpp>`
`#include <qi/type/metaobject.hpp>`
`#include <qi/objectuid.hpp>`

Go to the source code of this file.

## Classes
struct | qi::ObjectSerializationInfo
| Informations passed when serializing an object. More...

## Namespaces
| qi
| Deprecated in 2.5. Use int8_t from <cstdint>.

## Macros
#define | _QI_TYPE_BINARYCODEC_HPP_

## Typedefs
using | qi::DeserializeObjectCallback = boost::function< AnyObject(const ObjectSerializationInfo &)>
| Type of callback invoked by sdeerializer when it encounters an object. More...
using | qi::SerializeObjectCallback = boost::function< ObjectSerializationInfo(const AnyObject &)>
| Type of callback invoked by serializer when it encounters an object. More...

## Functions
template<typename T >
AnyReference | qi::decodeBinary (qi::BufferReader *buf, T *value, DeserializeObjectCallback onObject=DeserializeObjectCallback(), StreamContext *streamContext=0)
void | qi::encodeBinary (qi::Buffer *buf, const AutoAnyReference &gvp, SerializeObjectCallback onObject=SerializeObjectCallback(), StreamContext *ctx=0)
AnyReference | qi::decodeBinary (qi::BufferReader *buf, AnyReference gvp, DeserializeObjectCallback onObject=DeserializeObjectCallback(), StreamContext *ctx=0)

## Macro Definition Documentation

#define _QI_TYPE_BINARYCODEC_HPP_

Definition at line 8 of file binarycodec.hpp.