133 #ifndef OPENTXS_CORE_SCRIPT_OTVARIABLE_HPP
134 #define OPENTXS_CORE_SCRIPT_OTVARIABLE_HPP
136 #include "../OTString.hpp"
166 std::string m_str_Value;
169 std::string m_str_ValueBackup;
172 int32_t m_nValueBackup;
214 m_pBylaw = &theBylaw;
216 bool SetValue(
const int32_t& nValue);
218 bool SetValue(
const std::string& str_Value);
275 EXPORT
OTVariable(std::string str_Name, int32_t nValue,
277 EXPORT
OTVariable(std::string str_Name,
bool bValue,
279 EXPORT
OTVariable(std::string str_Name, std::string str_Value,
288 #endif // OPENTXS_CORE_SCRIPT_OTVARIABLE_HPP
std::string CopyValueString() const
OTVariable_Type GetType() const
EXPORT void RegisterForExecution(OTScript &theScript)
void SetBylaw(OTBylaw &theBylaw)
bool CopyValueBool() const
EXPORT void UnregisterScript()
EXPORT const OTString & GetName() const
bool SetValue(const int32_t &nValue)
void Serialize(OTString &strAppend, bool bCalculatingID=false) const
OTVariable_Access GetAccess() const
virtual EXPORT ~OTVariable()
std::string & GetValueString()
int32_t & GetValueInteger()
bool IsPersistent() const
bool Compare(OTVariable &rhs)
int32_t CopyValueInteger() const