Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CWB::History Class Reference

Definition at line 38 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::HistoryStageGetStage (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>

Inheritance diagram for CWB::History:
[legend]

Constructor & Destructor Documentation

CWB::History::History ( char **  StageNames = NULL,
int  StageNumber = 0,
char **  TypeNames = NULL,
int  TypeNumber = 0,
char *  FilePrefix = NULL,
bool  HistoryModify = false 
)

Definition at line 25 of file History.cc.

CWB::History::History ( const History History)

Definition at line 55 of file History.cc.

CWB::History::~History ( )

Definition at line 76 of file History.cc.

Member Function Documentation

void CWB::History::AddHistory ( char *  Stage,
char *  Type,
char *  History,
TDatime *  Time = NULL 
)

Definition at line 207 of file History.cc.

void CWB::History::AddHistory ( char *  Stage,
char *  Type,
char *  History,
int  Date,
int  Time 
)

Definition at line 226 of file History.cc.

void CWB::History::AddLog ( char *  Stage,
char *  Log,
TDatime *  Time = NULL 
)

Definition at line 169 of file History.cc.

void CWB::History::AddLog ( char *  Stage,
char *  Log,
int  Date,
int  Time 
)

Definition at line 188 of file History.cc.

char * CWB::History::AddStage ( char *  StageName)

Definition at line 446 of file History.cc.

char * CWB::History::AddType ( char *  TypeName)

Definition at line 487 of file History.cc.

void CWB::History::Browse ( TBrowser *  b)
virtual

Definition at line 292 of file History.cc.

void CWB::History::Destroy ( )
private

Definition at line 672 of file History.cc.

void CWB::History::DumpToROOTFile ( char *  FileName = NULL)

Definition at line 390 of file History.cc.

void CWB::History::DumpToTextFile ( char *  FileName = NULL)

Definition at line 377 of file History.cc.

bool CWB::History::DuplicateNames ( char **  NameList,
int  NameNumber 
)
private

Definition at line 693 of file History.cc.

bool CWB::History::GetAscendingSortOrder ( )

Definition at line 627 of file History.cc.

TTimeStamp CWB::History::GetCreationTimeStamp ( )

Definition at line 647 of file History.cc.

TTimeStamp CWB::History::GetCreationTimeStamp ( char *  Stage)

Definition at line 654 of file History.cc.

bool CWB::History::GetDescendantSortOrder ( )

Definition at line 632 of file History.cc.

char * CWB::History::GetFilePrefix ( )

Definition at line 250 of file History.cc.

char * CWB::History::GetHistory ( char *  StageName,
char *  Type 
)

Definition at line 255 of file History.cc.

TDatime * CWB::History::GetHistoryDatime ( char *  StageName,
char *  Type 
)

Definition at line 274 of file History.cc.

bool CWB::History::GetHistoryModify ( )

Definition at line 441 of file History.cc.

char * CWB::History::GetLog ( char *  Stage,
int  index 
)

Definition at line 286 of file History.cc.

int CWB::History::GetLogSize ( char *  Stage)

Definition at line 280 of file History.cc.

SortOrderType CWB::History::GetSortOrder ( )

Definition at line 582 of file History.cc.

const CWB::HistoryStage * CWB::History::GetStage ( char *  Name)

Definition at line 676 of file History.cc.

char * CWB::History::GetStageComment ( char *  Stage)

Definition at line 549 of file History.cc.

TList * CWB::History::GetStageNames ( )

Definition at line 409 of file History.cc.

int CWB::History::GetStagePosition ( char *  Name)
private

Definition at line 785 of file History.cc.

char * CWB::History::GetTypeComment ( char *  Stage,
char *  Type 
)

Definition at line 560 of file History.cc.

TList * CWB::History::GetTypeNames ( )

Definition at line 422 of file History.cc.

void CWB::History::HistoryException ( int  type,
const char *  location,
const char *  msgfmt,
  ... 
)

Definition at line 852 of file History.cc.

void CWB::History::Init ( )
private

Definition at line 665 of file History.cc.

bool CWB::History::IsSortOrderAlphabetical ( )

Definition at line 599 of file History.cc.

bool CWB::History::IsSortOrderDate ( )

Definition at line 593 of file History.cc.

bool CWB::History::IsSortOrderInsertion ( )

Definition at line 587 of file History.cc.

bool CWB::History::NameAllowed ( char *  Name)

Definition at line 104 of file History.cc.

void CWB::History::Print ( )

Definition at line 297 of file History.cc.

void CWB::History::PrintSummary ( )

Definition at line 337 of file History.cc.

char * CWB::History::RemoveStage ( char *  StageName)

Definition at line 459 of file History.cc.

char * CWB::History::RemoveType ( char *  TypeName)

Definition at line 504 of file History.cc.

bool CWB::History::SetAscendingSortOrder ( )

Definition at line 605 of file History.cc.

bool CWB::History::SetDescendantSortOrder ( )

Definition at line 616 of file History.cc.

void CWB::History::SetFilePrefix ( char *  FilePrefix)

Definition at line 245 of file History.cc.

bool CWB::History::SetHistoryModify ( bool  Replace = true)

Definition at line 435 of file History.cc.

SortOrderType CWB::History::SetSortOrder ( SortOrderType  SortOrder)

Definition at line 571 of file History.cc.

char * CWB::History::SetStageComment ( char *  Stage,
char *  Comment = NULL 
)

Definition at line 527 of file History.cc.

void CWB::History::SetStageNames ( char **  StageNames,
int  StageNumber 
)

Definition at line 117 of file History.cc.

char * CWB::History::SetTypeComment ( char *  Stage,
char *  Type,
char *  Comment = NULL 
)

Definition at line 538 of file History.cc.

void CWB::History::SetTypeNames ( char **  TypeNames,
int  TypeNumber 
)

Definition at line 141 of file History.cc.

void CWB::History::Sort ( )

Definition at line 637 of file History.cc.

bool CWB::History::StageAllowed ( char *  Name)

Definition at line 81 of file History.cc.

bool CWB::History::StageAlreadyPresent ( char *  Name)

Definition at line 89 of file History.cc.

bool CWB::History::TypeAllowed ( char *  Name)

Definition at line 109 of file History.cc.

void CWB::History::WriteToFile ( char *  FileName,
bool  SummaryOnly = false 
)
private

Definition at line 705 of file History.cc.

Member Data Documentation

bool CWB::History::AscendingOrder
private

Definition at line 129 of file History.hh.

long CWB::History::CreationDate_NSec
private

Definition at line 132 of file History.hh.

long CWB::History::CreationDate_Sec
private

Definition at line 131 of file History.hh.

TObjString CWB::History::FilePrefix
private

Definition at line 125 of file History.hh.

bool CWB::History::HistoryModify
private

Definition at line 127 of file History.hh.

SortOrderType CWB::History::SortOrder
private

Definition at line 128 of file History.hh.

TList CWB::History::StageList
private

Definition at line 124 of file History.hh.

TList CWB::History::StageNames
private

Definition at line 121 of file History.hh.

TList CWB::History::TypeNames
private

Definition at line 122 of file History.hh.


The documentation for this class was generated from the following files: