Definition at line 56 of file History.hh.
Public Member Functions | |
History (char **StageNames=NULL, int StageNumber=0, char **TypeNames=NULL, int TypeNumber=0, char *FilePrefix=NULL, bool HistoryModify=false) | |
History (const History &History) | |
~History () | |
void | AddHistory (char *Stage, char *Type, char *History, TDatime *Time=NULL) |
void | AddHistory (char *Stage, char *Type, char *History, int Date, int Time) |
void | AddLog (char *Stage, char *Log, TDatime *Time=NULL) |
void | AddLog (char *Stage, char *Log, int Date, int Time) |
char * | AddStage (char *StageName) |
char * | AddType (char *TypeName) |
virtual void | Browse (TBrowser *b) |
void | DumpToROOTFile (char *FileName=NULL) |
void | DumpToTextFile (char *FileName=NULL) |
bool | GetAscendingSortOrder () |
TTimeStamp | GetCreationTimeStamp () |
TTimeStamp | GetCreationTimeStamp (char *Stage) |
bool | GetDescendantSortOrder () |
char * | GetFilePrefix () |
char * | GetHistory (char *StageName, char *Type) |
TDatime * | GetHistoryDatime (char *StageName, char *Type) |
bool | GetHistoryModify () |
char * | GetLog (char *Stage, int index) |
int | GetLogSize (char *Stage) |
SortOrderType | GetSortOrder () |
const CWB::HistoryStage * | GetStage (char *Name) |
char * | GetStageComment (char *Stage) |
TList * | GetStageNames () |
char * | GetTypeComment (char *Stage, char *Type) |
TList * | GetTypeNames () |
void | HistoryException (int type, const char *location, const char *msgfmt,...) |
bool | IsSortOrderAlphabetical () |
bool | IsSortOrderDate () |
bool | IsSortOrderInsertion () |
bool | NameAllowed (char *Name) |
void | Print () |
void | PrintSummary () |
char * | RemoveStage (char *StageName) |
char * | RemoveType (char *TypeName) |
bool | SetAscendingSortOrder () |
bool | SetDescendantSortOrder () |
void | SetFilePrefix (char *FilePrefix) |
bool | SetHistoryModify (bool Replace=true) |
SortOrderType | SetSortOrder (SortOrderType SortOrder) |
char * | SetStageComment (char *Stage, char *Comment=NULL) |
void | SetStageNames (char **StageNames, int StageNumber) |
char * | SetTypeComment (char *Stage, char *Type, char *Comment=NULL) |
void | SetTypeNames (char **TypeNames, int TypeNumber) |
void | Sort () |
bool | StageAllowed (char *Name) |
bool | StageAlreadyPresent (char *Name) |
bool | TypeAllowed (char *Name) |
Private Member Functions | |
void | Destroy () |
bool | DuplicateNames (char **NameList, int NameNumber) |
int | GetStagePosition (char *Name) |
void | Init () |
void | WriteToFile (char *FileName, bool SummaryOnly=false) |
Private Attributes | |
bool | AscendingOrder |
long | CreationDate_NSec |
long | CreationDate_Sec |
TObjString | FilePrefix |
bool | HistoryModify |
SortOrderType | SortOrder |
TList | StageList |
TList | StageNames |
TList | TypeNames |
#include <History.hh>
CWB::History::History | ( | char ** | StageNames = NULL , |
int | StageNumber = 0 , |
||
char ** | TypeNames = NULL , |
||
int | TypeNumber = 0 , |
||
char * | FilePrefix = NULL , |
||
bool | HistoryModify = false |
||
) |
Definition at line 43 of file History.cc.
CWB::History::History | ( | const History & | History | ) |
Definition at line 73 of file History.cc.
CWB::History::~History | ( | ) |
Definition at line 94 of file History.cc.
void CWB::History::AddHistory | ( | char * | Stage, |
char * | Type, | ||
char * | History, | ||
TDatime * | Time = NULL |
||
) |
Definition at line 225 of file History.cc.
Definition at line 244 of file History.cc.
void CWB::History::AddLog | ( | char * | Stage, |
char * | Log, | ||
TDatime * | Time = NULL |
||
) |
Definition at line 187 of file History.cc.
Definition at line 206 of file History.cc.
char * CWB::History::AddStage | ( | char * | StageName | ) |
Definition at line 464 of file History.cc.
char * CWB::History::AddType | ( | char * | TypeName | ) |
Definition at line 505 of file History.cc.
|
virtual |
Definition at line 310 of file History.cc.
|
private |
Definition at line 690 of file History.cc.
void CWB::History::DumpToROOTFile | ( | char * | FileName = NULL | ) |
Definition at line 408 of file History.cc.
void CWB::History::DumpToTextFile | ( | char * | FileName = NULL | ) |
Definition at line 395 of file History.cc.
|
private |
Definition at line 711 of file History.cc.
bool CWB::History::GetAscendingSortOrder | ( | ) |
Definition at line 645 of file History.cc.
TTimeStamp CWB::History::GetCreationTimeStamp | ( | ) |
Definition at line 665 of file History.cc.
TTimeStamp CWB::History::GetCreationTimeStamp | ( | char * | Stage | ) |
Definition at line 672 of file History.cc.
bool CWB::History::GetDescendantSortOrder | ( | ) |
Definition at line 650 of file History.cc.
char * CWB::History::GetFilePrefix | ( | ) |
Definition at line 268 of file History.cc.
char * CWB::History::GetHistory | ( | char * | StageName, |
char * | Type | ||
) |
Definition at line 273 of file History.cc.
TDatime * CWB::History::GetHistoryDatime | ( | char * | StageName, |
char * | Type | ||
) |
Definition at line 292 of file History.cc.
bool CWB::History::GetHistoryModify | ( | ) |
Definition at line 459 of file History.cc.
char * CWB::History::GetLog | ( | char * | Stage, |
int | index | ||
) |
Definition at line 304 of file History.cc.
int CWB::History::GetLogSize | ( | char * | Stage | ) |
Definition at line 298 of file History.cc.
SortOrderType CWB::History::GetSortOrder | ( | ) |
Definition at line 600 of file History.cc.
const CWB::HistoryStage * CWB::History::GetStage | ( | char * | Name | ) |
Definition at line 694 of file History.cc.
char * CWB::History::GetStageComment | ( | char * | Stage | ) |
Definition at line 567 of file History.cc.
TList * CWB::History::GetStageNames | ( | ) |
Definition at line 427 of file History.cc.
|
private |
Definition at line 803 of file History.cc.
char * CWB::History::GetTypeComment | ( | char * | Stage, |
char * | Type | ||
) |
Definition at line 578 of file History.cc.
TList * CWB::History::GetTypeNames | ( | ) |
Definition at line 440 of file History.cc.
void CWB::History::HistoryException | ( | int | type, |
const char * | location, | ||
const char * | msgfmt, | ||
... | |||
) |
Definition at line 870 of file History.cc.
|
private |
Definition at line 683 of file History.cc.
bool CWB::History::IsSortOrderAlphabetical | ( | ) |
Definition at line 617 of file History.cc.
bool CWB::History::IsSortOrderDate | ( | ) |
Definition at line 611 of file History.cc.
bool CWB::History::IsSortOrderInsertion | ( | ) |
Definition at line 605 of file History.cc.
bool CWB::History::NameAllowed | ( | char * | Name | ) |
Definition at line 122 of file History.cc.
void CWB::History::Print | ( | ) |
Definition at line 315 of file History.cc.
void CWB::History::PrintSummary | ( | ) |
Definition at line 355 of file History.cc.
char * CWB::History::RemoveStage | ( | char * | StageName | ) |
Definition at line 477 of file History.cc.
char * CWB::History::RemoveType | ( | char * | TypeName | ) |
Definition at line 522 of file History.cc.
bool CWB::History::SetAscendingSortOrder | ( | ) |
Definition at line 623 of file History.cc.
bool CWB::History::SetDescendantSortOrder | ( | ) |
Definition at line 634 of file History.cc.
void CWB::History::SetFilePrefix | ( | char * | FilePrefix | ) |
Definition at line 263 of file History.cc.
bool CWB::History::SetHistoryModify | ( | bool | Replace = true | ) |
Definition at line 453 of file History.cc.
SortOrderType CWB::History::SetSortOrder | ( | SortOrderType | SortOrder | ) |
Definition at line 589 of file History.cc.
char * CWB::History::SetStageComment | ( | char * | Stage, |
char * | Comment = NULL |
||
) |
Definition at line 545 of file History.cc.
void CWB::History::SetStageNames | ( | char ** | StageNames, |
int | StageNumber | ||
) |
Definition at line 135 of file History.cc.
char * CWB::History::SetTypeComment | ( | char * | Stage, |
char * | Type, | ||
char * | Comment = NULL |
||
) |
Definition at line 556 of file History.cc.
void CWB::History::SetTypeNames | ( | char ** | TypeNames, |
int | TypeNumber | ||
) |
Definition at line 159 of file History.cc.
void CWB::History::Sort | ( | ) |
Definition at line 655 of file History.cc.
bool CWB::History::StageAllowed | ( | char * | Name | ) |
Definition at line 99 of file History.cc.
bool CWB::History::StageAlreadyPresent | ( | char * | Name | ) |
Definition at line 107 of file History.cc.
bool CWB::History::TypeAllowed | ( | char * | Name | ) |
Definition at line 127 of file History.cc.
|
private |
Definition at line 723 of file History.cc.
|
private |
Definition at line 147 of file History.hh.
|
private |
Definition at line 150 of file History.hh.
|
private |
Definition at line 149 of file History.hh.
|
private |
Definition at line 143 of file History.hh.
|
private |
Definition at line 145 of file History.hh.
|
private |
Definition at line 146 of file History.hh.
|
private |
Definition at line 142 of file History.hh.
|
private |
Definition at line 139 of file History.hh.
|
private |
Definition at line 140 of file History.hh.