Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

ContactInfo Class Reference

#include <evauserinfo.h>

List of all members.

Public Types

enum  Info_Index {
  Info_qqID, Info_nick, Info_country, Info_province,
  Info_zipcode, Info_address, Info_telephone, Info_age,
  Info_gender, Info_name, Info_email, Info_pagerSn,
  Info_pagerNum, Info_pagerSp, Info_pagerBaseNum, Info_pagerType,
  Info_occupation, Info_homepage, Info_authType, Info_unknown1,
  Info_unknown2, Info_face, Info_mobile, Info_mobileType,
  Info_intro, Info_city, Info_unknown3, Info_unknown4,
  Info_unknown5, Info_openHp, Info_openContact, Info_college,
  Info_horoscope, Info_zodiac, Info_blood, Info_qqShow,
  Info_unknown6
}

Public Member Functions

 ContactInfo ()
 ContactInfo (const unsigned char *buf, const int len)
 ContactInfo (const ContactInfo &rhs)
 ~ContactInfo ()
void parseData (const unsigned char *buf, const int len)
const std::string & at (const Info_Index index) const
const std::string & at (const int index) const
const stringListdetails () const
const uint count () const
void setDetails (const stringList &strList)
bool operator== (const ContactInfo &rhs) const
ContactInfooperator= (const ContactInfo &rhs)

Private Attributes

stringList infos

Static Private Attributes

static const unsigned char DIVIDER = 0x1e


Detailed Description

Definition at line 29 of file evauserinfo.h.


Member Enumeration Documentation

enum ContactInfo::Info_Index
 

Enumerator:
Info_qqID 
Info_nick 
Info_country 
Info_province 
Info_zipcode 
Info_address 
Info_telephone 
Info_age 
Info_gender 
Info_name 
Info_email 
Info_pagerSn 
Info_pagerNum 
Info_pagerSp 
Info_pagerBaseNum 
Info_pagerType 
Info_occupation 
Info_homepage 
Info_authType 
Info_unknown1 
Info_unknown2 
Info_face 
Info_mobile 
Info_mobileType 
Info_intro 
Info_city 
Info_unknown3 
Info_unknown4 
Info_unknown5 
Info_openHp 
Info_openContact 
Info_college 
Info_horoscope 
Info_zodiac 
Info_blood 
Info_qqShow 
Info_unknown6 

Definition at line 38 of file evauserinfo.h.


Constructor & Destructor Documentation

ContactInfo::ContactInfo  ) 
 

Definition at line 25 of file evauserinfo.cpp.

References infos, and QQ_CONTACT_FIELDS.

ContactInfo::ContactInfo const unsigned char *  buf,
const int  len
 

Definition at line 32 of file evauserinfo.cpp.

References parseData().

Here is the call graph for this function:

ContactInfo::ContactInfo const ContactInfo rhs  ) 
 

Definition at line 37 of file evauserinfo.cpp.

References details(), and infos.

Here is the call graph for this function:

ContactInfo::~ContactInfo  )  [inline]
 

Definition at line 34 of file evauserinfo.h.


Member Function Documentation

const std::string& ContactInfo::at const int  index  )  const [inline]
 

Definition at line 48 of file evauserinfo.h.

References infos.

const std::string& ContactInfo::at const Info_Index  index  )  const [inline]
 

Definition at line 47 of file evauserinfo.h.

References infos.

Referenced by ModifyInfoPacket::putBody(), and QQFriend::setUserInformation().

const uint ContactInfo::count  )  const [inline]
 

Definition at line 50 of file evauserinfo.h.

References infos.

Referenced by QQFriend::setUserInformation().

const stringList& ContactInfo::details  )  const [inline]
 

Definition at line 49 of file evauserinfo.h.

References infos.

Referenced by ContactInfo(), operator=(), operator==(), and GetUserInfoReplyPacket::parseBody().

ContactInfo & ContactInfo::operator= const ContactInfo rhs  ) 
 

Definition at line 70 of file evauserinfo.cpp.

References details(), and infos.

Here is the call graph for this function:

bool ContactInfo::operator== const ContactInfo rhs  )  const
 

Definition at line 64 of file evauserinfo.cpp.

References details(), and infos.

Here is the call graph for this function:

void ContactInfo::parseData const unsigned char *  buf,
const int  len
 

Definition at line 42 of file evauserinfo.cpp.

References DIVIDER, infos, and QQ_CONTACT_FIELDS.

Referenced by ContactInfo(), and GetUserInfoReplyPacket::parseBody().

void ContactInfo::setDetails const stringList strList  )  [inline]
 

Definition at line 52 of file evauserinfo.h.

References infos.


Member Data Documentation

const unsigned char ContactInfo::DIVIDER = 0x1e [static, private]
 

Definition at line 57 of file evauserinfo.h.

Referenced by parseData().

stringList ContactInfo::infos [private]
 

Definition at line 56 of file evauserinfo.h.

Referenced by at(), ContactInfo(), count(), details(), operator=(), operator==(), parseData(), and setDetails().


The documentation for this class was generated from the following files:
Generated on Mon May 15 20:49:40 2006 for libeva by  doxygen 1.4.4