nlib
MpReader.h File Reference

Writes the deserializer of MessagePack. More...

#include <map>
#include <string>
#include <utility>
#include <vector>
#include "nn/nlib/InputStream.h"
#include "nn/nlib/msgpack/MpObject.h"
#include "nn/nlib/Nlist.h"

Go to the source code of this file.

Classes

struct  nn::nlib::msgpack::MpReaderSettings
 Data structure used to store the MpReader settings parameters. More...
 
class  nn::nlib::msgpack::MpReader
 Reads the MessagePack-formatted data from the stream. More...
 

Namespaces

 nn::nlib
 Implements common features and features that are highly platform-dependent. Also refer to nlib Platform APIs. nlib_ns is an alias.
 
 nn::nlib::msgpack
 The library used to implement the MessagePack serializer, the JSON parser/writer, and the CSV parser.
 

Functions

template<class T1 , class T2 >
bool nn::nlib::msgpack::MpRead (MpReader *r, std::pair< T1, T2 > *v)
 Reads the data into pair.
 
template<class T , class Alloc >
bool nn::nlib::msgpack::MpRead (MpReader *r, std::vector< T, Alloc > *v)
 Reads the data into vector.
 
template<class T , class Alloc >
bool nn::nlib::msgpack::MpRead (MpReader *r, Nlist< T, Alloc > *v)
 Reads the data into Nlist.
 
template<class K , class V , class Pr , class Alloc >
bool nn::nlib::msgpack::MpRead (MpReader *r, std::map< K, V, Pr, Alloc > *m)
 Reads the data into map.
 
MpRead

Free function that handles MpReader.

template<class T >
bool nn::nlib::msgpack::MpRead (MpReader *obj, T *v)
 This function template can be made special to define unboxing the user type. More...
 

Detailed Description

Writes the deserializer of MessagePack.

Definition in file MpReader.h.