/*********************************************************************************** ************************************************************************************ * NewPart12.hpp * * * * Purpose : Header for Class PartType. * * * * Written By : Dr. Thomas E. Hicks Hardware : IBM * * Date : 9/5/97 Compiler : Visual C++ (5.0) * * * ************************************************************************************ ***********************************************************************************/ #ifndef PARTTYPE //================================================================ #define PARTTYPE # include # include #define PARTTYPE_DIAGNOSTICS_LEVEL 2 class PartType { public: PartType(void); PartType(char NewName[],long int NewNo); PartType(long int NewNo, char NewName[]); PartType(char NewName[]); PartType(long int NewNo); ~PartType(void); void Print(char Message []); void Set(char NewName[],long int NewNo); void Set(long int NewNo, char NewName[]); void Set(char NewName[]); void Set(long int NewNo); void Set(void); private: char Name[26]; long int No; }; // Note that TestPart is not a class member function! void TestPart(void); #endif// PARTTYPE ================================================================