Main Page   Namespace List   Compound List   File List   Compound Members   File Members  

Bibtool Class Reference

#include <bibtool.h>

List of all members.

Public Methods

 Bibtool ()
void printHelp ()
bool getType ()
void processEntry ()
void getSchLst ()
bool endOfFile ()
bool openFileBinary (string)
void closeFile ()
void removeOldFiles ()
void searchEachIndex ()
void displayFound (vector< searchName > &, SearchType)

Public Attributes

int fileIndex
string outFileName
string outFileNameBibs
string ndx_authorFN
string lst_authorFN
string ndx_titleFN
string lst_titleFN
string schLstFileName
string schLstFileOut
string currentBibFileName
bool schLstIsOpenable
vector< searchNamesearchNames_vec
vector< searchNamesearchNamesAuth_vec
vector< searchNamesearchNamesTitle_vec
bstreeBibIndex bstree
rbtreeBibIndex rbtree

Private Methods

void getName ()
void parseEntry (stack< char > &)

Private Attributes

ifstream fin
string type
string keyName
string fileNumber
string entryPos
int characterIndex
bool validType
string newLstPos
int curNdxPos
int curLstPos
string authTmp
string titleTmp


Constructor & Destructor Documentation

Bibtool::Bibtool  
 

Definition at line 8 of file bibtool.cpp.

References searchNames_vec, searchNamesAuth_vec, and searchNamesTitle_vec.


Member Function Documentation

void Bibtool::closeFile  
 

Definition at line 610 of file bibtool.cpp.

References fin.

Referenced by main().

void Bibtool::displayFound vector< searchName > &   ,
SearchType   
 

Definition at line 570 of file bibtool.cpp.

References AUTHOR, KEYNAME, SearchType, and TITLE.

Referenced by main().

bool Bibtool::endOfFile  
 

Definition at line 17 of file bibtool.cpp.

References fin.

Referenced by createIndex().

void Bibtool::getName   [private]
 

Definition at line 330 of file bibtool.cpp.

References bstree, fin, keyName, rbtreeBibIndex::primaryNdx, bstreeBibIndex::primaryNdx, and rbtree.

Referenced by processEntry().

void Bibtool::getSchLst  
 

Definition at line 457 of file bibtool.cpp.

References searchName::name, schLstFileName, schLstIsOpenable, searchNames_vec, searchNamesAuth_vec, and searchNamesTitle_vec.

Referenced by main().

bool Bibtool::getType  
 

Definition at line 378 of file bibtool.cpp.

References characterIndex, fin, type, and validType.

Referenced by createIndex().

bool Bibtool::openFileBinary string   
 

Definition at line 588 of file bibtool.cpp.

References fin.

Referenced by main().

void Bibtool::parseEntry stack< char > &    [private]
 

Definition at line 69 of file bibtool.cpp.

References rbtreeBibIndex::authorNdx, bstreeBibIndex::authorNdx, authTmp, bstree, fin, keyName, rbtree, rbtreeBibIndex::titleNdx, bstreeBibIndex::titleNdx, and titleTmp.

Referenced by processEntry().

void Bibtool::printHelp  
 

Definition at line 631 of file bibtool.cpp.

Referenced by processCommandLine().

void Bibtool::processEntry  
 

Definition at line 31 of file bibtool.cpp.

References currentBibFileName, fin, getName(), keyName, and parseEntry().

Referenced by createIndex().

void Bibtool::removeOldFiles  
 

Definition at line 617 of file bibtool.cpp.

References lst_authorFN, lst_titleFN, ndx_authorFN, ndx_titleFN, outFileName, outFileNameBibs, and schLstFileOut.

Referenced by main().

void Bibtool::searchEachIndex  
 


Member Data Documentation

string Bibtool::authTmp [private]
 

Definition at line 81 of file bibtool.h.

Referenced by parseEntry().

bstreeBibIndex Bibtool::bstree
 

Definition at line 61 of file bibtool.h.

Referenced by getName(), parseEntry(), and IndexOperations::searchBstreeIndex().

int Bibtool::characterIndex [private]
 

Definition at line 75 of file bibtool.h.

Referenced by getType().

int Bibtool::curLstPos [private]
 

Definition at line 80 of file bibtool.h.

int Bibtool::curNdxPos [private]
 

Definition at line 78 of file bibtool.h.

string Bibtool::currentBibFileName
 

Definition at line 52 of file bibtool.h.

Referenced by main(), processEntry(), IndexOperations::searchBstreeIndex(), and IndexOperations::searchRbtreeIndex().

string Bibtool::entryPos [private]
 

Definition at line 74 of file bibtool.h.

int Bibtool::fileIndex
 

Definition at line 43 of file bibtool.h.

Referenced by main().

string Bibtool::fileNumber [private]
 

Definition at line 73 of file bibtool.h.

ifstream Bibtool::fin [private]
 

Definition at line 70 of file bibtool.h.

Referenced by closeFile(), endOfFile(), getName(), getType(), openFileBinary(), parseEntry(), and processEntry().

string Bibtool::keyName [private]
 

Definition at line 72 of file bibtool.h.

Referenced by getName(), parseEntry(), and processEntry().

string Bibtool::lst_authorFN
 

Definition at line 47 of file bibtool.h.

Referenced by processCommandLine(), and removeOldFiles().

string Bibtool::lst_titleFN
 

Definition at line 49 of file bibtool.h.

Referenced by processCommandLine(), and removeOldFiles().

string Bibtool::ndx_authorFN
 

Definition at line 46 of file bibtool.h.

Referenced by processCommandLine(), and removeOldFiles().

string Bibtool::ndx_titleFN
 

Definition at line 48 of file bibtool.h.

Referenced by processCommandLine(), and removeOldFiles().

string Bibtool::newLstPos [private]
 

Definition at line 77 of file bibtool.h.

string Bibtool::outFileName
 

Definition at line 44 of file bibtool.h.

Referenced by processCommandLine(), and removeOldFiles().

string Bibtool::outFileNameBibs
 

Definition at line 45 of file bibtool.h.

Referenced by processCommandLine(), and removeOldFiles().

rbtreeBibIndex Bibtool::rbtree
 

Definition at line 63 of file bibtool.h.

Referenced by getName(), parseEntry(), and IndexOperations::searchRbtreeIndex().

string Bibtool::schLstFileName
 

Definition at line 50 of file bibtool.h.

Referenced by getSchLst(), and processCommandLine().

string Bibtool::schLstFileOut
 

Definition at line 51 of file bibtool.h.

Referenced by processCommandLine(), and removeOldFiles().

bool Bibtool::schLstIsOpenable
 

Definition at line 53 of file bibtool.h.

Referenced by getSchLst(), and main().

vector<searchName> Bibtool::searchNames_vec
 

Definition at line 55 of file bibtool.h.

Referenced by Bibtool(), getSchLst(), main(), IndexOperations::searchBstreeIndex(), and IndexOperations::searchRbtreeIndex().

vector<searchName> Bibtool::searchNamesAuth_vec
 

Definition at line 56 of file bibtool.h.

Referenced by Bibtool(), getSchLst(), main(), IndexOperations::searchBstreeIndex(), and IndexOperations::searchRbtreeIndex().

vector<searchName> Bibtool::searchNamesTitle_vec
 

Definition at line 57 of file bibtool.h.

Referenced by Bibtool(), getSchLst(), main(), IndexOperations::searchBstreeIndex(), and IndexOperations::searchRbtreeIndex().

string Bibtool::titleTmp [private]
 

Definition at line 82 of file bibtool.h.

Referenced by parseEntry().

string Bibtool::type [private]
 

Definition at line 71 of file bibtool.h.

Referenced by getType().

bool Bibtool::validType [private]
 

Definition at line 76 of file bibtool.h.

Referenced by getType().


The documentation for this class was generated from the following files:
Generated on Thu Apr 17 05:03:43 2003 for bibtool by doxygen1.3-rc1