Open-Transactions
0.93.0-ge03d287
|
#include <OTNumList.hpp>
Public Member Functions | |
EXPORT | OTNumList (const std::set< int64_t > &theNumbers) |
EXPORT | OTNumList (const OTString &strNumbers) |
EXPORT | OTNumList (const std::string &strNumbers) |
EXPORT | OTNumList (int64_t lInput) |
EXPORT | OTNumList () |
EXPORT | ~OTNumList () |
EXPORT bool | Add (const OTString &strNumbers) |
EXPORT bool | Add (const std::string &strNumbers) |
EXPORT bool | Add (const int64_t &theValue) |
EXPORT bool | Remove (const int64_t &theValue) |
EXPORT bool | Verify (const int64_t &theValue) const |
EXPORT bool | Add (const OTNumList &theNumList) |
EXPORT bool | Add (const std::set< int64_t > &theNumbers) |
EXPORT bool | Remove (const std::set< int64_t > &theNumbers) |
EXPORT bool | Verify (const std::set< int64_t > &theNumbers) const |
EXPORT bool | Verify (const OTNumList &rhs) const |
EXPORT bool | VerifyAny (const OTNumList &rhs) const |
EXPORT bool | VerifyAny (const std::set< int64_t > &setData) const |
EXPORT int32_t | Count () const |
EXPORT bool | Peek (int64_t &lPeek) const |
EXPORT bool | Pop () |
EXPORT bool | Output (std::set< int64_t > &theOutput) const |
EXPORT bool | Output (OTString &strOutput) const |
EXPORT void | Release () |
Definition at line 156 of file OTNumList.hpp.
opentxs::OTNumList::OTNumList | ( | const std::set< int64_t > & | theNumbers | ) |
Definition at line 148 of file OTNumList.cpp.
opentxs::OTNumList::OTNumList | ( | const OTString & | strNumbers | ) |
Definition at line 164 of file OTNumList.cpp.
opentxs::OTNumList::OTNumList | ( | const std::string & | strNumbers | ) |
Definition at line 169 of file OTNumList.cpp.
opentxs::OTNumList::OTNumList | ( | int64_t | lInput | ) |
Definition at line 153 of file OTNumList.cpp.
opentxs::OTNumList::OTNumList | ( | ) |
Definition at line 174 of file OTNumList.cpp.
opentxs::OTNumList::~OTNumList | ( | ) |
Definition at line 178 of file OTNumList.cpp.
bool opentxs::OTNumList::Add | ( | const OTString & | strNumbers | ) |
Definition at line 182 of file OTNumList.cpp.
bool opentxs::OTNumList::Add | ( | const std::string & | strNumbers | ) |
Definition at line 189 of file OTNumList.cpp.
bool opentxs::OTNumList::Add | ( | const int64_t & | theValue | ) |
Definition at line 272 of file OTNumList.cpp.
bool opentxs::OTNumList::Add | ( | const OTNumList & | theNumList | ) |
Definition at line 386 of file OTNumList.cpp.
bool opentxs::OTNumList::Add | ( | const std::set< int64_t > & | theNumbers | ) |
Definition at line 396 of file OTNumList.cpp.
int32_t opentxs::OTNumList::Count | ( | ) | const |
Definition at line 460 of file OTNumList.cpp.
bool opentxs::OTNumList::Output | ( | std::set< int64_t > & | theOutput | ) | const |
Definition at line 430 of file OTNumList.cpp.
bool opentxs::OTNumList::Output | ( | OTString & | strOutput | ) | const |
Definition at line 441 of file OTNumList.cpp.
bool opentxs::OTNumList::Peek | ( | int64_t & | lPeek | ) | const |
Definition at line 285 of file OTNumList.cpp.
bool opentxs::OTNumList::Pop | ( | ) |
Definition at line 297 of file OTNumList.cpp.
void opentxs::OTNumList::Release | ( | ) |
Definition at line 465 of file OTNumList.cpp.
bool opentxs::OTNumList::Remove | ( | const int64_t & | theValue | ) |
Definition at line 309 of file OTNumList.cpp.
bool opentxs::OTNumList::Remove | ( | const std::set< int64_t > & | theNumbers | ) |
Definition at line 411 of file OTNumList.cpp.
bool opentxs::OTNumList::Verify | ( | const int64_t & | theValue | ) | const |
Definition at line 322 of file OTNumList.cpp.
bool opentxs::OTNumList::Verify | ( | const std::set< int64_t > & | theNumbers | ) | const |
Definition at line 335 of file OTNumList.cpp.
bool opentxs::OTNumList::Verify | ( | const OTNumList & | rhs | ) | const |
True/False, based on whether OTNumLists MATCH in COUNT and CONTENT (NOT ORDER.)
Definition at line 350 of file OTNumList.cpp.
bool opentxs::OTNumList::VerifyAny | ( | const OTNumList & | rhs | ) | const |
True/False, based on whether ANY of the numbers in rhs are found in *this.
Definition at line 367 of file OTNumList.cpp.
bool opentxs::OTNumList::VerifyAny | ( | const std::set< int64_t > & | setData | ) | const |
Verify whether ANY of the numbers on *this are found in setData.
Definition at line 374 of file OTNumList.cpp.