All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ndn::io Namespace Reference

Data Structures

class  Error
 

Enumerations

enum  IoEncoding { NO_ENCODING, BASE_64, HEX }
 

Functions

template<typename T >
shared_ptr< T > load (std::istream &is, IoEncoding encoding=BASE_64)
 
template<typename T >
shared_ptr< T > load (const std::string &file, IoEncoding encoding=BASE_64)
 
template<typename T >
void save (const T &object, std::ostream &os, IoEncoding encoding=BASE_64)
 
template<typename T >
void save (const T &object, const std::string &file, IoEncoding encoding=BASE_64)
 

Enumeration Type Documentation

Enumerator
NO_ENCODING 
BASE_64 
HEX 

Definition at line 32 of file io.hpp.

Function Documentation

template<typename T >
shared_ptr<T> ndn::io::load ( std::istream &  is,
IoEncoding  encoding = BASE_64 
)

Definition at line 40 of file io.hpp.

template<typename T >
shared_ptr<T> ndn::io::load ( const std::string &  file,
IoEncoding  encoding = BASE_64 
)

Definition at line 91 of file io.hpp.

template<typename T >
void ndn::io::save ( const T &  object,
std::ostream &  os,
IoEncoding  encoding = BASE_64 
)

Definition at line 99 of file io.hpp.

template<typename T >
void ndn::io::save ( const T &  object,
const std::string &  file,
IoEncoding  encoding = BASE_64 
)

Definition at line 149 of file io.hpp.