Lines Matching refs:FileStore
14 class CRYPTOPP_DLL FileStore : public Store, private FilterPutSpaceHelper, public NotCopyable
22 class OpenErr : public Err {public: OpenErr(const std::string &filename) : Err("FileStore: error opening file for reading: " + filename) {}};
23 class ReadErr : public Err {public: ReadErr() : Err("FileStore: error reading file") {}};
25 FileStore() : m_stream(NULL) {}
26 FileStore(std::istream &in)
28 FileStore(const char *filename)
49 class CRYPTOPP_DLL FileSource : public SourceTemplate<FileStore>
52 typedef FileStore::Err Err;
53 typedef FileStore::OpenErr OpenErr;
54 typedef FileStore::ReadErr ReadErr;
57 : SourceTemplate<FileStore>(attachment) {}
59 : SourceTemplate<FileStore>(attachment) {SourceInitialize(pumpAll, MakeParameters(Name::InputStreamPointer(), &in));}
61 : SourceTemplate<FileStore>(attachment) {SourceInitialize(pumpAll, MakeParameters(Name::InputFileName(), filename)(Name::InputBinaryMode(), binary));}