nlib
|
Writes the serializer of MessagePack. More...
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "nn/nlib/msgpack/MpObject.h"
#include "nn/nlib/OutputStream.h"
#include "nn/nlib/BinaryWriter.h"
#include "nn/nlib/Cstring.h"
#include "nn/nlib/Nlist.h"
Go to the source code of this file.
Classes | |
class | nn::nlib::msgpack::MpWriter |
Writes the MessagePack formatted data to 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 > | |
uint32_t uint64_t nlib_ulong_compatible_t bool | nn::nlib::msgpack::MpWrite (MpWriter *w, const std::pair< T1, T2 > &v) |
Writes the contents of v via MpWriter . | |
bool | nn::nlib::msgpack::MpWrite (MpWriter *w, const char *str) |
Writes str via MpWriter . | |
template<class T , class Alloc > | |
bool | nn::nlib::msgpack::MpWrite (MpWriter *w, const std::vector< T, Alloc > &vec) |
Writes vec via MpWriter . | |
template<class T , class Alloc > | |
bool | nn::nlib::msgpack::MpWrite (MpWriter *w, const Nlist< T, Alloc > &vec) |
Writes vec via MpWriter . | |
template<class K , class V , class Pr , class Alloc > | |
bool | nn::nlib::msgpack::MpWrite (MpWriter *w, const std::map< K, V, Pr, Alloc > &m) |
Writes m via MpWriter . | |
MpWrite | |
Free function that handles | |
template<class T > | |
bool | nn::nlib::msgpack::MpWrite (MpWriter *obj, const T &v) |
This function template can be specialized to define serializing a user type. More... | |
Writes the serializer of MessagePack.
Definition in file MpWriter.h.
© 2013, 2014, 2015 Nintendo Co., Ltd. All rights reserved.