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

#include <OTStorage.hpp>

Inheritance diagram for opentxs::OTDB::Contact:
Collaboration diagram for opentxs::OTDB::Contact:

Public Member Functions

virtual ~Contact ()
 
 DECLARE_GET_ADD_REMOVE (ContactNym)
 
 DECLARE_GET_ADD_REMOVE (ContactAcct)
 
- Public Member Functions inherited from opentxs::OTDB::Displayable
virtual ~Displayable ()
 
- Public Member Functions inherited from opentxs::OTDB::Storable
virtual ~Storable ()
 

Public Attributes

std::string contact_id
 
std::string email
 
std::string memo
 
std::string public_key
 
- Public Attributes inherited from opentxs::OTDB::Displayable
std::string gui_label
 

Protected Member Functions

 Contact ()
 
- Protected Member Functions inherited from opentxs::OTDB::Displayable
 Displayable ()
 
- Protected Member Functions inherited from opentxs::OTDB::Storable
 Storable ()
 

Additional Inherited Members

- Static Public Member Functions inherited from opentxs::OTDB::Storable
static EXPORT StorableCreate (StoredObjectType eType, PackType thePackType)
 
- Protected Attributes inherited from opentxs::OTDB::Storable
std::string m_Type
 

Detailed Description

Definition at line 1752 of file OTStorage.hpp.

Constructor & Destructor Documentation

opentxs::OTDB::Contact::Contact ( )
inlineprotected

Definition at line 1758 of file OTStorage.hpp.

1759  : Displayable()
1760  {
1761  m_Type = "Contact";
1762  }
opentxs::OTDB::Contact::~Contact ( )
virtual

Definition at line 1109 of file OTStorage.cpp.

1110 {
1111  // while (GetContactNymCount() > 0)
1112  // RemoveContactNym(0);
1113  //
1114  // while (GetContactAcctCount() > 0)
1115  // RemoveContactAcct(0);
1116 }

Member Function Documentation

opentxs::OTDB::Contact::DECLARE_GET_ADD_REMOVE ( ContactNym  )
opentxs::OTDB::Contact::DECLARE_GET_ADD_REMOVE ( ContactAcct  )

Member Data Documentation

std::string opentxs::OTDB::Contact::contact_id

Definition at line 1769 of file OTStorage.hpp.

std::string opentxs::OTDB::Contact::email

Definition at line 1770 of file OTStorage.hpp.

std::string opentxs::OTDB::Contact::memo

Definition at line 1771 of file OTStorage.hpp.

std::string opentxs::OTDB::Contact::public_key

Definition at line 1772 of file OTStorage.hpp.


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