#ifndef _DBStruct_H_ #define _DBStruct_H_ // INCLUDES #include #include #include #include // NAME: DBStruct.H // TYPE: C++ CLASS // DESCRIPTION: Interface for the DBStruct class // EXAMPLES: // BUGS: // SEE ALSO: //--------------------------------------------------------------------------- class DBStruct { public: // LIFECYCLE DBStruct(); // default constructor DBStruct( char* ,char* ,char* ,char* ,char* ,char* ,char* ,char* ); // DBStruct(const DBStruct&); // copy constructor // ~DBStruct(); // destructor // OPERATORS // DBStruct& operator=( const DBStruct&); // assignment operator // OPERATIONS // ACCESS // INQUIRY friend inline bool operator < ( const DBStruct&, const DBStruct& ); friend inline bool operator == ( const DBStruct&, const DBStruct& ); friend ostream& operator << ( ostream& , const DBStruct& ); friend istream& operator >> ( istream& , const DBStruct& ); char coName[100]; char contact[50]; char department[30]; char address[100]; char city[30]; char post[13]; char telephone[13]; char memo[256]; TDate called; TDate toCall; }; #endif // _DBStruct_H_