Open-Transactions  0.93.0-ge03d287
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
opentxs::OTSignature Class Reference

#include <OTSignature.hpp>

Inheritance diagram for opentxs::OTSignature:
Collaboration diagram for opentxs::OTSignature:

Public Member Functions

 OTSignature ()
 
virtual ~OTSignature ()
 
 OTSignature (const OTString &value)
 
 OTSignature (const OTASCIIArmor &value)
 
 OTSignature (const char *value)
 
OTSignatureMetadatagetMetaData ()
 
const OTSignatureMetadatagetMetaData () const
 
- Public Member Functions inherited from opentxs::OTASCIIArmor
EXPORT OTASCIIArmor ()
 
EXPORT OTASCIIArmor (const char *szValue)
 
EXPORT OTASCIIArmor (const OTData &theValue)
 
EXPORT OTASCIIArmor (const OTPayload &theValue)
 
EXPORT OTASCIIArmor (const OTString &strValue)
 
EXPORT OTASCIIArmor (const OTASCIIArmor &strValue)
 
EXPORT OTASCIIArmor (const OTEnvelope &theEnvelope)
 
virtual EXPORT ~OTASCIIArmor ()
 
EXPORT OTASCIIArmoroperator= (const char *szValue)
 
EXPORT OTASCIIArmoroperator= (const OTData &theValue)
 
EXPORT OTASCIIArmoroperator= (const OTString &strValue)
 
EXPORT OTASCIIArmoroperator= (const OTASCIIArmor &strValue)
 
EXPORT bool LoadFromFile (const OTString &foldername, const OTString &filename)
 
EXPORT bool LoadFrom_ifstream (std::ifstream &fin)
 
EXPORT bool SaveTo_ofstream (std::ofstream &fout)
 
EXPORT bool LoadFromExactPath (const std::string &filename)
 
EXPORT bool SaveToExactPath (const std::string &filename)
 
EXPORT bool LoadFromString (OTString &theStr, bool bEscaped=false, const std::string str_override="-----BEGIN")
 
EXPORT bool WriteArmoredString (OTString &strOutput, const std::string str_type, bool bEscaped=false) const
 
EXPORT bool WriteArmoredFile (const OTString &foldername, const OTString &filename, const std::string str_type, bool bEscaped=false) const
 
EXPORT bool GetData (OTData &theData, bool bLineBreaks=true) const
 
EXPORT bool GetAndUnpackData (OTData &theData, bool bLineBreaks=true) const
 
EXPORT bool SetData (const OTData &theData, bool bLineBreaks=true)
 
EXPORT bool SetAndPackData (const OTData &theData, bool bLineBreaks=true)
 
EXPORT bool GetString (OTString &theData, bool bLineBreaks=true) const
 
EXPORT bool GetAndUnpackString (OTString &theData, bool bLineBreaks=true) const
 
EXPORT bool SetString (const OTString &theData, bool bLineBreaks=true)
 
EXPORT bool SetAndPackString (const OTString &theData, bool bLineBreaks=true)
 
EXPORT bool GetStringMap (std::map< std::string, std::string > &the_map, bool bLineBreaks=true) const
 
EXPORT bool GetAndUnpackStringMap (std::map< std::string, std::string > &the_map, bool bLineBreaks=true) const
 
EXPORT bool SetStringMap (const std::map< std::string, std::string > &the_map, bool bLineBreaks=true)
 
EXPORT bool SetAndPackStringMap (const std::map< std::string, std::string > &the_map, bool bLineBreaks=true)
 
- Public Member Functions inherited from opentxs::OTString
EXPORT OTString ()
 
EXPORT OTString (const OTString &value)
 
EXPORT OTString (const OTASCIIArmor &value)
 
 OTString (const OTSignature &value)
 
EXPORT OTString (const OTContract &value)
 
EXPORT OTString (const OTIdentifier &value)
 
 OTString (OTPseudonym &value)
 
EXPORT OTString (const char *value)
 
 OTString (const char *value, size_t size)
 
EXPORT OTString (const std::string &value)
 
virtual EXPORT ~OTString ()
 
virtual EXPORT void Release ()
 
void Initialize ()
 
EXPORT OTStringoperator= (OTString rhs)
 
void swap (OTString &rhs)
 
bool operator> (const OTString &rhs) const
 
bool operator< (const OTString &rhs) const
 
bool operator<= (const OTString &rhs) const
 
bool operator>= (const OTString &rhs) const
 
EXPORT bool operator== (const OTString &rhs) const
 
EXPORT int64_t ToLong () const
 
EXPORT uint64_t ToUlong () const
 
EXPORT bool At (uint32_t index, char &c) const
 
EXPORT bool Exists () const
 
EXPORT bool DecodeIfArmored (bool escapedIsAllowed=true)
 
EXPORT uint32_t GetLength () const
 
EXPORT bool Compare (const char *compare) const
 
EXPORT bool Compare (const OTString &compare) const
 
EXPORT bool Contains (const char *compare) const
 
bool Contains (const OTString &compare) const
 
EXPORT const char * Get () const
 
EXPORT void Set (const char *data, uint32_t enforcedMaxLength=0)
 
EXPORT void Set (const OTString &data)
 
EXPORT bool MemSet (const char *mem, uint32_t size)
 
EXPORT void Concatenate (const char *arg,...)
 
void Concatenate (const OTString &data)
 
void Truncate (uint32_t index)
 
EXPORT void Format (const char *fmt,...)
 
void ConvertToLowerCase () const
 
void ConvertToUpperCase () const
 
EXPORT bool TokenizeIntoKeyValuePairs (Map &map) const
 
EXPORT void OTfgets (std::istream &ofs)
 
bool sgets (char *buffer, uint32_t size)
 
char sgetc ()
 
void sungetc ()
 
void reset ()
 
void WriteToFile (std::ostream &ofs) const
 
void Release_String ()
 
EXPORT void zeroMemory () const
 

Additional Inherited Members

- Public Types inherited from opentxs::OTString
typedef std::list< std::string > List
 
typedef std::map< std::string,
std::string > 
Map
 
- Static Public Member Functions inherited from opentxs::OTASCIIArmor
static OTDB::OTPackerGetPacker ()
 
static EXPORT bool LoadFromString (OTASCIIArmor &ascArmor, const OTString &strInput, std::string str_bookend="-----BEGIN")
 
- Static Public Member Functions inherited from opentxs::OTString
static bool vformat (const char *fmt, std::va_list *pvl, std::string &s)
 
static EXPORT std::string & trim (std::string &str)
 
static EXPORT std::string replace_chars (const std::string &str, const std::string &charsFrom, const char &charTo)
 
static EXPORT bool safe_strcpy (char *dest, const char *src, size_t destSize, bool zeroSource=false)
 
static size_t safe_strlen (const char *s, size_t max)
 
static EXPORT int64_t StringToLong (const std::string &number)
 
static EXPORT uint64_t StringToUlong (const std::string &number)
 
- Protected Attributes inherited from opentxs::OTString
uint32_t length_
 
uint32_t position_
 
char * data_
 

Detailed Description

Definition at line 144 of file OTSignature.hpp.

Constructor & Destructor Documentation

opentxs::OTSignature::OTSignature ( )
inline

Definition at line 147 of file OTSignature.hpp.

148  : OTASCIIArmor()
149  {
150  }
virtual opentxs::OTSignature::~OTSignature ( )
inlinevirtual

Definition at line 152 of file OTSignature.hpp.

153  {
154  }
opentxs::OTSignature::OTSignature ( const OTString value)
inline

Definition at line 156 of file OTSignature.hpp.

157  : OTASCIIArmor(value)
158  {
159  }
opentxs::OTSignature::OTSignature ( const OTASCIIArmor value)
inline

Definition at line 161 of file OTSignature.hpp.

162  : OTASCIIArmor(value)
163  {
164  }
opentxs::OTSignature::OTSignature ( const char *  value)
inline

Definition at line 166 of file OTSignature.hpp.

167  : OTASCIIArmor(value)
168  {
169  }

Member Function Documentation

OTSignatureMetadata& opentxs::OTSignature::getMetaData ( )
inline

Definition at line 171 of file OTSignature.hpp.

172  {
173  return metadata_;
174  }
const OTSignatureMetadata& opentxs::OTSignature::getMetaData ( ) const
inline

Definition at line 176 of file OTSignature.hpp.

177  {
178  return metadata_;
179  }

The documentation for this class was generated from the following file: