A Member is one of the elements inside a Record_datatype.
More...
A Member is one of the elements inside a Record_datatype.
◆ Member() [1/2]
PDI::Record_datatype::Member::Member |
( |
size_t |
displacement, |
|
|
Datatype_sptr |
type, |
|
|
const std::string & |
name |
|
) |
| |
Construct a new member.
- Parameters
-
displacement | offset or distance in byte from the Record_datatype start |
type | type of the contained member |
name | name of this specific member |
◆ Member() [2/2]
PDI::Record_datatype::Member::Member |
( |
const Member & |
o | ) |
|
Construct a new member by copy.
- Parameters
-
◆ displacement()
size_t PDI::Record_datatype::Member::displacement |
( |
| ) |
const |
◆ type()
Access the type of the contained member.
- Returns
- the type of the contained member
◆ name()
const std::string & PDI::Record_datatype::Member::name |
( |
| ) |
const |
Access the name of this specific member.
- Returns
- the name of this specific member
◆ operator==()
bool PDI::Record_datatype::Member::operator== |
( |
const Member & |
rhs | ) |
const |
Tests another member for equality.
- Parameters
-
rhs | the other member to compare |
- Returns
- true if the members are equal
◆ operator!=()
bool PDI::Record_datatype::Member::operator!= |
( |
const Member & |
rhs | ) |
const |
Tests another member for inequality.
- Parameters
-
rhs | the other member to compare |
- Returns
- true if the members are different
The documentation for this class was generated from the following file: