src/include/common/vocl/vCard/Address.h

00001 
00020 //
00021 // @author Stefano Fornari @ Funambol
00022 // @version $Id: Address.h,v 1.3 2007/03/06 20:51:05 pohly Exp $
00023 //
00024 
00025 #ifndef INCL_PIM_ADDRESS
00026 #define INCL_PIM_ADDRESS
00027 
00029 #include "vCardProperty.h"
00030 
00034 class Address {
00035 
00036     // ------------------------------------------------------------ Private data
00037 
00038     private:
00039         vCardProperty* postOfficeAddress;
00040         vCardProperty* roomNumber;
00041         vCardProperty* street;
00042         vCardProperty* city;
00043         vCardProperty* state;
00044         vCardProperty* postalCode;
00045         vCardProperty* country;
00046         vCardProperty* label;
00047 
00055         void set(vCardProperty** oldProperty, vCardProperty& newProperty);
00056 
00057     // -------------------------------------------- Constructors and Destructors
00058     public:
00062         Address();
00063         ~Address();
00064 
00065     // ---------------------------------------------------------- Public methods
00066 
00072         vCardProperty* getPostOfficeAddress ();
00073 
00078         void setPostOfficeAddress(vCardProperty& p);
00079 
00085         vCardProperty* getRoomNumber () ;
00086 
00091         void setRoomNumber(vCardProperty& p);
00092 
00098         vCardProperty* getStreet () ;
00099 
00104         void setStreet(vCardProperty& p);
00105 
00111         vCardProperty* getCity () ;
00112 
00117         void setCity(vCardProperty& p);
00118 
00124         vCardProperty* getState () ;
00125 
00130         void setState(vCardProperty& p);
00131 
00137         vCardProperty* getPostalCode () ;
00138 
00143         void setPostalCode(vCardProperty& p);
00144 
00150         vCardProperty* getCountry () ;
00151 
00156         void setCountry(vCardProperty& p);
00157 
00163         vCardProperty* getLabel () ;
00164 
00169         void setLabel(vCardProperty& p);
00170 
00176         Address* clone();
00177 
00178 };
00179 
00181 #endif

Generated on Fri Apr 27 12:29:19 2007 for Funambol C++ Client Library by  doxygen 1.5.2