133 #ifndef OPENTXS_CORE_SCRIPT_OTSCRIPT_HPP
134 #define OPENTXS_CORE_SCRIPT_OTSCRIPT_HPP
141 #pragma warning(push)
142 #pragma warning(disable : 4702) // warning C4702: unreachable code
153 class OTPartyAccount;
194 OTScript(
const char* new_string,
size_t sizeLength);
195 OTScript(
const std::string& new_string);
200 EXPORT
void SetScript(
const char* new_string);
201 EXPORT
void SetScript(
const char* new_string,
size_t sizeLength);
202 EXPORT
void SetScript(
const std::string& new_string);
239 const std::string& script_type =
"");
241 const std::string& script_type,
const std::string& script_contents);
245 #endif // OPENTXS_CORE_SCRIPT_OTSCRIPT_HPP
EXPORT void RemoveVariable(OTVariable &theVar)
std::string m_str_display_filename
std::map< std::string, OTPartyAccount * > mapOfPartyAccounts
std::map< std::string, OTVariable * > mapOfVariables
void AddParty(std::string str_party_name, OTParty &theParty)
mapOfParties m_mapParties
EXPORT OTVariable * FindVariable(std::string str_var_name)
void AddAccount(std::string str_acct_name, OTPartyAccount &theAcct)
EXPORT void SetScript(const OTString &strValue)
void SetDisplayFilename(std::string str_display_filename)
EXPORT void AddVariable(std::string str_var_name, OTVariable &theVar)
mapOfPartyAccounts m_mapAccounts
mapOfVariables m_mapVariables
EXPORT std::shared_ptr< OTScript > OTScriptFactory(const std::string &script_type="")
virtual bool ExecuteScript(OTVariable *pReturnVar=nullptr)
std::map< std::string, OTParty * > mapOfParties