|
Open-Transactions
0.93.0-ge03d287
|
Namespaces | |
| details | |
Classes | |
| class | InitOTDBDetails |
| class | Storable |
| class | PackedBuffer |
| class | OTPacker |
| class | PackerSubclass |
| class | Storage |
| class | OTDBString |
| class | Blob |
| class | StringMap |
| class | Displayable |
| class | MarketData |
| class | MarketList |
| class | OfferDataMarket |
| class | BidData |
| class | AskData |
| class | OfferListMarket |
| class | TradeDataMarket |
| class | TradeListMarket |
| class | OfferDataNym |
| class | OfferListNym |
| class | TradeDataNym |
| class | TradeListNym |
| class | Acct |
| class | BitcoinAcct |
| class | ServerInfo |
| class | Server |
| class | BitcoinServer |
| class | RippleServer |
| class | LoomServer |
| class | ContactNym |
| class | WalletData |
| class | ContactAcct |
| class | Contact |
| class | AddressBook |
| class | StorageFS |
Typedefs | |
| typedef Storable *( | InstantiateFunc )() |
| typedef std::pair< PackType, StoredObjectType > | InstantiateFuncKey |
| typedef std::map < InstantiateFuncKey, InstantiateFunc * > | mapOfFunctions |
Functions | |
| DeclareInterface (IStorable) virtual bool onPack(PackedBuffer &theBuffer | |
| virtual bool | onUnpack (PackedBuffer &theBuffer, Storable &outObj)=0 |
| virtual void | hookBeforePack () |
| virtual void | hookAfterUnpack () |
| EXPORT bool | InitDefaultStorage (StorageType eStoreType, PackType ePackType) |
| EXPORT Storage * | GetDefaultStorage () |
| EXPORT Storage * | CreateStorageContext (StorageType eStoreType, PackType ePackType=OTDB_DEFAULT_PACKER) |
| EXPORT Storable * | CreateObject (StoredObjectType eType) |
| EXPORT bool | CheckStringsExistInOrder (std::string &strFolder, std::string &oneStr, std::string &twoStr, std::string &threeStr, const char *szFuncName=nullptr) |
| EXPORT bool | Exists (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
| EXPORT int64_t | FormPathString (std::string &strOutput, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="") |
| 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="") |
| IMPLEMENT_GET_ADD_REMOVE (WalletData::, BitcoinServer) IMPLEMENT_GET_ADD_REMOVE(WalletData | |
Variables | |
| const char * | StoredObjectTypeStrings [] |
| Storable & | inObj = 0 |
| InitOTDBDetails | theOTDBConstructor |
| typedef Storable*( opentxs::OTDB::InstantiateFunc)() |
Definition at line 327 of file OTStorage.hpp.
| typedef std::pair<PackType, StoredObjectType> opentxs::OTDB::InstantiateFuncKey |
Definition at line 329 of file OTStorage.hpp.
| typedef std::map<InstantiateFuncKey, InstantiateFunc*> opentxs::OTDB::mapOfFunctions |
Definition at line 340 of file OTStorage.hpp.
| Enumerator | |
|---|---|
| PACK_MESSAGE_PACK | |
| PACK_PROTOCOL_BUFFERS | |
| PACK_TYPE_ERROR | |
Definition at line 221 of file OTStorage.hpp.
| Enumerator | |
|---|---|
| STORE_FILESYSTEM | |
| STORE_TYPE_SUBCLASS | |
Definition at line 229 of file OTStorage.hpp.
Definition at line 242 of file OTStorage.hpp.
| bool opentxs::OTDB::CheckStringsExistInOrder | ( | std::string & | strFolder, |
| std::string & | oneStr, | ||
| std::string & | twoStr, | ||
| std::string & | threeStr, | ||
| const char * | szFuncName = nullptr |
||
| ) |
Definition at line 549 of file OTStorage.cpp.
| Storable * opentxs::OTDB::CreateObject | ( | StoredObjectType | eType | ) |
Definition at line 530 of file OTStorage.cpp.
| Storage * opentxs::OTDB::CreateStorageContext | ( | StorageType | eStoreType, |
| PackType | ePackType = OTDB_DEFAULT_PACKER |
||
| ) |
Definition at line 522 of file OTStorage.cpp.
| opentxs::OTDB::DeclareInterface | ( | IStorable | ) |
| Storable * opentxs::OTDB::DecodeObject | ( | StoredObjectType | theObjectType, |
| std::string | strInput | ||
| ) |
Definition at line 830 of file OTStorage.cpp.
| std::string opentxs::OTDB::EncodeObject | ( | Storable & | theContents | ) |
Definition at line 818 of file OTStorage.cpp.
| bool opentxs::OTDB::EraseValueByKey | ( | std::string | strFolder, |
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 843 of file OTStorage.cpp.
| bool opentxs::OTDB::Exists | ( | std::string | strFolder, |
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 584 of file OTStorage.cpp.
| int64_t opentxs::OTDB::FormPathString | ( | std::string & | strOutput, |
| std::string | strFolder, | ||
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 612 of file OTStorage.cpp.
| Storage * opentxs::OTDB::GetDefaultStorage | ( | ) |
Definition at line 480 of file OTStorage.cpp.
|
virtual |
Definition at line 384 of file OTStorage.hpp.
|
virtual |
Definition at line 380 of file OTStorage.hpp.
| opentxs::OTDB::IMPLEMENT_GET_ADD_REMOVE | ( | WalletData:: | , |
| BitcoinServer | |||
| ) |
Definition at line 1061 of file OTStorage.cpp.
| bool opentxs::OTDB::InitDefaultStorage | ( | StorageType | eStoreType, |
| PackType | ePackType | ||
| ) |
Definition at line 491 of file OTStorage.cpp.
|
pure virtual |
| Storable * opentxs::OTDB::QueryObject | ( | StoredObjectType | theObjectType, |
| std::string | strFolder, | ||
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 788 of file OTStorage.cpp.
| std::string opentxs::OTDB::QueryPlainString | ( | std::string | strFolder, |
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 728 of file OTStorage.cpp.
| std::string opentxs::OTDB::QueryString | ( | std::string | strFolder, |
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 671 of file OTStorage.cpp.
| bool opentxs::OTDB::StoreObject | ( | Storable & | theContents, |
| std::string | strFolder, | ||
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 759 of file OTStorage.cpp.
| bool opentxs::OTDB::StorePlainString | ( | std::string | strContents, |
| std::string | strFolder, | ||
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 698 of file OTStorage.cpp.
| bool opentxs::OTDB::StoreString | ( | std::string | strContents, |
| std::string | strFolder, | ||
| std::string | oneStr = "", |
||
| std::string | twoStr = "", |
||
| std::string | threeStr = "" |
||
| ) |
Definition at line 644 of file OTStorage.cpp.
| Storable& opentxs::OTDB::inObj = 0 |
Definition at line 376 of file OTStorage.hpp.
| const char * opentxs::OTDB::StoredObjectTypeStrings |
Definition at line 300 of file OTStorage.cpp.
| InitOTDBDetails opentxs::OTDB::theOTDBConstructor |
Definition at line 347 of file OTStorage.cpp.