#ifndef NAME_CLASS_
#define NAME_CLASS_
class Name : public Text
	{
	public:
		//Member data
		static const int LAST_NAME_LENGTH  = 16;
		static const int FIRST_NAME_LENGTH = 10;
		static const int FULL_NAME_LENGTH = (LAST_NAME_LENGTH + 
  														 FIRST_NAME_LENGTH);

		typedef char LastName[LAST_NAME_LENGTH +1];
		typedef char FirstName[FIRST_NAME_LENGTH +1];
		typedef char FullName[FULL_NAME_LENGTH+1];
		static const Text CLASS_NAME;
		//Constructor/Destructor
		Name();
		~Name();
		Name(FirstName firstName, LastName lastName);
		//Member functions
		const char *getFirstName() const;
		const char *getLastName() const;
		Comparison compareLastName(const Name *name) const;
	private:
		//Member data
		static const int NAME_SCAN_COUNT = 2;
		Text first,last,full;
	};
#endif
