GDAL
|
Class for a component of a compound extended data type. More...
#include <gdal_priv.h>
Public Member Functions | |
GDALEDTComponent (const std::string &name, size_t offset, const GDALExtendedDataType &type) | |
constructor of a GDALEDTComponent More... | |
GDALEDTComponent (const GDALEDTComponent &) | |
Copy constructor. | |
bool | operator== (const GDALEDTComponent &) const |
Equality operator. | |
const std::string & | GetName () const |
Return the name. More... | |
size_t | GetOffset () const |
Return the offset (in bytes) of the component in the compound data type. More... | |
const GDALExtendedDataType & | GetType () const |
Return the data type of the component. More... | |
Class for a component of a compound extended data type.
GDALEDTComponent::GDALEDTComponent | ( | const std::string & | name, |
size_t | offset, | ||
const GDALExtendedDataType & | type | ||
) |
constructor of a GDALEDTComponent
This is the same as the C function GDALEDTComponendCreate()
name | Component name |
offset | Offset in byte of the component in the compound data type. In case of nesting of compound data type, this should be the offset to the immediate belonging data type, not to the higher level one. |
type | Component data type. |
|
inline |
Return the name.
This is the same as the C function GDALEDTComponentGetName().
|
inline |
Return the offset (in bytes) of the component in the compound data type.
This is the same as the C function GDALEDTComponentGetOffset().
|
inline |
Return the data type of the component.
This is the same as the C function GDALEDTComponentGetType().