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

class Record

Record in the Table

Inheritance:

Record


Public Methods

Char* Record::AsString ()
Composes values of fields into a string
Int Record::FieldByIndexEqualTo (Int anIndex, Void *aFieldValue)
Kratky_komentar_s_teckou_na_konci
TableField* Record::GetField (Char *aFieldName)
Returns a pointer to a field with given name (or a NULL pointer)
TableField* Record::GetFieldByIndex (Int anIndex)
Returns a pointer to a field with given index (or a NULL pointer)
Int Record::IsFixed ()
Returns 1 if the length of the record is fixed; 0 otherwise
Err Record::ReadFromFile (File *tableFile, Size *count)
Kratky_komentar_s_teckou_na_konci
Record::Record (TableFieldQueue *modelQueue)
Record constructor
Err Record::SetField (const Char *aFieldName, const Void *aFieldValue)
Kratky_komentar_s_teckou_na_konci
Size Record::SizeOf ()
Returns the size of AsString()
Int Record::SizeOfHeader ()
Returns the size of the header in a string returned by AsString()
Err Record::WriteToFile (File *tableFile)
Writes all TableFields from "fields" stored to an open "tableFile"
Record::~Record ()
Destructor for Record

Public

methods
Record (TableFieldQueue *modelQueue)
constructor
~Record ()
destructor

conversions

record information

field manipulation

Private

attributes
TableFieldQueue* fields
Fields stored in table

Documentation

Record in the Table. Description: This file contains the Record class which is used for storing and retrieving information to/from a Table
attributes

TableFieldQueue* fields
Fields stored in table

methods

Record(TableFieldQueue *modelQueue)
constructor

~Record()
destructor

conversions

record information

field manipulation

Char* Record::AsString()
Composes values of fields into a string. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

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

TableField* Record::GetField(Char *aFieldName)
Returns a pointer to a field with given name (or a NULL pointer). Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

TableField* Record::GetFieldByIndex(Int anIndex)
Returns a pointer to a field with given index (or a NULL pointer). Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

Int Record::IsFixed()
Returns 1 if the length of the record is fixed; 0 otherwise. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

Err Record::ReadFromFile(File *tableFile, Size *count)
Kratky_komentar_s_teckou_na_konci. Parses "count" bytes to TableFields according to "fields" reading it from the current position in an open "tableFile".
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

Record::Record(TableFieldQueue *modelQueue)
Record constructor. This file contains the Record class which is used for storing and retrieving information to/from a Table.
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

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

Size Record::SizeOf()
Returns the size of AsString(). Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

Int Record::SizeOfHeader()
Returns the size of the header in a string returned by AsString(). Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

Err Record::WriteToFile(File *tableFile)
Writes all TableFields from "fields" stored to an open "tableFile". Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka

Record::~Record()
Destructor for Record. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
jmeno
See Also:
co_se_toho_tyka


This class has no child classes.
Author:
Marek, Pavel
See Also:
co_se_toho_tyka

alphabetic index hierarchy of classes


generated by doc++