#ifndef ALONE_READ__ #define ALONE_READ__ #include "util/exception.hh" #include namespace util { class FilePiece; } namespace search { template class Context; } namespace alone { class Graph; class Vocab; class FormatException : public util::Exception { public: FormatException() {} ~FormatException() throw() {} }; void JustVocab(util::FilePiece &from, std::ostream &to); template bool ReadCDec(search::Context &context, util::FilePiece &from, Graph &to, Vocab &vocab); } // namespace alone #endif // ALONE_READ__