/*
 * Note to CS70 students: this is an incomplete source file.  You must
 * complete it as you feel appropriate.  Search for "ADD STUFF" to
 * find places you *MAY* need to change.
 *
 * Note that many comments are missing.  We have not provided "ADD
 * STUFF" hints for missing comments.
 */

/*
 * Name: Geoff Kuenning
 * Course: CS 70, Spring 2001
 * Assignment #3
 */

#include "course.hh"
#include "registrar.hh" 
#include "student.hh"
#include <iostream.h>
#include <string>
#include <string.h>

/* 
 * Table of Contents: the following routines are defined in this file:
 *
 *			Registrar_DB::Registrar_DB(int maxStudents_,
 *			  int maxCourses_);
 *			Registrar_DB::~Registrar_DB();
 * bool			Registrar_DB::canAcceptStudents() const;
 *					// True if room for more students
 * bool			Registrar_DB::canAcceptCourses() const;
 *					// True if room for more courses
 * bool			Registrar_DB::newStudent(const string& firstName,
 *			  const string& lastName, const string& hairColor);
 *					// Add a new student to DB
 * bool			Registrar_DB::newCourse(const string& department,
 *			  int courseNumber, const string& meetingTime,
 *			  int maxEnrollment);
 *					// Add a new course to DB
 * Student*		Registrar_DB::findStudentByName(
 *			  const string& firstName, const string& lastName)
 *			    const;
 *					// Given a student name, find him/her
 * Course*		Registrar_DB::findCourseByName(
 *			  const string& department, int courseNumber)
 *			    const;
 *					// Given a course name, find it
 * void			Registrar_DB::showStudents(ostream& stream);
 *					// Display all students
 * void			Registrar_DB::showCourses(ostream& stream);
 *					// Display all courses
 */

Registrar_DB::Registrar_DB(
    int			maxStudents_,
    int			maxCourses_)
    // ADD STUFF
    {
    // ADD STUFF
    }

Registrar_DB::~Registrar_DB()
    {
    // ADD STUFF
    }

bool Registrar_DB::canAcceptStudents()	// True if room for more students
    const
    {
    // ADD STUFF
    }

bool Registrar_DB::canAcceptCourses()	// True if room for more courses
    const
    {
    // ADD STUFF
    }

bool Registrar_DB::newStudent(
    const string&	firstName,
    const string&	lastName,
    const string&	hairColor)
    {
    // ADD STUFF
    }

bool Registrar_DB::newCourse(
    const string&	department,
    int			courseNumber,
    const string&	meetingTime,
    int			maxEnrollment)
    {
    // ADD STUFF
    }

Student* Registrar_DB::findStudentByName(
    const string&	firstName,
    const string&	lastName)
    const
    {
    // ADD STUFF
    }

Course* Registrar_DB::findCourseByName(
    const string&	department,
    int			courseNumber)
    const
    {
    // ADD STUFF
    }

void Registrar_DB::showStudents(	// Display all students
    ostream&		stream)
    {
    // ADD STUFF
    }

void Registrar_DB::showCourses(		// Display all courses
    ostream&		stream)
    {
    // ADD STUFF
    }

