#include "datahash.h"
#include <iostream>
Go to the source code of this file.
Functions | |
smart_ptr< Datahash > | readHashFromStream (IN const char *key, IO std::istream &stream) |
smart_ptr< Datahash > | readHashFromTextFile (IN const char *filename) |
smart_ptr< Datahash > | readHashFromString (IN const char *string) |
void | writeHashToStream (IN const Datahash *hash, IO std::ostream &stream) |
void | writeHashToTextFile (IN const Datahash *hash, IN const char *filename, IN const char *comment_at_top=NULL) |
writes to file atomically | |
void | dumpHash (IN const char *title, IN const Datahash *hash) |
Definition at line 211 of file datahash_text.cpp.
Definition at line 242 of file datahash_text.cpp.
void writeHashToStream | ( | IN const Datahash * | hash, | |
IO std::ostream & | stream | |||
) |
Definition at line 256 of file datahash_text.cpp.
void writeHashToTextFile | ( | IN const Datahash * | hash, | |
IN const char * | filename, | |||
IN const char * | comment_at_top = NULL | |||
) |
writes to file atomically
Definition at line 271 of file datahash_text.cpp.
void dumpHash | ( | IN const char * | title, | |
IN const Datahash * | hash | |||
) |
Definition at line 320 of file datahash_text.cpp.