atlas  0.6
Functions
atlas::basic_io Namespace Reference

Functions

unsigned long long read_var_bytes (unsigned int n, std::istream &in)
 
void put_int (unsigned int val, std::ostream &out)
 
void write_bytes (unsigned int n, unsigned long long val, std::ostream &out)
 
template<typename I >
std::ostream & seqPrint (std::ostream &, const I &, const I &, const char *sep=",", const char *pre="", const char *post="")
 
template<unsigned int n>
unsigned long long read_bytes (std::istream &in)
 
template<unsigned int n>
void write_bytes (unsigned long long val, std::ostream &out)
 
template<>
unsigned long long read_bytes< 1 > (std::istream &in)
 
template<>
void write_bytes< 1 > (unsigned long long val, std::ostream &out)
 

Function Documentation

void atlas::basic_io::put_int ( unsigned int  val,
std::ostream &  out 
)
template<unsigned int n>
unsigned long long atlas::basic_io::read_bytes ( std::istream &  in)
inline
template<>
unsigned long long atlas::basic_io::read_bytes< 1 > ( std::istream &  in)
inline
unsigned long long atlas::basic_io::read_var_bytes ( unsigned int  n,
std::istream &  in 
)
template<typename I >
std::ostream & atlas::basic_io::seqPrint ( std::ostream &  strm,
const I &  first,
const I &  last,
const char *  sep = ",",
const char *  pre = "",
const char *  post = "" 
)
template<unsigned int n>
void atlas::basic_io::write_bytes ( unsigned long long  val,
std::ostream &  out 
)
inline
void atlas::basic_io::write_bytes ( unsigned int  n,
unsigned long long  val,
std::ostream &  out 
)
template<>
void atlas::basic_io::write_bytes< 1 > ( unsigned long long  val,
std::ostream &  out 
)
inline