Public Member Functions | Private Attributes | List of all members
Serializer Class Reference

#include <serialization.h>

Public Member Functions

template<typename Type >
void add_value (Type value)
 
void append (const std::vector< char > &new_data)
 
void reserve (size_t size)
 
std::vector< char > result () const
 
 Serializer (const std::vector< char > &data)
 
 Serializer (size_t reserved_size=0)
 

Private Attributes

std::vector< char > data
 

Detailed Description

Definition at line 13 of file serialization.h.

Constructor & Destructor Documentation

Serializer::Serializer ( const std::vector< char > &  data)
inline

Definition at line 15 of file serialization.h.

Serializer::Serializer ( size_t  reserved_size = 0)
inlineexplicit

Definition at line 16 of file serialization.h.

Member Function Documentation

template<typename Type >
void Serializer::add_value ( Type  value)
inline

Definition at line 29 of file serialization.h.

void Serializer::append ( const std::vector< char > &  new_data)
inline

Definition at line 35 of file serialization.h.

void Serializer::reserve ( size_t  size)
inline

Definition at line 20 of file serialization.h.

std::vector<char> Serializer::result ( ) const
inline

Definition at line 24 of file serialization.h.

Member Data Documentation

std::vector<char> Serializer::data
private

Definition at line 54 of file serialization.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26