libCombine
C++ library for working with the COMBINE Archive format
Loading...
Searching...
No Matches
VCard Class Reference

Public Member Functions

 VCard ()
 VCard. More...
 
 VCard (const VCard &other)
 VCard. More...
 
 VCard (XMLInputStream &stream, const XMLToken &current)
 VCard. More...
 
bool isEmpty () const
 
std::string toXML () const
 
std::string getFamilyName () const
 
void setFamilyName (const std::string &familyName)
 sets the family name More...
 
std::string getGivenName () const
 
void setGivenName (const std::string &givenName)
 sets the first name More...
 
std::string getEmail () const
 
void setEmail (const std::string &email)
 sets the email address More...
 
std::string getOrganization () const
 
void setOrganization (const std::string &organization)
 sets the organization More...
 

Constructor & Destructor Documentation

◆ VCard() [1/3]

VCard::VCard ( )

◆ VCard() [2/3]

VCard::VCard ( const VCard other)

VCard.

Parameters
other

◆ VCard() [3/3]

VCard::VCard ( XMLInputStream &  stream,
const XMLToken &  current 
)

VCard.

Parameters
stream

Member Function Documentation

◆ getEmail()

std::string VCard::getEmail ( ) const
Returns
the email

◆ getFamilyName()

std::string VCard::getFamilyName ( ) const
Returns
the family name

◆ getGivenName()

std::string VCard::getGivenName ( ) const
Returns
the first name

◆ getOrganization()

std::string VCard::getOrganization ( ) const
Returns
the organization

◆ isEmpty()

bool VCard::isEmpty ( ) const
Returns
true if empty(no names specified)

◆ setEmail()

void VCard::setEmail ( const std::string &  email)

sets the email address

Parameters
emailthe email address

◆ setFamilyName()

void VCard::setFamilyName ( const std::string &  familyName)

sets the family name

Parameters
familyNamethe name

◆ setGivenName()

void VCard::setGivenName ( const std::string &  givenName)

sets the first name

Parameters
givenNamethe name

◆ setOrganization()

void VCard::setOrganization ( const std::string &  organization)

sets the organization

Parameters
organizationthe organization

◆ toXML()

std::string VCard::toXML ( ) const
Returns
an xml representation of this class