|
SAGA API
v9.6
|
Go to the documentation of this file.
248 if( Field >= 0 && Field < m_pTable->Get_Field_Count() )
272 if( Field >= 0 && Field < m_pTable->Get_Field_Count() )
296 return(
Set_Value(Field, (
double)Value) );
301 return(
Set_Value(Field, (
double)Value) );
307 if( Field >= 0 && Field < m_pTable->Get_Field_Count() )
331 if( Field >= 0 && Field < m_pTable->Get_Field_Count() )
347 if( Field >= 0 && Field < m_pTable->Get_Field_Count() )
368 if( Field >= 0 && Field < m_pTable->Get_Field_Count() )
418 if( Field >= 0 && Field < m_pTable->Get_Field_Count() )
443 return(
m_Values[Field]->asBinary().Get_Count() == 0 );
463 return( Field >= 0 && Field < m_pTable->Get_Field_Count() ?
m_Values[Field]->
asString(Decimals) : NULL );
485 return( (
short)
asInt(Field) );
496 return( Field >= 0 && Field < m_pTable->Get_Field_Count() ?
m_Values[Field]->
asInt() : 0 );
507 return( Field >= 0 && Field < m_pTable->Get_Field_Count() ?
m_Values[Field]->
asLong() : 0 );
529 return( Field >= 0 && Field < m_pTable->Get_Field_Count() ?
m_Values[Field]->
asDouble() : 0. );
550 for(
int iField=0; iField<nFields; iField++)
double asDouble(int Field) const
size_t Length(void) const
short asShort(int Field) const
virtual ~CSG_Table_Record(void)
void Set_Selected(bool bOn=true)
double Get_NoData_Value(bool bUpper=false) const
class CSG_Table * m_pTable
SAGA_API_DLL_EXPORT void * SG_Malloc(size_t size)
#define SG_TABLE_REC_FLAG_Selected
sLong asLong(int Field) const
bool is_NoData_Value(double Value) const
virtual bool Assign(CSG_Table_Record *pRecord)
virtual CSG_Bytes asBinary(void) const
bool is_Selected(void) const
int Get_Field_Count(void) const
SG_Char asChar(int Field) const
SAGA_API_DLL_EXPORT void SG_Free(void *memblock)
class CSG_Table_Value ** m_Values
void Set_Update_Flag(bool bOn=true)
bool is_NoData(int Field) const
virtual void Set_Modified(bool bModified=true)
int Cmp(const CSG_String &String) const
bool _Stats_Invalidate(void) const
const SG_Char * asString(int Field, int Decimals=-99) const
CSG_Table_Record(class CSG_Table *pTable, sLong Index)
const SG_Char * Get_Field_Name(int iField) const
#define SG_TABLE_REC_FLAG_Modified
static CSG_Table_Value * _Create_Value(TSG_Data_Type Type)
float asFloat(int iField) const
bool _Add_Field(int add_Field)
bool Add_Value(int Field, double Value)
void Set_Modified(bool bOn=true)
int asInt(int Field) const
virtual double asDouble(void) const =0
bool Set_Value(int Field, const CSG_String &Value)
bool Mul_Value(int Field, double Value)
virtual bool Select(sLong Index, bool bInvert=false)
SAGA_API_DLL_EXPORT void * SG_Realloc(void *memblock, size_t size)
TSG_Data_Type Get_Field_Type(int iField) const
virtual int asInt(void) const =0
bool is_Modified(void) const
bool Set_NoData(int Field)
int _Get_Field(const CSG_String &Field) const
bool _Del_Field(int del_Field)