In file /home/eternity/Source/Common/GMessage/H/fieldQueue.h:

class FieldQueue : public Queue, public Debugable

Field queue class

Inheritance:

FieldQueue < Queue

FieldQueue < Debugable


Public Methods

Void FieldQueue::DiscardAll ()
Deletes all Fields stored in the queue
FieldQueue::FieldQueue (LogFile *aLogFile)
FieldQueue onstructor
FieldQueue::FieldQueue (FieldQueue &aQueue, LogFile *aLogFile)
Copy constructor
Field* FieldQueue::First ()
Returns pointer to the first field
Field* FieldQueue::GetField (Char *aFieldName)
Returns a field of name "aFieldName"
Field* FieldQueue::GetFieldByIndex (Int anIndex)
Returns a field of index "anIndex"
Int FieldQueue::GetIndexOf (Char *aFieldName)
Returns index of a field in this queue starting from 1
Err FieldQueue::Insert (Field *aField)
Inserts a field into the queue
Field* FieldQueue::Next ()
Returns pointer to a field which is next to the current one
Size FieldQueue::SizeOf ()
Counts the SUM of Fields sizes
FieldQueue::~FieldQueue ()
Destructor - deletes all Fields stored in the queue

Public

methods
FieldQueue (LogFile *aLogFile = NULL)
constructor
FieldQueue (FieldQueue &aQueue, LogFile *aLogFile = NULL)
constructor
virtual ~FieldQueue ()
destructor
Int GetIndexOf (Char *aFieldName)
Return index of field in queue
Field* GetField (Char *aFieldName)
return field
Field* GetFieldByIndex (Int anIndex)
return specific field
virtual Size SizeOf ()
Total size of queue
Err Insert (Field *aField)
Insert field into queue
Void DiscardAll ()
Throw fields away

queue iteration

Inherited from Queue:

Public Methods

Void Queue::Delete(Void *obj)
Void Queue::DeleteAll()
Void* Queue::DeleteAt(Int index)
Void Queue::DeleteCurrent()
Void* Queue::First()
Err Queue::Insert(Void *obj)
Int Queue::InsertAt(Void *obj, Int index)
Err Queue::InsertAtCurrent(Void *obj)
Void* Queue::ItemAt(Int index)
Int Queue::ItemsOfQ()
Void* Queue::Next()
Queue::Queue()
Void Queue::SetCurrent(Int index)
Void Queue::SetCurrent(Void *obj)
Queue::~Queue()

Protected

attributes


Inherited from Debugable:

Public Methods

string* Debugable::CreateString(char *firstStr, int firstInt, int secondInt)
Debugable::Debugable(LogFile * debugLogFile)
int Debugable::SetDebugOptions(int newLogOptions)
void Debugable::SetLogFile(LogFile *aLogFile)
void Debugable::WriteString(LogLevel debugLevel, char * format, ...)
Debugable::~Debugable()

Documentation

Field queue class. enables to work easier with a queue storing Fields
methods

FieldQueue(LogFile *aLogFile = NULL)
constructor

FieldQueue(FieldQueue &aQueue, LogFile *aLogFile = NULL)
constructor

virtual ~FieldQueue()
destructor

Int GetIndexOf(Char *aFieldName)
Return index of field in queue

Field* GetField(Char *aFieldName)
return field

Field* GetFieldByIndex(Int anIndex)
return specific field

virtual Size SizeOf()
Total size of queue

Err Insert(Field *aField)
Insert field into queue

Void DiscardAll()
Throw fields away

queue iteration

Void FieldQueue::DiscardAll()
Deletes all Fields stored in the queue. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

FieldQueue::FieldQueue(LogFile *aLogFile)
FieldQueue onstructor. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

FieldQueue::FieldQueue(FieldQueue &aQueue, LogFile *aLogFile)
Copy constructor. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Field* FieldQueue::First()
Returns pointer to the first field. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Field* FieldQueue::GetField(Char *aFieldName)
Returns a field of name "aFieldName". Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Field* FieldQueue::GetFieldByIndex(Int anIndex)
Returns a field of index "anIndex". Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Int FieldQueue::GetIndexOf(Char *aFieldName)
Returns index of a field in this queue starting from 1.. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Err FieldQueue::Insert(Field *aField)
Inserts a field into the queue. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Field* FieldQueue::Next()
Returns pointer to a field which is next to the current one. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Size FieldQueue::SizeOf()
Counts the SUM of Fields sizes. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

FieldQueue::~FieldQueue()
Destructor - deletes all Fields stored in the queue. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka


Direct child classes:
TableFieldQueue
Author:
Pavel
See Also:
TableFieldQueue

alphabetic index hierarchy of classes


generated by doc++