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::HistoryStage Class Reference

Definition at line 37 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

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

Definition at line 23 of file HistoryStage.cc.

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

Definition at line 49 of file HistoryStage.cc.

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

Definition at line 75 of file HistoryStage.cc.

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

Definition at line 94 of file HistoryStage.cc.

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

Definition at line 112 of file HistoryStage.cc.

CWB::HistoryStage::~HistoryStage ( )

Definition at line 139 of file HistoryStage.cc.

Member Function Documentation

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

Definition at line 288 of file HistoryStage.cc.

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

Definition at line 265 of file HistoryStage.cc.

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

Definition at line 276 of file HistoryStage.cc.

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

Definition at line 482 of file HistoryStage.cc.

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

Definition at line 416 of file HistoryStage.cc.

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

Definition at line 644 of file HistoryStage.cc.

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

Definition at line 445 of file HistoryStage.cc.

void CWB::HistoryStage::Destroy ( )
private

Definition at line 621 of file HistoryStage.cc.

bool CWB::HistoryStage::GetAscendingSortOrder ( )

Definition at line 582 of file HistoryStage.cc.

char * CWB::HistoryStage::GetComment ( )

Definition at line 222 of file HistoryStage.cc.

TTimeStamp CWB::HistoryStage::GetCreationTimeStamp ( )

Definition at line 598 of file HistoryStage.cc.

int CWB::HistoryStage::GetDate ( )

Definition at line 228 of file HistoryStage.cc.

TDatime * CWB::HistoryStage::GetDatime ( )

Definition at line 238 of file HistoryStage.cc.

bool CWB::HistoryStage::GetDescendantSortOrder ( )

Definition at line 587 of file HistoryStage.cc.

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

Definition at line 367 of file HistoryStage.cc.

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

Definition at line 325 of file HistoryStage.cc.

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

Definition at line 332 of file HistoryStage.cc.

int CWB::HistoryStage::GetHistorySize ( )

Definition at line 315 of file HistoryStage.cc.

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

Definition at line 339 of file HistoryStage.cc.

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

Definition at line 346 of file HistoryStage.cc.

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

Definition at line 360 of file HistoryStage.cc.

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

Definition at line 353 of file HistoryStage.cc.

int CWB::HistoryStage::GetLogSize ( )

Definition at line 320 of file HistoryStage.cc.

char * CWB::HistoryStage::GetName ( )

Definition at line 216 of file HistoryStage.cc.

SortOrderType CWB::HistoryStage::GetSortOrder ( )

Definition at line 531 of file HistoryStage.cc.

int CWB::HistoryStage::GetTime ( )

Definition at line 233 of file HistoryStage.cc.

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

Definition at line 243 of file HistoryStage.cc.

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

Definition at line 726 of file HistoryStage.cc.

void CWB::HistoryStage::Init ( )
private

Definition at line 604 of file HistoryStage.cc.

bool CWB::HistoryStage::IsSortable ( ) const

Definition at line 440 of file HistoryStage.cc.

bool CWB::HistoryStage::IsSortOrderAlphabetical ( )

Definition at line 548 of file HistoryStage.cc.

bool CWB::HistoryStage::IsSortOrderDate ( )

Definition at line 542 of file HistoryStage.cc.

bool CWB::HistoryStage::IsSortOrderInsertion ( )

Definition at line 536 of file HistoryStage.cc.

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

Definition at line 627 of file HistoryStage.cc.

void CWB::HistoryStage::Print ( )

Definition at line 421 of file HistoryStage.cc.

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

Definition at line 492 of file HistoryStage.cc.

bool CWB::HistoryStage::SetAscendingSortOrder ( )

Definition at line 554 of file HistoryStage.cc.

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

Definition at line 152 of file HistoryStage.cc.

bool CWB::HistoryStage::SetDescendantSortOrder ( )

Definition at line 568 of file HistoryStage.cc.

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

Definition at line 144 of file HistoryStage.cc.

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

Definition at line 517 of file HistoryStage.cc.

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

Definition at line 160 of file HistoryStage.cc.

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

Definition at line 166 of file HistoryStage.cc.

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

Definition at line 194 of file HistoryStage.cc.

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

Definition at line 172 of file HistoryStage.cc.

void CWB::HistoryStage::Sort ( )

Definition at line 592 of file HistoryStage.cc.

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

Definition at line 385 of file HistoryStage.cc.

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

Definition at line 406 of file HistoryStage.cc.

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

Definition at line 390 of file HistoryStage.cc.

Member Data Documentation

bool CWB::HistoryStage::AscendingOrder
private

Definition at line 125 of file HistoryStage.hh.

char* CWB::HistoryStage::Comment
private

Definition at line 122 of file HistoryStage.hh.

int CWB::HistoryStage::CommentLength
private

Definition at line 121 of file HistoryStage.hh.

long CWB::HistoryStage::CreationDate_NSec
private

Definition at line 128 of file HistoryStage.hh.

long CWB::HistoryStage::CreationDate_Sec
private

Definition at line 127 of file HistoryStage.hh.

int CWB::HistoryStage::Date
private

Definition at line 110 of file HistoryStage.hh.

TList CWB::HistoryStage::History
private

Definition at line 118 of file HistoryStage.hh.

TList CWB::HistoryStage::HistoryTypes
private

Definition at line 113 of file HistoryStage.hh.

TList CWB::HistoryStage::Logs
private

Definition at line 119 of file HistoryStage.hh.

char* CWB::HistoryStage::Name
private

Definition at line 116 of file HistoryStage.hh.

int CWB::HistoryStage::NameLength
private

Definition at line 115 of file HistoryStage.hh.

SortOrderType CWB::HistoryStage::SortOrder
private

Definition at line 124 of file HistoryStage.hh.

int CWB::HistoryStage::Time
private

Definition at line 111 of file HistoryStage.hh.


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