/disk4/html/www/moses/doxygen/mosesdecoder/moses/TranslationModel/UG/mm/tpt_pickler.cc File Reference

#include "tpt_pickler.h"
#include <sys/stat.h>
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  tpt

Functions

uint64_t tpt::getFileSize (const std::string &fname)
template<typename T >
void tpt::binwrite_unsigned_integer (std::ostream &out, T data)
template<typename T >
void tpt::binread_unsigned_integer (std::istream &in, T &data)
void tpt::binwrite (std::ostream &out, unsigned char data)
void tpt::binwrite (std::ostream &out, unsigned short data)
void tpt::binwrite (std::ostream &out, unsigned long data)
void tpt::binwrite (std::ostream &out, unsigned long long data)
void tpt::binwrite (std::ostream &out, size_t data)
void tpt::binread (std::istream &in, unsigned short &data)
void tpt::binread (std::istream &in, unsigned int &data)
void tpt::binread (std::istream &in, unsigned long &data)
void tpt::binread (std::istream &in, unsigned long long &data)
void tpt::binwrite (std::ostream &out, std::string const &s)
void tpt::binread (std::istream &in, std::string &s)
void tpt::binwrite (std::ostream &out, float x)
void tpt::binread (std::istream &in, float &x)
char const * tpt::binread (char const *p, uint16_t &buf)
char const * tpt::binread (char const *p, uint32_t &buf)
char const * tpt::binread (char const *p, filepos_type &buf)
char const * tpt::binread (char const *p, float &buf)


Generated on Thu Jul 6 00:31:34 2017 for Moses by  doxygen 1.5.9