Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
vector_io.h File Reference
#include <routingkit/bit_vector.h>
#include <string>
#include <vector>
#include <stdexcept>
#include <fstream>
#include <type_traits>
#include <functional>
Include dependency graph for vector_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  RoutingKit
 

Functions

BitVector RoutingKit::load_bit_vector (const std::string &file_name)
 
template<class T >
RoutingKit::load_value (const std::string &file_name)
 
template<class T >
std::vector< T > RoutingKit::load_vector (const std::string &file_name)
 
template<>
std::vector< std::string > RoutingKit::load_vector< std::string > (const std::string &file_name)
 
template<class F >
void RoutingKit::open_file_for_loading (const std::string &file_name, const F &f)
 
template<class F >
void RoutingKit::open_file_for_saving (const std::string &file_name, const F &f)
 
BitVector RoutingKit::read_bit_vector (const std::function< void(char *, unsigned long long)> &in, unsigned long long size)
 
template<class T >
RoutingKit::read_value (const std::function< void(char *, unsigned long long)> &in)
 
template<class T >
RoutingKit::read_value (std::istream &in)
 
template<class T >
std::vector< T > RoutingKit::read_vector (const std::function< void(char *, unsigned long long)> &in, unsigned long long size)
 
template<class T >
std::vector< T > RoutingKit::read_vector (std::istream &in, unsigned long long size)
 
void RoutingKit::save_bit_vector (const std::string &file_name, const BitVector &vec)
 
template<class T >
void RoutingKit::save_value (const std::string &file_name, const T &val)
 
template<class T >
void RoutingKit::save_vector (const std::string &file_name, const std::vector< T > &vec)
 
template<>
void RoutingKit::save_vector< std::string > (const std::string &file_name, const std::vector< std::string > &vec)
 
void RoutingKit::write_bit_vector (const std::function< void(const char *, unsigned long long)> &out, const BitVector &v)
 
template<class T >
void RoutingKit::write_value (const std::function< void(const char *, unsigned long long)> &out, const T &val)
 
template<class T >
void RoutingKit::write_value (std::ostream &out, const T &val)
 
template<class T >
void RoutingKit::write_vector (const std::function< void(const char *, unsigned long long)> &out, const std::vector< T > &v)
 
template<class T >
void RoutingKit::write_vector (std::ostream &out, const std::vector< T > &v)