NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
io.hpp File Reference
#include "../common.hpp"
#include "../encoding/block.hpp"
#include "../encoding/buffer-stream.hpp"
#include <iostream>
#include <fstream>
#include "../security/cryptopp.hpp"
Include dependency graph for io.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndn::io::Error
 

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::io
 

Enumerations

enum  ndn::io::IoEncoding { ndn::io::NO_ENCODING, ndn::io::BASE_64, ndn::io::HEX }
 

Functions

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