// Note: Instrumentation statements are highlighted in green


#include <iostream>
#include <vobject.hpp>

using namespace visibility;

// BusinessInfo class

class BusinessInfo : public VObject   // Add VObject to the inheritance chain
  DECLARE_VISIBILITY(BusinessInfo)      // Instrumentation statement

public: // data
  std::string company;
  std::string street;
  std::string city;
  std::string state;
  std::string zipCode;
  std::string country;
  std::string jobTitle;
  std::string department;
  std::string office;
  std::string phone;
  std::string fax;
  std::string pager;
  std::string ipPhone;
  std::string webPage;

public: // functions
  BusinessInfo(const BusinessInfo & that);
  virtual ~BusinessInfo(void);
  BusinessInfo & operator =(const BusinessInfo & that);
  void clear(void);
  virtual void populateEditView(void);
  friend std::ostream & operator<< (std::ostream & os, BusinessInfo & obj);
  friend std::istream & operator>> (std::istream & is, BusinessInfo & obj);
DECLARE_VISIBILITY_CREATOR(BusinessInfo)      // Instrumentation statement

Copyright 2002-2007 Outerface Technologies, Inc.