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

Definition at line 55 of file HistoryStage.hh.

Public Member Functions

 HistoryStage (char **HistoryTypes=NULL, int TypeNumber=0, char *Name=NULL, char *Comment=NULL, TDatime *Time=NULL)
 
 HistoryStage (const TList &HistoryTypes, char *Name=NULL, char *Comemment=NULL, TDatime *Time=NULL)
 
 HistoryStage (char **HistoryTypes, int TypeNumber, char *Name, char *Comment, int Date, int Time)
 
 HistoryStage (const TList &HistoryTypes, char *Name, char *Comment, int Date, int Time)
 
 HistoryStage (const HistoryStage &HistoryStage)
 
 ~HistoryStage ()
 
void AddHistory (char *Type, char *History, char *Comment=NULL, bool Replace=false)
 
void AddLog (char *LogMsg, TDatime *Time=NULL)
 
void AddLog (char *LogMsg, int Date, int Time)
 
char * AddType (char *TypeName)
 
virtual void Browse (TBrowser *b)
 
int Compare (const TObject *Obj) const
 
bool GetAscendingSortOrder ()
 
char * GetComment ()
 
TTimeStamp GetCreationTimeStamp ()
 
int GetDate ()
 
TDatime * GetDatime ()
 
bool GetDescendantSortOrder ()
 
char * GetHistory (char *Type)
 
char * GetHistoryEntry (int index)
 
char * GetHistoryEntryType (int index)
 
int GetHistorySize ()
 
char * GetLogEntry (int index)
 
int GetLogEntryDate (int index)
 
TDatime * GetLogEntryDatime (int index)
 
int GetLogEntryTime (int index)
 
int GetLogSize ()
 
char * GetName ()
 
SortOrderType GetSortOrder ()
 
int GetTime ()
 
char * GetTypeComment (char *Type)
 
void HistoryStageException (int type, const char *location, const char *msgfmt,...)
 
bool IsSortable () const
 
bool IsSortOrderAlphabetical ()
 
bool IsSortOrderDate ()
 
bool IsSortOrderInsertion ()
 
void Print ()
 
char * RemoveType (char *TypeName)
 
bool SetAscendingSortOrder ()
 
char * SetComment (char *Comment)
 
bool SetDescendantSortOrder ()
 
char * SetName (char *Name)
 
SortOrderType SetSortOrder (SortOrderType SortOrder)
 
void SetTime (TDatime *Time)
 
void SetTime (int Date, int Time)
 
char * SetTypeComment (char *Type, char *Comment)
 
void SetTypes (char **HistoryTypes, int TypeNumber)
 
void Sort ()
 
void SortLogs (bool Ascending=true)
 
bool TypeAllowed (char *Type)
 
bool TypeAlreadyPresent (char *Type)
 

Private Member Functions

void CommentSet (char *Comment)
 
void Destroy ()
 
void Init ()
 
void NameSet (char *Name)
 

Private Attributes

bool AscendingOrder
 
char * Comment
 
int CommentLength
 
long CreationDate_NSec
 
long CreationDate_Sec
 
int Date
 
TList History
 
TList HistoryTypes
 
TList Logs
 
char * Name
 
int NameLength
 
SortOrderType SortOrder
 
int Time
 

#include <HistoryStage.hh>

Inheritance diagram for CWB::HistoryStage:
[legend]

Constructor & Destructor Documentation

◆ HistoryStage() [1/5]

CWB::HistoryStage::HistoryStage ( char **  HistoryTypes = NULL,
int  TypeNumber = 0,
char *  Name = NULL,
char *  Comment = NULL,
TDatime *  Time = NULL 
)

Definition at line 41 of file HistoryStage.cc.

◆ HistoryStage() [2/5]

CWB::HistoryStage::HistoryStage ( const TList &  HistoryTypes,
char *  Name = NULL,
char *  Comemment = NULL,
TDatime *  Time = NULL 
)

Definition at line 67 of file HistoryStage.cc.

◆ HistoryStage() [3/5]

CWB::HistoryStage::HistoryStage ( char **  HistoryTypes,
int  TypeNumber,
char *  Name,
char *  Comment,
int  Date,
int  Time 
)

Definition at line 93 of file HistoryStage.cc.

◆ HistoryStage() [4/5]

CWB::HistoryStage::HistoryStage ( const TList &  HistoryTypes,
char *  Name,
char *  Comment,
int  Date,
int  Time 
)

Definition at line 112 of file HistoryStage.cc.

◆ HistoryStage() [5/5]

CWB::HistoryStage::HistoryStage ( const HistoryStage HistoryStage)

Definition at line 130 of file HistoryStage.cc.

◆ ~HistoryStage()

CWB::HistoryStage::~HistoryStage ( )

Definition at line 157 of file HistoryStage.cc.

Member Function Documentation

◆ AddHistory()

void CWB::HistoryStage::AddHistory ( char *  Type,
char *  History,
char *  Comment = NULL,
bool  Replace = false 
)

Definition at line 306 of file HistoryStage.cc.

◆ AddLog() [1/2]

void CWB::HistoryStage::AddLog ( char *  LogMsg,
TDatime *  Time = NULL 
)

Definition at line 283 of file HistoryStage.cc.

◆ AddLog() [2/2]

void CWB::HistoryStage::AddLog ( char *  LogMsg,
int  Date,
int  Time 
)

Definition at line 294 of file HistoryStage.cc.

◆ AddType()

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

Definition at line 500 of file HistoryStage.cc.

◆ Browse()

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

Definition at line 434 of file HistoryStage.cc.

◆ CommentSet()

void CWB::HistoryStage::CommentSet ( char *  Comment)
private

Definition at line 662 of file HistoryStage.cc.

◆ Compare()

int CWB::HistoryStage::Compare ( const TObject *  Obj) const

Definition at line 463 of file HistoryStage.cc.

◆ Destroy()

void CWB::HistoryStage::Destroy ( )
private

Definition at line 639 of file HistoryStage.cc.

◆ GetAscendingSortOrder()

bool CWB::HistoryStage::GetAscendingSortOrder ( )

Definition at line 600 of file HistoryStage.cc.

◆ GetComment()

char * CWB::HistoryStage::GetComment ( )

Definition at line 240 of file HistoryStage.cc.

◆ GetCreationTimeStamp()

TTimeStamp CWB::HistoryStage::GetCreationTimeStamp ( )

Definition at line 616 of file HistoryStage.cc.

◆ GetDate()

int CWB::HistoryStage::GetDate ( )

Definition at line 246 of file HistoryStage.cc.

◆ GetDatime()

TDatime * CWB::HistoryStage::GetDatime ( )

Definition at line 256 of file HistoryStage.cc.

◆ GetDescendantSortOrder()

bool CWB::HistoryStage::GetDescendantSortOrder ( )

Definition at line 605 of file HistoryStage.cc.

◆ GetHistory()

char * CWB::HistoryStage::GetHistory ( char *  Type)

Definition at line 385 of file HistoryStage.cc.

◆ GetHistoryEntry()

char * CWB::HistoryStage::GetHistoryEntry ( int  index)

Definition at line 343 of file HistoryStage.cc.

◆ GetHistoryEntryType()

char * CWB::HistoryStage::GetHistoryEntryType ( int  index)

Definition at line 350 of file HistoryStage.cc.

◆ GetHistorySize()

int CWB::HistoryStage::GetHistorySize ( )

Definition at line 333 of file HistoryStage.cc.

◆ GetLogEntry()

char * CWB::HistoryStage::GetLogEntry ( int  index)

Definition at line 357 of file HistoryStage.cc.

◆ GetLogEntryDate()

int CWB::HistoryStage::GetLogEntryDate ( int  index)

Definition at line 364 of file HistoryStage.cc.

◆ GetLogEntryDatime()

TDatime * CWB::HistoryStage::GetLogEntryDatime ( int  index)

Definition at line 378 of file HistoryStage.cc.

◆ GetLogEntryTime()

int CWB::HistoryStage::GetLogEntryTime ( int  index)

Definition at line 371 of file HistoryStage.cc.

◆ GetLogSize()

int CWB::HistoryStage::GetLogSize ( )

Definition at line 338 of file HistoryStage.cc.

◆ GetName()

char * CWB::HistoryStage::GetName ( )

Definition at line 234 of file HistoryStage.cc.

◆ GetSortOrder()

SortOrderType CWB::HistoryStage::GetSortOrder ( )

Definition at line 549 of file HistoryStage.cc.

◆ GetTime()

int CWB::HistoryStage::GetTime ( )

Definition at line 251 of file HistoryStage.cc.

◆ GetTypeComment()

char * CWB::HistoryStage::GetTypeComment ( char *  Type)

Definition at line 261 of file HistoryStage.cc.

◆ HistoryStageException()

void CWB::HistoryStage::HistoryStageException ( int  type,
const char *  location,
const char *  msgfmt,
  ... 
)

Definition at line 744 of file HistoryStage.cc.

◆ Init()

void CWB::HistoryStage::Init ( )
private

Definition at line 622 of file HistoryStage.cc.

◆ IsSortable()

bool CWB::HistoryStage::IsSortable ( ) const

Definition at line 458 of file HistoryStage.cc.

◆ IsSortOrderAlphabetical()

bool CWB::HistoryStage::IsSortOrderAlphabetical ( )

Definition at line 566 of file HistoryStage.cc.

◆ IsSortOrderDate()

bool CWB::HistoryStage::IsSortOrderDate ( )

Definition at line 560 of file HistoryStage.cc.

◆ IsSortOrderInsertion()

bool CWB::HistoryStage::IsSortOrderInsertion ( )

Definition at line 554 of file HistoryStage.cc.

◆ NameSet()

void CWB::HistoryStage::NameSet ( char *  Name)
private

Definition at line 645 of file HistoryStage.cc.

◆ Print()

void CWB::HistoryStage::Print ( )

Definition at line 439 of file HistoryStage.cc.

◆ RemoveType()

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

Definition at line 510 of file HistoryStage.cc.

◆ SetAscendingSortOrder()

bool CWB::HistoryStage::SetAscendingSortOrder ( )

Definition at line 572 of file HistoryStage.cc.

◆ SetComment()

char * CWB::HistoryStage::SetComment ( char *  Comment)

Definition at line 170 of file HistoryStage.cc.

◆ SetDescendantSortOrder()

bool CWB::HistoryStage::SetDescendantSortOrder ( )

Definition at line 586 of file HistoryStage.cc.

◆ SetName()

char * CWB::HistoryStage::SetName ( char *  Name)

Definition at line 162 of file HistoryStage.cc.

◆ SetSortOrder()

SortOrderType CWB::HistoryStage::SetSortOrder ( SortOrderType  SortOrder)

Definition at line 535 of file HistoryStage.cc.

◆ SetTime() [1/2]

void CWB::HistoryStage::SetTime ( TDatime *  Time)

Definition at line 178 of file HistoryStage.cc.

◆ SetTime() [2/2]

void CWB::HistoryStage::SetTime ( int  Date,
int  Time 
)

Definition at line 184 of file HistoryStage.cc.

◆ SetTypeComment()

char * CWB::HistoryStage::SetTypeComment ( char *  Type,
char *  Comment 
)

Definition at line 212 of file HistoryStage.cc.

◆ SetTypes()

void CWB::HistoryStage::SetTypes ( char **  HistoryTypes,
int  TypeNumber 
)

Definition at line 190 of file HistoryStage.cc.

◆ Sort()

void CWB::HistoryStage::Sort ( )

Definition at line 610 of file HistoryStage.cc.

◆ SortLogs()

void CWB::HistoryStage::SortLogs ( bool  Ascending = true)

Definition at line 403 of file HistoryStage.cc.

◆ TypeAllowed()

bool CWB::HistoryStage::TypeAllowed ( char *  Type)

Definition at line 424 of file HistoryStage.cc.

◆ TypeAlreadyPresent()

bool CWB::HistoryStage::TypeAlreadyPresent ( char *  Type)

Definition at line 408 of file HistoryStage.cc.

Member Data Documentation

◆ AscendingOrder

bool CWB::HistoryStage::AscendingOrder
private

Definition at line 143 of file HistoryStage.hh.

◆ Comment

char* CWB::HistoryStage::Comment
private

Definition at line 140 of file HistoryStage.hh.

◆ CommentLength

int CWB::HistoryStage::CommentLength
private

Definition at line 139 of file HistoryStage.hh.

◆ CreationDate_NSec

long CWB::HistoryStage::CreationDate_NSec
private

Definition at line 146 of file HistoryStage.hh.

◆ CreationDate_Sec

long CWB::HistoryStage::CreationDate_Sec
private

Definition at line 145 of file HistoryStage.hh.

◆ Date

int CWB::HistoryStage::Date
private

Definition at line 128 of file HistoryStage.hh.

◆ History

TList CWB::HistoryStage::History
private

Definition at line 136 of file HistoryStage.hh.

◆ HistoryTypes

TList CWB::HistoryStage::HistoryTypes
private

Definition at line 131 of file HistoryStage.hh.

◆ Logs

TList CWB::HistoryStage::Logs
private

Definition at line 137 of file HistoryStage.hh.

◆ Name

char* CWB::HistoryStage::Name
private

Definition at line 134 of file HistoryStage.hh.

◆ NameLength

int CWB::HistoryStage::NameLength
private

Definition at line 133 of file HistoryStage.hh.

◆ SortOrder

SortOrderType CWB::HistoryStage::SortOrder
private

Definition at line 142 of file HistoryStage.hh.

◆ Time

int CWB::HistoryStage::Time
private

Definition at line 129 of file HistoryStage.hh.


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