|
| template<class T > |
| void | WriteBasicType (std::ostream &os, bool binary, T t) |
| | WriteBasicType is the name of the write function for bool, integer types, and floating-point types. More...
|
| |
| template<class T > |
| void | ReadBasicType (std::istream &is, bool binary, T *t) |
| | ReadBasicType is the name of the read function for bool, integer types, and floating-point types. More...
|
| |
| template<> |
| void | WriteBasicType< bool > (std::ostream &os, bool binary, bool b) |
| |
| template<> |
| void | ReadBasicType< bool > (std::istream &is, bool binary, bool *b) |
| |
| template<> |
| void | WriteBasicType< float > (std::ostream &os, bool binary, float f) |
| |
| template<> |
| void | WriteBasicType< double > (std::ostream &os, bool binary, double f) |
| |
| template<> |
| void | ReadBasicType< float > (std::istream &is, bool binary, float *f) |
| |
| template<> |
| void | ReadBasicType< double > (std::istream &is, bool binary, double *d) |
| |
| template<class T > |
| void | ReadBasicType (std::istream &is, bool binary, T *t, bool add) |
| |
| template<class T > |
| void | WriteIntegerVector (std::ostream &os, bool binary, const std::vector< T > &v) |
| | Function for writing STL vectors of integer types. More...
|
| |
| template<class T > |
| void | ReadIntegerVector (std::istream &is, bool binary, std::vector< T > *v) |
| | Function for reading STL vector of integer types. More...
|
| |
| template<class T > |
| void | WriteIntegerPairVector (std::ostream &os, bool binary, const std::vector< std::pair< T, T > > &v) |
| | Function for writing STL vectors of pairs of integer types. More...
|
| |
| template<class T > |
| void | ReadIntegerPairVector (std::istream &is, bool binary, std::vector< std::pair< T, T > > *v) |
| | Function for reading STL vector of pairs of integer types. More...
|
| |
| void | WriteToken (std::ostream &os, bool binary, const char *token) |
| | The WriteToken functions are for writing nonempty sequences of non-space characters. More...
|
| |
| void | WriteToken (std::ostream &os, bool binary, const std::string &token) |
| |
| int | Peek (std::istream &is, bool binary) |
| | Peek consumes whitespace (if binary == false) and then returns the peek() value of the stream. More...
|
| |
| void | ReadToken (std::istream &is, bool binary, std::string *token) |
| | ReadToken gets the next token and puts it in str (exception on failure). More...
|
| |
| int | PeekToken (std::istream &is, bool binary) |
| | PeekToken will return the first character of the next token, or -1 if end of file. More...
|
| |
| void | ExpectToken (std::istream &is, bool binary, const char *token) |
| | ExpectToken tries to read in the given token, and throws an exception on failure. More...
|
| |
| void | ExpectToken (std::istream &is, bool binary, const std::string &token) |
| |
| void | ExpectPretty (std::istream &is, bool binary, const char *token) |
| | ExpectPretty attempts to read the text in "token", but only in non-binary mode. More...
|
| |
| void | ExpectPretty (std::istream &is, bool binary, const std::string &token) |
| |
| void | InitKaldiOutputStream (std::ostream &os, bool binary) |
| | InitKaldiOutputStream initializes an opened stream for writing by writing an optional binary header and modifying the floating-point precision; it will typically not be called by users directly. More...
|
| |
| bool | InitKaldiInputStream (std::istream &is, bool *binary) |
| | Initialize an opened stream for reading by detecting the binary header and. More...
|
| |