CONZEPT 16 C++ API
|
Constant field buffer of a record buffer. More...
#include "C16/Record.hpp"
Constant field buffer of a record buffer.
Public Member Functions | |
FieldConst (const Record &record, const C16::Field &field) | |
Constructs a constent field buffer of a record buffer by means of its corresponing field. More... | |
FieldConst (const Record &record, int subrecord_number, int field_number) | |
Constructs a constant field buffer of a record buffer by means of the number of its subrecord and the number of its corresponing field. More... | |
FieldConst (const Record &record, const std::string &field_name) | |
Constructs a constant field buffer of a record buffer by means of the name of its corresponing field. More... | |
Value | value () const |
Gets the value of the field buffer. More... | |
operator Value () const | |
Gets the value of the field buffer. More... | |
![]() | |
const Record & | record () const override |
Gets the record buffer of the field buffer. More... | |
![]() | |
const Field & | field () const |
Gets the field of the field buffer. More... | |
C16::Record::FieldConst< Value >::FieldConst | ( | const Record & | record, |
const C16::Field & | field | ||
) |
Constructs a constent field buffer of a record buffer by means of its corresponing field.
record | Record buffer |
field | Field |
Exception::Difference | Table different. Table of the field is different to table of the record buffer. |
Exception::Difference | Type different. Type of the field is different to the value type. |
C16::Record::FieldConst< Value >::FieldConst | ( | const Record & | record, |
int | subrecord_number, | ||
int | field_number | ||
) |
Constructs a constant field buffer of a record buffer by means of the number of its subrecord and the number of its corresponing field.
record | Record buffer |
subrecord_number | Number of the subrecord |
field_number | Number of the field |
Exception::Inexistence | Field inexistent. |
Exception::Difference | Type different. Type of the field is different to the value type. |
C16::Record::FieldConst< Value >::FieldConst | ( | const Record & | record, |
const std::string & | field_name | ||
) |
Constructs a constant field buffer of a record buffer by means of the name of its corresponing field.
record | Record buffer |
field_name | Name of the field |
Exception::Inexistence | Field inexistent. |
Exception::Difference | Type different. Type of the field is different to the value type. |
Value C16::Record::FieldConst< Value >::value | ( | ) | const |
Gets the value of the field buffer.
C16::Record::FieldConst< Value >::operator Value | ( | ) | const |
Gets the value of the field buffer.