133 #ifndef OPENTXS_CORE_OTNUMLIST_HPP
134 #define OPENTXS_CORE_OTNUMLIST_HPP
143 class OTAsymmetricKey;
144 class OTPasswordData;
158 std::set<int64_t> m_setData;
162 bool Add(
const char* szfNumbers);
166 EXPORT
OTNumList(
const std::set<int64_t>& theNumbers);
170 EXPORT
OTNumList(
const std::string& strNumbers);
174 EXPORT
bool Add(
const OTString& strNumbers);
177 EXPORT
bool Add(
const std::string& strNumbers);
181 EXPORT
bool Add(
const int64_t& theValue);
183 EXPORT
bool Remove(
const int64_t& theValue);
185 EXPORT
bool Verify(
const int64_t& theValue)
const;
188 EXPORT
bool Add(
const OTNumList& theNumList);
191 EXPORT
bool Add(
const std::set<int64_t>& theNumbers);
195 EXPORT
bool Remove(
const std::set<int64_t>& theNumbers);
200 EXPORT
bool Verify(
const std::set<int64_t>& theNumbers)
203 EXPORT
bool Verify(
const OTNumList& rhs)
const;
207 EXPORT
bool VerifyAny(
const OTNumList& rhs)
const;
210 EXPORT
bool VerifyAny(
const std::set<int64_t>& setData)
const;
217 EXPORT int32_t
Count()
const;
218 EXPORT
bool Peek(int64_t& lPeek)
const;
222 EXPORT
bool Output(std::set<int64_t>& theOutput)
const;
235 #endif // OPENTXS_CORE_OTNUMLIST_HPP
EXPORT bool Remove(const int64_t &theValue)
EXPORT bool Peek(int64_t &lPeek) const
EXPORT bool Output(std::set< int64_t > &theOutput) const
EXPORT int32_t Count() const
EXPORT bool VerifyAny(const OTNumList &rhs) const
EXPORT bool Verify(const int64_t &theValue) const