#include <ogr_feature.h>
|
FieldValue & | operator= (const FieldValue &oOther) |
|
FieldValue & | operator= (int nVal) |
|
FieldValue & | operator= (GIntBig nVal) |
|
FieldValue & | operator= (double dfVal) |
|
FieldValue & | operator= (const char *pszVal) |
|
FieldValue & | operator= (const std::string &osVal) |
|
FieldValue & | operator= (const std::vector< int > &oArray) |
|
FieldValue & | operator= (const std::vector< GIntBig > &oArray) |
|
FieldValue & | operator= (const std::vector< double > &oArray) |
|
FieldValue & | operator= (const std::vector< std::string > &oArray) |
|
FieldValue & | operator= (CSLConstList papszValues) |
|
void | SetNull () |
|
void | clear () |
|
void | Unset () |
|
void | SetDateTime (int nYear, int nMonth, int nDay, int nHour=0, int nMinute=0, float fSecond=0.f, int nTZFlag=0) |
|
int | GetIndex () const |
|
const OGRFieldDefn * | GetDefn () const |
|
const char * | GetName () const |
|
OGRFieldType | GetType () const |
|
OGRFieldSubType | GetSubType () const |
|
bool | empty () const |
|
bool | IsUnset () const |
|
bool | IsNull () const |
|
const OGRField * | GetRawValue () const |
|
int | GetInteger () const |
|
GIntBig | GetInteger64 () const |
|
double | GetDouble () const |
|
const char * | GetString () const |
|
bool | GetDateTime (int *pnYear, int *pnMonth, int *pnDay, int *pnHour, int *pnMinute, float *pfSecond, int *pnTZFlag) const |
|
| operator int () const |
|
| operator GIntBig () const |
|
| operator double () const |
|
| operator const char * () const |
|
| operator const std::vector< int > & () const |
|
| operator const std::vector< GIntBig > & () const |
|
| operator const std::vector< double > & () const |
|
| operator const std::vector< std::string > & () const |
|
| operator CSLConstList () const |
|
int | GetAsInteger () const |
|
GIntBig | GetAsInteger64 () const |
|
double | GetAsDouble () const |
|
const char * | GetAsString () const |
|
const std::vector< int > & | GetAsIntegerList () const |
|
const std::vector< GIntBig > & | GetAsInteger64List () const |
|
const std::vector< double > & | GetAsDoubleList () const |
|
const std::vector< std::string > & | GetAsStringList () const |
|
◆ clear()
void OGRFeature::FieldValue::clear |
( |
| ) |
|
◆ empty()
bool OGRFeature::FieldValue::empty |
( |
| ) |
const |
|
inline |
Return whether the field value is unset/empty.
◆ GetAsDouble()
double OGRFeature::FieldValue::GetAsDouble |
( |
| ) |
const |
◆ GetAsDoubleList()
const std::vector< double > & OGRFeature::FieldValue::GetAsDoubleList |
( |
| ) |
const |
◆ GetAsInteger()
int OGRFeature::FieldValue::GetAsInteger |
( |
| ) |
const |
◆ GetAsInteger64()
GIntBig OGRFeature::FieldValue::GetAsInteger64 |
( |
| ) |
const |
◆ GetAsInteger64List()
const std::vector< GIntBig > & OGRFeature::FieldValue::GetAsInteger64List |
( |
| ) |
const |
◆ GetAsIntegerList()
const std::vector< int > & OGRFeature::FieldValue::GetAsIntegerList |
( |
| ) |
const |
◆ GetAsString()
const char * OGRFeature::FieldValue::GetAsString |
( |
| ) |
const |
◆ GetAsStringList()
const std::vector< std::string > & OGRFeature::FieldValue::GetAsStringList |
( |
| ) |
const |
◆ GetDateTime()
bool OGRFeature::FieldValue::GetDateTime |
( |
int * |
pnYear, |
|
|
int * |
pnMonth, |
|
|
int * |
pnDay, |
|
|
int * |
pnHour, |
|
|
int * |
pnMinute, |
|
|
float * |
pfSecond, |
|
|
int * |
pnTZFlag |
|
) |
| const |
Return the date/time/datetime value.
Referenced by operator=().
◆ GetDefn()
const OGRFieldDefn * OGRFeature::FieldValue::GetDefn |
( |
| ) |
const |
◆ GetDouble()
double OGRFeature::FieldValue::GetDouble |
( |
| ) |
const |
|
inline |
Return the double value. Only use that method if and only if GetType() == OFTReal.
◆ GetIndex()
int OGRFeature::FieldValue::GetIndex |
( |
| ) |
const |
◆ GetInteger()
int OGRFeature::FieldValue::GetInteger |
( |
| ) |
const |
|
inline |
Return the integer value. Only use that method if and only if GetType() == OFTInteger.
◆ GetInteger64()
GIntBig OGRFeature::FieldValue::GetInteger64 |
( |
| ) |
const |
|
inline |
Return the 64-bit integer value. Only use that method if and only if GetType() == OFTInteger64.
◆ GetName()
const char* OGRFeature::FieldValue::GetName |
( |
| ) |
const |
|
inline |
◆ GetRawValue()
const OGRField * OGRFeature::FieldValue::GetRawValue |
( |
| ) |
const |
Return the raw field value
◆ GetString()
const char* OGRFeature::FieldValue::GetString |
( |
| ) |
const |
|
inline |
Return the string value. Only use that method if and only if GetType() == OFTString.
◆ GetSubType()
◆ GetType()
◆ IsNull()
bool OGRFeature::FieldValue::IsNull |
( |
| ) |
const |
Return whether the field value is null.
◆ IsUnset()
bool OGRFeature::FieldValue::IsUnset |
( |
| ) |
const |
Return whether the field value is unset/empty.
◆ operator const char *()
OGRFeature::FieldValue::operator const char * |
( |
| ) |
const |
|
inline |
Return the field value as string, with potential conversion
◆ operator const std::vector< double > &()
OGRFeature::FieldValue::operator const std::vector< double > & |
( |
| ) |
const |
|
inline |
Return the field value as double list, with potential conversion
◆ operator const std::vector< GIntBig > &()
OGRFeature::FieldValue::operator const std::vector< GIntBig > & |
( |
| ) |
const |
|
inline |
Return the field value as 64-bit integer list, with potential conversion
◆ operator const std::vector< int > &()
OGRFeature::FieldValue::operator const std::vector< int > & |
( |
| ) |
const |
|
inline |
Return the field value as integer list, with potential conversion
◆ operator const std::vector< std::string > &()
OGRFeature::FieldValue::operator const std::vector< std::string > & |
( |
| ) |
const |
|
inline |
Return the field value as string list, with potential conversion
◆ operator CSLConstList()
◆ operator double()
OGRFeature::FieldValue::operator double |
( |
| ) |
const |
|
inline |
Return the field value as double, with potential conversion
◆ operator GIntBig()
OGRFeature::FieldValue::operator GIntBig |
( |
| ) |
const |
|
inline |
Return the field value as 64-bit integer, with potential conversion
◆ operator int()
OGRFeature::FieldValue::operator int |
( |
| ) |
const |
|
inline |
Return the field value as integer, with potential conversion
◆ operator=() [1/11]
Set a field value from another one.
References GetDateTime(), OFTDate, OFTDateTime, OFTInteger, OFTInteger64, OFTInteger64List, OFTIntegerList, OFTReal, OFTRealList, OFTString, OFTStringList, and OFTTime.
◆ operator=() [2/11]
Set an integer value to the field.
◆ operator=() [3/11]
Set an integer value to the field.
◆ operator=() [4/11]
Set a real value to the field.
◆ operator=() [5/11]
Set a string value to the field.
◆ operator=() [6/11]
Set a string value to the field.
◆ operator=() [7/11]
Set an array of integer to the field.
◆ operator=() [8/11]
Set an array of big integer to the field.
◆ operator=() [9/11]
Set an array of double to the field.
◆ operator=() [10/11]
◆ operator=() [11/11]
Set an array of strings to the field.
◆ SetDateTime()
void OGRFeature::FieldValue::SetDateTime |
( |
int |
nYear, |
|
|
int |
nMonth, |
|
|
int |
nDay, |
|
|
int |
nHour = 0 , |
|
|
int |
nMinute = 0 , |
|
|
float |
fSecond = 0.f , |
|
|
int |
nTZFlag = 0 |
|
) |
| |
◆ SetNull()
void OGRFeature::FieldValue::SetNull |
( |
| ) |
|
Set a null value to the field.
◆ Unset()
void OGRFeature::FieldValue::Unset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: