// baseballMaster.h  P. Conrad for CISC220, 06J
// Class for Lahman Baseball Database (www.baseball1.com), version 5.3

// See license and copyright statement at bottom of file


#ifndef BASEBALLMASTER_H
#define BASEBALLMASTER_H


#include "date.h"
#include "event.h"

class BaseballMaster_C
{
 public:
  // construct one object from a line in the Master.csv file

  BaseballMaster_C(const char * const inputLine);
  
  void print() const; // print just a few key fields

 private:
  int lahmanID;
  char * playerID;
  char * managerID;
  char * hofID;
  Event_C birth;
  Event_C death;
  char * nameFirst;
  char * nameLast;
  char * nameNote;
  char * nameGiven;
  char * nameNick;
  int weight;
  int height;
  char bats;
  char throws;
  Date_C debut;
  Date_C finalGame;
  char * college;
  char *lahman40ID;
  char *lahman45ID;
  char *retroID;
  char *holtzID;
  char *bbrefID;
  
};

#endif

// COPYRIGHT NOTICE:

// This code corresponds to the data layout of the Lahmann Database,
// which is copyrighted by Sean Lahmann.  The data and formats here
// are used by special permission of Sean Lahmann, granted to Phill 
// Conrad for use in Computer Science courses at the University of 
// Delaware.  You must obtain permission from Sean Lahmann to use this
// data and/or data format for any other purpose.  For more details,
// visit www.baseball1.com

