Logo coherent WaveBurst  
Library Reference Guide
Logo
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CWB::History Class Reference

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::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

◆ History() [1/2]

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.

◆ History() [2/2]

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

Definition at line 73 of file History.cc.

◆ ~History()

CWB::History::~History ( )

Definition at line 94 of file History.cc.

Member Function Documentation

◆ AddHistory() [1/2]

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

Definition at line 225 of file History.cc.

◆ AddHistory() [2/2]

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

Definition at line 244 of file History.cc.

◆ AddLog() [1/2]

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

Definition at line 187 of file History.cc.

◆ AddLog() [2/2]

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

Definition at line 206 of file History.cc.

◆ AddStage()

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

Definition at line 464 of file History.cc.

◆ AddType()

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

Definition at line 505 of file History.cc.

◆ Browse()

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

Definition at line 310 of file History.cc.

◆ Destroy()

void CWB::History::Destroy ( )
private

Definition at line 690 of file History.cc.

◆ DumpToROOTFile()

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

Definition at line 408 of file History.cc.

◆ DumpToTextFile()

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

Definition at line 395 of file History.cc.

◆ DuplicateNames()

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

Definition at line 711 of file History.cc.

◆ GetAscendingSortOrder()

bool CWB::History::GetAscendingSortOrder ( )

Definition at line 645 of file History.cc.

◆ GetCreationTimeStamp() [1/2]

TTimeStamp CWB::History::GetCreationTimeStamp ( )

Definition at line 665 of file History.cc.

◆ GetCreationTimeStamp() [2/2]

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

Definition at line 672 of file History.cc.

◆ GetDescendantSortOrder()

bool CWB::History::GetDescendantSortOrder ( )

Definition at line 650 of file History.cc.

◆ GetFilePrefix()

char * CWB::History::GetFilePrefix ( )

Definition at line 268 of file History.cc.

◆ GetHistory()

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

Definition at line 273 of file History.cc.

◆ GetHistoryDatime()

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

Definition at line 292 of file History.cc.

◆ GetHistoryModify()

bool CWB::History::GetHistoryModify ( )

Definition at line 459 of file History.cc.

◆ GetLog()

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

Definition at line 304 of file History.cc.

◆ GetLogSize()

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

Definition at line 298 of file History.cc.

◆ GetSortOrder()

SortOrderType CWB::History::GetSortOrder ( )

Definition at line 600 of file History.cc.

◆ GetStage()

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

Definition at line 694 of file History.cc.

◆ GetStageComment()

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

Definition at line 567 of file History.cc.

◆ GetStageNames()

TList * CWB::History::GetStageNames ( )

Definition at line 427 of file History.cc.

◆ GetStagePosition()

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

Definition at line 803 of file History.cc.

◆ GetTypeComment()

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

Definition at line 578 of file History.cc.

◆ GetTypeNames()

TList * CWB::History::GetTypeNames ( )

Definition at line 440 of file History.cc.

◆ HistoryException()

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

Definition at line 870 of file History.cc.

◆ Init()

void CWB::History::Init ( )
private

Definition at line 683 of file History.cc.

◆ IsSortOrderAlphabetical()

bool CWB::History::IsSortOrderAlphabetical ( )

Definition at line 617 of file History.cc.

◆ IsSortOrderDate()

bool CWB::History::IsSortOrderDate ( )

Definition at line 611 of file History.cc.

◆ IsSortOrderInsertion()

bool CWB::History::IsSortOrderInsertion ( )

Definition at line 605 of file History.cc.

◆ NameAllowed()

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

Definition at line 122 of file History.cc.

◆ Print()

void CWB::History::Print ( )

Definition at line 315 of file History.cc.

◆ PrintSummary()

void CWB::History::PrintSummary ( )

Definition at line 355 of file History.cc.

◆ RemoveStage()

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

Definition at line 477 of file History.cc.

◆ RemoveType()

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

Definition at line 522 of file History.cc.

◆ SetAscendingSortOrder()

bool CWB::History::SetAscendingSortOrder ( )

Definition at line 623 of file History.cc.

◆ SetDescendantSortOrder()

bool CWB::History::SetDescendantSortOrder ( )

Definition at line 634 of file History.cc.

◆ SetFilePrefix()

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

Definition at line 263 of file History.cc.

◆ SetHistoryModify()

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

Definition at line 453 of file History.cc.

◆ SetSortOrder()

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

Definition at line 589 of file History.cc.

◆ SetStageComment()

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

Definition at line 545 of file History.cc.

◆ SetStageNames()

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

Definition at line 135 of file History.cc.

◆ SetTypeComment()

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

Definition at line 556 of file History.cc.

◆ SetTypeNames()

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

Definition at line 159 of file History.cc.

◆ Sort()

void CWB::History::Sort ( )

Definition at line 655 of file History.cc.

◆ StageAllowed()

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

Definition at line 99 of file History.cc.

◆ StageAlreadyPresent()

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

Definition at line 107 of file History.cc.

◆ TypeAllowed()

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

Definition at line 127 of file History.cc.

◆ WriteToFile()

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

Definition at line 723 of file History.cc.

Member Data Documentation

◆ AscendingOrder

bool CWB::History::AscendingOrder
private

Definition at line 147 of file History.hh.

◆ CreationDate_NSec

long CWB::History::CreationDate_NSec
private

Definition at line 150 of file History.hh.

◆ CreationDate_Sec

long CWB::History::CreationDate_Sec
private

Definition at line 149 of file History.hh.

◆ FilePrefix

TObjString CWB::History::FilePrefix
private

Definition at line 143 of file History.hh.

◆ HistoryModify

bool CWB::History::HistoryModify
private

Definition at line 145 of file History.hh.

◆ SortOrder

SortOrderType CWB::History::SortOrder
private

Definition at line 146 of file History.hh.

◆ StageList

TList CWB::History::StageList
private

Definition at line 142 of file History.hh.

◆ StageNames

TList CWB::History::StageNames
private

Definition at line 139 of file History.hh.

◆ TypeNames

TList CWB::History::TypeNames
private

Definition at line 140 of file History.hh.


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