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

class TableFieldQueue : public FieldQueue

Table field queue

Inheritance:

TableFieldQueue < FieldQueue < Queue


Public Methods

Int TableFieldQueue::FieldByIndexEqualTo (Int anIndex, Void *aFieldValue)
Returns 1 if the value of the field at index "anIndex" equals
Int TableFieldQueue::FieldsFixed ()
Returns 1 if all TableFields are fixed, 0 otherwise
TableField* TableFieldQueue::First ()
Returns pointer to the first field
TableField* TableFieldQueue::Next ()
Returns pointer to the next field
Err TableFieldQueue::SetField (Char *aFieldName, Void *aFieldValue)
Finds a field of name "aFieldName" (if such is not found returns
TableFieldQueue::TableFieldQueue (LogFile *aLogFile)
Copy constructor

Public

methods
TableFieldQueue (LogFile *aLogFile = NULL)
constructor
Int FieldsFixed ()
queue information
Int FieldByIndexEqualTo (Int anIndex, Void *aValue)
Return specific field from queue.
Err SetField (Char *aFieldName, Void *aValue)
field of queue manipulation

queue iteration

Inherited from FieldQueue:

Public Methods

Void FieldQueue::DiscardAll()
FieldQueue::FieldQueue(LogFile *aLogFile)
FieldQueue::FieldQueue(FieldQueue &aQueue, LogFile *aLogFile)
Field* FieldQueue::First()
Field* FieldQueue::GetField(Char *aFieldName)
Field* FieldQueue::GetFieldByIndex(Int anIndex)
Int FieldQueue::GetIndexOf(Char *aFieldName)
Err FieldQueue::Insert(Field *aField)
Field* FieldQueue::Next()
Size FieldQueue::SizeOf()
FieldQueue::~FieldQueue()

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

Table field queue. Enables to work easier with a queue storing TableFields The TableFieldQueue class (defined lower) is designed for work with a queue of TableFields and to simplify the work with Table definition (see table.h) by hiding unnecessary things and retyping returned objs to *TableField.

NOTE: Unlike the Queue class, the FieldQueue class discards all objs it holds, when destructor is called.

methods

TableFieldQueue(LogFile *aLogFile = NULL)
constructor

Int FieldsFixed()
queue information

Int FieldByIndexEqualTo(Int anIndex, Void *aValue)
Return specific field from queue.

Err SetField(Char *aFieldName, Void *aValue)
field of queue manipulation

queue iteration

Int TableFieldQueue::FieldByIndexEqualTo(Int anIndex, Void *aFieldValue)
Returns 1 if the value of the field at index "anIndex" equals. to "aFieldValue". 0 otherwise.. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Int TableFieldQueue::FieldsFixed()
Returns 1 if all TableFields are fixed, 0 otherwise. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

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

TableField* TableFieldQueue::Next()
Returns pointer to the next field. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Err TableFieldQueue::SetField(Char *aFieldName, Void *aFieldValue)
Finds a field of name "aFieldName" (if such is not found returns. KO) and sets its value to "aFieldValue". Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

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


This class has no child classes.
Author:
Pavel
See Also:
FieldQueue

alphabetic index hierarchy of classes


generated by doc++