Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

listMgr Class Reference

#include <listMgr.h>

Inheritance diagram for listMgr:

Inheritance graph
[legend]
Collaboration diagram for listMgr:

Collaboration graph
[legend]
List of all members.

Public Methods

bool getCourseNum (course &c, int &index)
void setFromUser (bool u)
void clear ()
void setMerge (bool m)
 listMgr ()
virtual ~listMgr ()
void finishMerge ()
void add (course &c)
string ToParse ()
 Calls the update function on person p. More...

string ToFileFmt ()
string ToString ()
void add (int courseNum, int index, student *s)
void add (int courseNum, student *s)
void add (int courseNum, staff *s)
void remove (course &c)
virtual void removep (person *p, int index)=0
virtual void addHeader (string &s)=0
virtual void addTrailer (string &s)=0
int getCourseNum (int num)
bool exist (course &c)
vectorentity getMembList (course &c)
course getEntry (int num)

Protected Methods

void addm (course &c)

Protected Attributes

bool m_fromUser
bool m_merge
vectorcourse m_listVec
bool m_hasEmpty
vector< int > m_emptyList
vector< int > m_newIndex

Constructor & Destructor Documentation

listMgr::listMgr  
 

virtual listMgr::~listMgr   [virtual]
 


Member Function Documentation

string listMgr::ToFileFmt  
 

Reimplemented in superV.

string listMgr::ToParse  
 

Calls the update function on person p.

Reimplemented in superV.

string listMgr::ToString  
 

Reimplemented in superV.

void listMgr::add int    courseNum,
staff   s
 

void listMgr::add int    courseNum,
student   s
 

void listMgr::add int    courseNum,
int    index,
student   s
 

void listMgr::add course   c
 

virtual void listMgr::addHeader string &    s [pure virtual]
 

Reimplemented in adviseMgr, courseMgr, and superV.

virtual void listMgr::addTrailer string &    s [pure virtual]
 

Reimplemented in adviseMgr, courseMgr, and superV.

void listMgr::addm course   c [protected]
 

void listMgr::clear  
 

bool listMgr::exist course   c
 

void listMgr::finishMerge  
 

int listMgr::getCourseNum int    num
 

bool listMgr::getCourseNum course   c,
int &    index
 

course listMgr::getEntry int    num
 

vectorentity listMgr::getMembList course   c
 

void listMgr::remove course   c
 

virtual void listMgr::removep person   p,
int    index
[pure virtual]
 

Reimplemented in adviseMgr, courseMgr, and superV.

void listMgr::setFromUser bool    u
 

void listMgr::setMerge bool    m
 


Member Data Documentation

vector<int> listMgr::m_emptyList [protected]
 

bool listMgr::m_fromUser [protected]
 

bool listMgr::m_hasEmpty [protected]
 

vectorcourse listMgr::m_listVec [protected]
 

bool listMgr::m_merge [protected]
 

vector<int> listMgr::m_newIndex [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 22 20:19:16 2001 for University People Management System by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001