SAGA API  v9.6
CSG_Table_Value Class Referenceabstract

#include <table_value.h>

Inheritance diagram for CSG_Table_Value:
CSG_Table_Value_Binary CSG_Table_Value_Date CSG_Table_Value_Double CSG_Table_Value_Int CSG_Table_Value_Long CSG_Table_Value_String

Public Member Functions

 CSG_Table_Value (void)
 
virtual ~CSG_Table_Value (void)
 
virtual TSG_Table_Value_Type Get_Type (void) const =0
 
virtual bool Set_Value (const CSG_Bytes &Value)=0
 
virtual bool Set_Value (const SG_Char *Value)=0
 
virtual bool Set_Value (int Value)=0
 
virtual bool Set_Value (sLong Value)=0
 
virtual bool Set_Value (double Value)=0
 
virtual CSG_Bytes asBinary (void) const
 
virtual const SG_CharasString (int Decimals=-99) const =0
 
virtual int asInt (void) const =0
 
virtual sLong asLong (void) const =0
 
virtual double asDouble (void) const =0
 
virtual bool is_Equal (const CSG_Table_Value &Value) const =0
 
bool operator== (const CSG_Table_Value &Value) const
 
 operator const SG_Char * (void) const
 
 operator double (void) const
 
virtual CSG_Table_Valueoperator= (const SG_Char *Value)
 
virtual CSG_Table_Valueoperator= (double Value)
 
virtual CSG_Table_Valueoperator= (const CSG_Table_Value &Value)=0
 

Detailed Description

Definition at line 110 of file table_value.h.

Constructor & Destructor Documentation

◆ CSG_Table_Value()

CSG_Table_Value::CSG_Table_Value ( void  )
inline

Definition at line 113 of file table_value.h.

◆ ~CSG_Table_Value()

virtual CSG_Table_Value::~CSG_Table_Value ( void  )
inlinevirtual

Definition at line 114 of file table_value.h.

Member Function Documentation

◆ asBinary()

virtual CSG_Bytes CSG_Table_Value::asBinary ( void  ) const
inlinevirtual

Reimplemented in CSG_Table_Value_Binary.

Definition at line 126 of file table_value.h.

References asString(), SG_Char, and SG_STR_LEN.

Referenced by CSG_Table_Value_Binary::operator=(), and CSG_Table_Record::Set_NoData().

◆ asDouble()

◆ asInt()

◆ asLong()

◆ asString()

◆ Get_Type()

◆ is_Equal()

virtual bool CSG_Table_Value::is_Equal ( const CSG_Table_Value Value) const
pure virtual

◆ operator const SG_Char *()

CSG_Table_Value::operator const SG_Char * ( void  ) const
inline

Definition at line 143 of file table_value.h.

References asString().

◆ operator double()

CSG_Table_Value::operator double ( void  ) const
inline

Definition at line 144 of file table_value.h.

References asDouble().

◆ operator=() [1/3]

◆ operator=() [2/3]

virtual CSG_Table_Value& CSG_Table_Value::operator= ( const SG_Char Value)
inlinevirtual

Definition at line 147 of file table_value.h.

References Set_Value().

◆ operator=() [3/3]

virtual CSG_Table_Value& CSG_Table_Value::operator= ( double  Value)
inlinevirtual

Definition at line 148 of file table_value.h.

References Set_Value().

◆ operator==()

bool CSG_Table_Value::operator== ( const CSG_Table_Value Value) const
inline

Definition at line 140 of file table_value.h.

References is_Equal().

◆ Set_Value() [1/5]

virtual bool CSG_Table_Value::Set_Value ( const CSG_Bytes Value)
pure virtual

◆ Set_Value() [2/5]

virtual bool CSG_Table_Value::Set_Value ( const SG_Char Value)
pure virtual

◆ Set_Value() [3/5]

virtual bool CSG_Table_Value::Set_Value ( double  Value)
pure virtual

◆ Set_Value() [4/5]

virtual bool CSG_Table_Value::Set_Value ( int  Value)
pure virtual

◆ Set_Value() [5/5]

virtual bool CSG_Table_Value::Set_Value ( sLong  Value)
pure virtual

The documentation for this class was generated from the following file: