// Note: Instrumentation statements are highlighted in green
#ifndef __RELATIONSHIPINFO_HPP
#define __RELATIONSHIPINFO_HPP
#include <iostream>
#include <vobject.hpp>
using namespace visibility;
///////////////////////////////////////////////////////////////////////////////
// RelationshipInfo class
///////////////////////////////////////////////////////////////////////////////
class RelationshipInfo : public VObject // Add VObject to the inheritance chain
{
DECLARE_VISIBILITY(RelationshipInfo) // Instrumentation statement
public: // data
std::string first;
std::string middle;
std::string last;
std::string nickName;
unsigned short gender;
std::string relationshipType;
time_t birthday;
public: // functions
RelationshipInfo(void);
RelationshipInfo(const RelationshipInfo & that);
virtual ~RelationshipInfo(void);
RelationshipInfo & operator =(const RelationshipInfo & that);
bool operator==(const RelationshipInfo & that) const;
bool operator!=(const RelationshipInfo & that) const;
bool operator<(const RelationshipInfo & that) const;
bool operator>(const RelationshipInfo & that) const;
void clear(void);
virtual void populateEditView(void);
friend std::ostream & operator<< (std::ostream & os, RelationshipInfo & obj);
friend std::istream & operator>> (std::istream & is, RelationshipInfo & obj);
};
DECLARE_VISIBILITY_CREATOR(RelationshipInfo) // Instrumentation statement
#endif // __RELATIONSHIPINFO_HPP
|
| Copyright 2002-2007 Outerface Technologies, Inc. |