Open-Transactions
0.93.0-ge03d287
|
#include <OTAgent.hpp>
Public Member Functions | |
OTAgent () | |
OTAgent (std::string str_agent_name, OTPseudonym &theNym, bool bNymRepresentsSelf=true) | |
OTAgent (bool bNymRepresentsSelf, bool bIsAnIndividual, const OTString &strName, const OTString &strNymID, const OTString &strRoleID, const OTString &strGroupName) | |
virtual | ~OTAgent () |
void | Serialize (OTString &strAppend) const |
void | ClearTemporaryPointers () |
bool | VerifyIssuedNumber (const int64_t &lNumber, const OTString &strServerID) |
bool | VerifyTransactionNumber (const int64_t &lNumber, const OTString &strServerID) |
bool | RemoveIssuedNumber (const int64_t &lNumber, const OTString &strServerID, bool bSave=false, OTPseudonym *pSignerNym=nullptr) |
bool | RemoveTransactionNumber (const int64_t &lNumber, const OTString &strServerID, OTPseudonym &SIGNER_NYM, bool bSave=true) |
bool | HarvestTransactionNumber (const int64_t &lNumber, const OTString &strServerID, bool bSave=false, OTPseudonym *pSignerNym=nullptr) |
bool | ReserveOpeningTransNum (const OTString &strServerID) |
bool | ReserveClosingTransNum (const OTString &strServerID, OTPartyAccount &thePartyAcct) |
EXPORT bool | SignContract (OTContract &theInput) const |
bool | VerifyAgencyOfAccount (const OTAccount &theAccount) const |
bool | VerifySignature (const OTContract &theContract) const |
void | SetParty (OTParty &theOwnerParty) |
void | SetNymPointer (OTPseudonym &theNym) |
EXPORT bool | IsValidSigner (OTPseudonym &theNym) |
EXPORT bool | IsValidSignerID (const OTIdentifier &theNymID) |
bool | IsAuthorizingAgentForParty () |
int32_t | GetCountAuthorizedAccts () |
bool | DoesRepresentHimself () const |
bool | DoesRepresentAnEntity () const |
EXPORT bool | IsAnIndividual () const |
bool | IsAGroup () const |
EXPORT bool | GetNymID (OTIdentifier &theOutput) const |
bool | GetRoleID (OTIdentifier &theOutput) const |
bool | GetSignerID (OTIdentifier &theOutput) const |
bool | GetEntityID (OTIdentifier &theOutput) const |
EXPORT const OTString & | GetName () |
bool | GetGroupName (OTString &strGroupName) |
bool | GetPartyID (OTIdentifier &theOutput) const |
OTParty * | GetParty () const |
void | RetrieveNymPointer (mapOfNyms &map_Nyms_Already_Loaded) |
OTPseudonym * | LoadNym (OTPseudonym &theServerNym) |
bool | DropFinalReceiptToNymbox (OTSmartContract &theSmartContract, const int64_t &lNewTransactionNumber, const OTString &strOrigCronItem, OTString *pstrNote=nullptr, OTString *pstrAttachment=nullptr, OTPseudonym *pActualNym=nullptr) |
bool | DropFinalReceiptToInbox (mapOfNyms *pNymMap, const OTString &strServerID, OTPseudonym &theServerNym, OTSmartContract &theSmartContract, const OTIdentifier &theAccountID, const int64_t &lNewTransactionNumber, const int64_t &lClosingNumber, const OTString &strOrigCronItem, OTString *pstrNote=nullptr, OTString *pstrAttachment=nullptr) |
bool | DropServerNoticeToNymbox (bool bSuccessMsg, OTPseudonym &theServerNym, const OTIdentifier &theServerID, const int64_t &lNewTransactionNumber, const int64_t &lInReferenceTo, const OTString &strReference, OTString *pstrNote=nullptr, OTString *pstrAttachment=nullptr, OTPseudonym *pActualNym=nullptr) |
Definition at line 164 of file OTAgent.hpp.
opentxs::OTAgent::OTAgent | ( | ) |
Definition at line 266 of file OTAgent.cpp.
opentxs::OTAgent::OTAgent | ( | std::string | str_agent_name, |
OTPseudonym & | theNym, | ||
bool | bNymRepresentsSelf = true |
||
) |
Definition at line 288 of file OTAgent.cpp.
opentxs::OTAgent::OTAgent | ( | bool | bNymRepresentsSelf, |
bool | bIsAnIndividual, | ||
const OTString & | strName, | ||
const OTString & | strNymID, | ||
const OTString & | strRoleID, | ||
const OTString & | strGroupName | ||
) |
Definition at line 274 of file OTAgent.cpp.
|
virtual |
Definition at line 351 of file OTAgent.cpp.
|
inline |
Definition at line 231 of file OTAgent.hpp.
bool opentxs::OTAgent::DoesRepresentAnEntity | ( | ) | const |
Definition at line 375 of file OTAgent.cpp.
bool opentxs::OTAgent::DoesRepresentHimself | ( | ) | const |
Definition at line 365 of file OTAgent.cpp.
bool opentxs::OTAgent::DropFinalReceiptToInbox | ( | mapOfNyms * | pNymMap, |
const OTString & | strServerID, | ||
OTPseudonym & | theServerNym, | ||
OTSmartContract & | theSmartContract, | ||
const OTIdentifier & | theAccountID, | ||
const int64_t & | lNewTransactionNumber, | ||
const int64_t & | lClosingNumber, | ||
const OTString & | strOrigCronItem, | ||
OTString * | pstrNote = nullptr , |
||
OTString * | pstrAttachment = nullptr |
||
) |
Definition at line 717 of file OTAgent.cpp.
bool opentxs::OTAgent::DropFinalReceiptToNymbox | ( | OTSmartContract & | theSmartContract, |
const int64_t & | lNewTransactionNumber, | ||
const OTString & | strOrigCronItem, | ||
OTString * | pstrNote = nullptr , |
||
OTString * | pstrAttachment = nullptr , |
||
OTPseudonym * | pActualNym = nullptr |
||
) |
Definition at line 810 of file OTAgent.cpp.
bool opentxs::OTAgent::DropServerNoticeToNymbox | ( | bool | bSuccessMsg, |
OTPseudonym & | theServerNym, | ||
const OTIdentifier & | theServerID, | ||
const int64_t & | lNewTransactionNumber, | ||
const int64_t & | lInReferenceTo, | ||
const OTString & | strReference, | ||
OTString * | pstrNote = nullptr , |
||
OTString * | pstrAttachment = nullptr , |
||
OTPseudonym * | pActualNym = nullptr |
||
) |
Definition at line 842 of file OTAgent.cpp.
int32_t opentxs::OTAgent::GetCountAuthorizedAccts | ( | ) |
Definition at line 636 of file OTAgent.cpp.
bool opentxs::OTAgent::GetEntityID | ( | OTIdentifier & | theOutput | ) | const |
Definition at line 601 of file OTAgent.cpp.
bool opentxs::OTAgent::GetGroupName | ( | OTString & | strGroupName | ) |
Definition at line 650 of file OTAgent.cpp.
|
inline |
Definition at line 388 of file OTAgent.hpp.
bool opentxs::OTAgent::GetNymID | ( | OTIdentifier & | theOutput | ) | const |
Definition at line 473 of file OTAgent.cpp.
|
inline |
Definition at line 414 of file OTAgent.hpp.
bool opentxs::OTAgent::GetPartyID | ( | OTIdentifier & | theOutput | ) | const |
Definition at line 663 of file OTAgent.cpp.
bool opentxs::OTAgent::GetRoleID | ( | OTIdentifier & | theOutput | ) | const |
Definition at line 488 of file OTAgent.cpp.
bool opentxs::OTAgent::GetSignerID | ( | OTIdentifier & | theOutput | ) | const |
Definition at line 514 of file OTAgent.cpp.
bool opentxs::OTAgent::HarvestTransactionNumber | ( | const int64_t & | lNumber, |
const OTString & | strServerID, | ||
bool | bSave = false , |
||
OTPseudonym * | pSignerNym = nullptr |
||
) |
Definition at line 933 of file OTAgent.cpp.
bool opentxs::OTAgent::IsAGroup | ( | ) | const |
Definition at line 399 of file OTAgent.cpp.
bool opentxs::OTAgent::IsAnIndividual | ( | ) | const |
Definition at line 390 of file OTAgent.cpp.
bool opentxs::OTAgent::IsAuthorizingAgentForParty | ( | ) |
Definition at line 623 of file OTAgent.cpp.
bool opentxs::OTAgent::IsValidSigner | ( | OTPseudonym & | theNym | ) |
Definition at line 553 of file OTAgent.cpp.
bool opentxs::OTAgent::IsValidSignerID | ( | const OTIdentifier & | theNymID | ) |
Definition at line 537 of file OTAgent.cpp.
OTPseudonym * opentxs::OTAgent::LoadNym | ( | OTPseudonym & | theServerNym | ) |
Definition at line 224 of file OTAgent.cpp.
bool opentxs::OTAgent::RemoveIssuedNumber | ( | const int64_t & | lNumber, |
const OTString & | strServerID, | ||
bool | bSave = false , |
||
OTPseudonym * | pSignerNym = nullptr |
||
) |
Definition at line 1051 of file OTAgent.cpp.
bool opentxs::OTAgent::RemoveTransactionNumber | ( | const int64_t & | lNumber, |
const OTString & | strServerID, | ||
OTPseudonym & | SIGNER_NYM, | ||
bool | bSave = true |
||
) |
Definition at line 1006 of file OTAgent.cpp.
bool opentxs::OTAgent::ReserveClosingTransNum | ( | const OTString & | strServerID, |
OTPartyAccount & | thePartyAcct | ||
) |
Definition at line 1102 of file OTAgent.cpp.
bool opentxs::OTAgent::ReserveOpeningTransNum | ( | const OTString & | strServerID | ) |
Definition at line 1155 of file OTAgent.cpp.
void opentxs::OTAgent::RetrieveNymPointer | ( | mapOfNyms & | map_Nyms_Already_Loaded | ) |
Definition at line 670 of file OTAgent.cpp.
void opentxs::OTAgent::Serialize | ( | OTString & | strAppend | ) | const |
Definition at line 1211 of file OTAgent.cpp.
|
inline |
Definition at line 277 of file OTAgent.hpp.
void opentxs::OTAgent::SetParty | ( | OTParty & | theOwnerParty | ) |
Definition at line 314 of file OTAgent.cpp.
bool opentxs::OTAgent::SignContract | ( | OTContract & | theInput | ) | const |
Definition at line 875 of file OTAgent.cpp.
bool opentxs::OTAgent::VerifyAgencyOfAccount | ( | const OTAccount & | theAccount | ) | const |
Definition at line 699 of file OTAgent.cpp.
bool opentxs::OTAgent::VerifyIssuedNumber | ( | const int64_t & | lNumber, |
const OTString & | strServerID | ||
) |
Definition at line 892 of file OTAgent.cpp.
bool opentxs::OTAgent::VerifySignature | ( | const OTContract & | theContract | ) | const |
Definition at line 159 of file OTAgent.cpp.
bool opentxs::OTAgent::VerifyTransactionNumber | ( | const int64_t & | lNumber, |
const OTString & | strServerID | ||
) |
Definition at line 911 of file OTAgent.cpp.