Open-Transactions  0.93.0-ge03d287
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OTStorage.cpp File Reference
#include "stdafx.hpp"
#include "OTStorage.hpp"
#include "crypto/OTASCIIArmor.hpp"
#include "util/OTDataFolder.hpp"
#include "OTLog.hpp"
#include "util/OTPaths.hpp"
#include "OTPayload.hpp"
#include "OTStoragePB.hpp"
#include <fstream>
#include <typeinfo>
Include dependency graph for OTStorage.cpp:

Go to the source code of this file.

Namespaces

 opentxs
 
 opentxs::OTDB
 

Macros

#define IMPLEMENT_GET_ADD_REMOVE(scope, name)
 

Functions

EXPORT Storage * opentxs::OTDB::GetDefaultStorage ()
 
EXPORT bool opentxs::OTDB::InitDefaultStorage (StorageType eStoreType, PackType ePackType)
 
EXPORT Storage * opentxs::OTDB::CreateStorageContext (StorageType eStoreType, PackType ePackType=OTDB_DEFAULT_PACKER)
 
EXPORT Storable * opentxs::OTDB::CreateObject (StoredObjectType eType)
 
EXPORT bool opentxs::OTDB::CheckStringsExistInOrder (std::string &strFolder, std::string &oneStr, std::string &twoStr, std::string &threeStr, const char *szFuncName=nullptr)
 
EXPORT bool opentxs::OTDB::Exists (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
EXPORT int64_t opentxs::OTDB::FormPathString (std::string &strOutput, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
EXPORT bool opentxs::OTDB::StoreString (std::string strContents, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
EXPORT std::string opentxs::OTDB::QueryString (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
EXPORT bool opentxs::OTDB::StorePlainString (std::string strContents, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
EXPORT std::string opentxs::OTDB::QueryPlainString (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
EXPORT bool opentxs::OTDB::StoreObject (Storable &theContents, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
EXPORT Storable * opentxs::OTDB::QueryObject (StoredObjectType theObjectType, std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
EXPORT std::string opentxs::OTDB::EncodeObject (Storable &theContents)
 
EXPORT Storable * opentxs::OTDB::DecodeObject (StoredObjectType theObjectType, std::string strInput)
 
EXPORT bool opentxs::OTDB::EraseValueByKey (std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
 
 opentxs::OTDB::IMPLEMENT_GET_ADD_REMOVE (WalletData::, BitcoinServer) IMPLEMENT_GET_ADD_REMOVE(WalletData
 

Variables

InitOTDBDetails opentxs::OTDB::theOTDBConstructor
 

Macro Definition Documentation

#define IMPLEMENT_GET_ADD_REMOVE (   scope,
  name 
)

Definition at line 1025 of file OTStorage.cpp.