Fields of a table.
More...
#include "C16/Table.hpp"
◆ get() [1/3]
virtual Field& C16::Table::Fields::get |
( |
int |
subrecord_number, |
|
|
int |
number |
|
) |
| const |
|
pure virtual |
Gets a field by means of the number of the subrecord and the number of the field.
- Parameters
-
- Returns
- Field
- Exceptions
-
◆ get() [2/3]
virtual Field& C16::Table::Fields::get |
( |
const std::string & |
name | ) |
const |
|
pure virtual |
Gets a field by means of its name.
- Parameters
-
name | Name of the field (case insensitive) |
- Exceptions
-
◆ get() [3/3]
virtual Field& C16::Table::Fields::get |
( |
int |
subrecord_number, |
|
|
const std::string & |
name |
|
) |
| const |
|
pure virtual |
Gets a field by means of the number of the subrecord and the name of the field.
- Parameters
-
subrecord_number | Number of the subrecord |
name | Name of the field (case insensitive) |
- Exceptions
-
◆ get_if_existent() [1/2]
virtual Field* C16::Table::Fields::get_if_existent |
( |
const std::string & |
name | ) |
const |
|
pure virtual |
Gets a field by means of its name, if existent.
- Parameters
-
name | Name of the field (case insensitive) |
- Return values
-
!= nullptr | Pointer to the field. |
nullptr | Field inexistent. |
◆ get_if_existent() [2/2]
virtual Field* C16::Table::Fields::get_if_existent |
( |
int |
subrecord_number, |
|
|
const std::string & |
name |
|
) |
| const |
|
pure virtual |
Gets a field by means of the number of the subrecord and the name of the field, if existent.
- Parameters
-
subrecord_number | Number of the subrecord |
name | Name of the field (case insensitive) |
- Return values
-
!= nullptr | Pointer to the field. |
nullptr | Field inexistent. |