/*
 * University of Utah
 * 2005 High School Programming Contest
 * Record Matching
 *
 * Filename: record.h
 * 
 * Description: Implements an object for storing individual records.
 *
 * Modification History:
 * 2/21/2005 - Initial Release
 */

#include <string>

using namespace std;

class record {

public:
  // Since nothing in this class is dynamically allocated and since
  // each data member has proper constructors and assignment
  // operators, the default copy constructor and the default
  // assignment operator should be sufficient for this class.
  
  // Constructor
  record(string uid, string fName, string lName, string address,
         string zip, string phone, string email);
  
  // Returns the unique identifier for this record.
  string getUID();

  // A simple comparison function. Returns true if all the fields match
  // when they are lowercased. Returns false otherwise.
  //
  // Parameters:
  // r - Record to compare against.
  bool lowerCaseEquals(record r);

private:
  string uid;    // Unique Identifier
  string fName;     // First Name
  string lName;     // Last Name
  string address;   // Street Address
  string zip;       // Zip Code
  string phone;     // Phone Number
  string email;     // Email Address
};


