Open-Transactions
0.93.0-ge03d287
|
#include <OTStorage.hpp>
Public Member Functions | |
EXPORT OTPacker * | GetPacker (PackType ePackType=OTDB_DEFAULT_PACKER) |
virtual bool | Exists (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")=0 |
virtual int64_t | FormPathString (std::string &strOutput, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")=0 |
virtual | ~Storage () |
EXPORT bool | StoreString (std::string strContents, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
EXPORT std::string | QueryString (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
EXPORT bool | StorePlainString (std::string strContents, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
EXPORT std::string | QueryPlainString (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
EXPORT bool | StoreObject (Storable &theContents, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
EXPORT Storable * | QueryObject (StoredObjectType theObjectType, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
EXPORT std::string | EncodeObject (Storable &theContents) |
EXPORT Storable * | DecodeObject (StoredObjectType theObjectType, std::string strInput) |
EXPORT bool | EraseValueByKey (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
EXPORT Storable * | CreateObject (StoredObjectType eType) |
EXPORT StorageType | GetType () const |
Static Public Member Functions | |
static EXPORT Storage * | Create (StorageType eStorageType, PackType ePackType) |
Protected Member Functions | |
Storage () | |
Storage (const Storage &) | |
void | SetPacker (OTPacker &thePacker) |
virtual bool | onStorePackedBuffer (PackedBuffer &theBuffer, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")=0 |
virtual bool | onQueryPackedBuffer (PackedBuffer &theBuffer, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")=0 |
virtual bool | onStorePlainString (std::string &theBuffer, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")=0 |
virtual bool | onQueryPlainString (std::string &theBuffer, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")=0 |
virtual bool | onEraseValueByKey (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")=0 |
Definition at line 610 of file OTStorage.hpp.
|
inlineprotected |
Definition at line 616 of file OTStorage.hpp.
|
inlineprotected |
Definition at line 621 of file OTStorage.hpp.
|
inlinevirtual |
Definition at line 714 of file OTStorage.hpp.
|
static |
Definition at line 2145 of file OTStorage.cpp.
Storable * opentxs::OTDB::Storage::CreateObject | ( | StoredObjectType | eType | ) |
Definition at line 2128 of file OTStorage.cpp.
Storable * opentxs::OTDB::Storage::DecodeObject | ( | StoredObjectType | theObjectType, |
std::string | strInput | ||
) |
Definition at line 2435 of file OTStorage.cpp.
std::string opentxs::OTDB::Storage::EncodeObject | ( | Storable & | theContents | ) |
Definition at line 2389 of file OTStorage.cpp.
bool opentxs::OTDB::Storage::EraseValueByKey | ( | std::string | strFolder, |
std::string | oneStr = "" , |
||
std::string | twoStr = "" , |
||
std::string | threeStr = "" |
||
) |
Definition at line 2488 of file OTStorage.cpp.
|
pure virtual |
Implemented in opentxs::OTDB::StorageFS.
|
pure virtual |
Implemented in opentxs::OTDB::StorageFS.
OTPacker * opentxs::OTDB::Storage::GetPacker | ( | PackType | ePackType = OTDB_DEFAULT_PACKER | ) |
Definition at line 2103 of file OTStorage.cpp.
StorageType opentxs::OTDB::Storage::GetType | ( | ) | const |
Definition at line 2187 of file OTStorage.cpp.
|
protectedpure virtual |
Implemented in opentxs::OTDB::StorageFS.
|
protectedpure virtual |
Implemented in opentxs::OTDB::StorageFS.
|
protectedpure virtual |
Implemented in opentxs::OTDB::StorageFS.
|
protectedpure virtual |
Implemented in opentxs::OTDB::StorageFS.
|
protectedpure virtual |
Implemented in opentxs::OTDB::StorageFS.
Storable * opentxs::OTDB::Storage::QueryObject | ( | StoredObjectType | theObjectType, |
std::string | strFolder, | ||
std::string | oneStr = "" , |
||
std::string | twoStr = "" , |
||
std::string | threeStr = "" |
||
) |
Definition at line 2336 of file OTStorage.cpp.
std::string opentxs::OTDB::Storage::QueryPlainString | ( | std::string | strFolder, |
std::string | oneStr = "" , |
||
std::string | twoStr = "" , |
||
std::string | threeStr = "" |
||
) |
Definition at line 2290 of file OTStorage.cpp.
std::string opentxs::OTDB::Storage::QueryString | ( | std::string | strFolder, |
std::string | oneStr = "" , |
||
std::string | twoStr = "" , |
||
std::string | threeStr = "" |
||
) |
Definition at line 2237 of file OTStorage.cpp.
|
inlineprotected |
Definition at line 627 of file OTStorage.hpp.
bool opentxs::OTDB::Storage::StoreObject | ( | Storable & | theContents, |
std::string | strFolder, | ||
std::string | oneStr = "" , |
||
std::string | twoStr = "" , |
||
std::string | threeStr = "" |
||
) |
Definition at line 2301 of file OTStorage.cpp.
bool opentxs::OTDB::Storage::StorePlainString | ( | std::string | strContents, |
std::string | strFolder, | ||
std::string | oneStr = "" , |
||
std::string | twoStr = "" , |
||
std::string | threeStr = "" |
||
) |
Definition at line 2283 of file OTStorage.cpp.
bool opentxs::OTDB::Storage::StoreString | ( | std::string | strContents, |
std::string | strFolder, | ||
std::string | oneStr = "" , |
||
std::string | twoStr = "" , |
||
std::string | threeStr = "" |
||
) |
Definition at line 2203 of file OTStorage.cpp.