SAGA API  v9.6
CSG_Table_Value_Binary Class Reference

#include <table_value.h>

Inheritance diagram for CSG_Table_Value_Binary:
CSG_Table_Value

Public Member Functions

 CSG_Table_Value_Binary (void)
 
virtual ~CSG_Table_Value_Binary (void)
 
virtual TSG_Table_Value_Type Get_Type (void) const
 
virtual bool Set_Value (const CSG_Bytes &Value)
 
virtual bool Set_Value (const SG_Char *Value)
 
virtual bool Set_Value (int Value)
 
virtual bool Set_Value (sLong Value)
 
virtual bool Set_Value (double Value)
 
virtual bool Set_NoData (void)
 
virtual bool is_NoData (void) const
 
virtual CSG_Bytes asBinary (void) const
 
virtual const SG_CharasString (int Decimals=-99) const
 
virtual int asInt (void) const
 
virtual sLong asLong (void) const
 
virtual double asDouble (void) const
 
virtual bool is_Equal (const CSG_Table_Value &Value) const
 
virtual CSG_Table_Valueoperator= (const CSG_Table_Value &Value)
 
CSG_BytesGet_Binary (void)
 
- Public Member Functions inherited from CSG_Table_Value
 CSG_Table_Value (void)
 
virtual ~CSG_Table_Value (void)
 
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)
 

Detailed Description

Definition at line 159 of file table_value.h.

Constructor & Destructor Documentation

◆ CSG_Table_Value_Binary()

CSG_Table_Value_Binary::CSG_Table_Value_Binary ( void  )
inline

Definition at line 162 of file table_value.h.

◆ ~CSG_Table_Value_Binary()

virtual CSG_Table_Value_Binary::~CSG_Table_Value_Binary ( void  )
inlinevirtual

Definition at line 163 of file table_value.h.

Member Function Documentation

◆ asBinary()

virtual CSG_Bytes CSG_Table_Value_Binary::asBinary ( void  ) const
inlinevirtual

Reimplemented from CSG_Table_Value.

Definition at line 198 of file table_value.h.

◆ asDouble()

virtual double CSG_Table_Value_Binary::asDouble ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 202 of file table_value.h.

◆ asInt()

virtual int CSG_Table_Value_Binary::asInt ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 200 of file table_value.h.

References CSG_Bytes::Get_Count().

◆ asLong()

virtual sLong CSG_Table_Value_Binary::asLong ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 201 of file table_value.h.

References CSG_Bytes::Get_Count().

◆ asString()

virtual const SG_Char* CSG_Table_Value_Binary::asString ( int  Decimals = -99) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 199 of file table_value.h.

References CSG_Bytes::Get_Bytes(), and SG_Char.

Referenced by is_Equal().

◆ Get_Binary()

CSG_Bytes& CSG_Table_Value_Binary::Get_Binary ( void  )
inline

Definition at line 214 of file table_value.h.

◆ Get_Type()

virtual TSG_Table_Value_Type CSG_Table_Value_Binary::Get_Type ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 165 of file table_value.h.

References SG_TABLE_VALUE_TYPE_Binary.

◆ is_Equal()

virtual bool CSG_Table_Value_Binary::is_Equal ( const CSG_Table_Value Value) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 205 of file table_value.h.

References asString(), CSG_Table_Value::asString(), and SG_STR_CMP.

◆ is_NoData()

virtual bool CSG_Table_Value_Binary::is_NoData ( void  ) const
inlinevirtual

Definition at line 195 of file table_value.h.

References CSG_Bytes::Get_Count().

◆ operator=()

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

Implements CSG_Table_Value.

Definition at line 211 of file table_value.h.

References CSG_Table_Value::asBinary(), and Set_Value().

◆ Set_NoData()

virtual bool CSG_Table_Value_Binary::Set_NoData ( void  )
inlinevirtual

Definition at line 194 of file table_value.h.

References CSG_Bytes::Destroy().

◆ Set_Value() [1/5]

virtual bool CSG_Table_Value_Binary::Set_Value ( const CSG_Bytes Value)
inlinevirtual

Implements CSG_Table_Value.

Definition at line 168 of file table_value.h.

References CSG_Bytes::Create().

Referenced by operator=().

◆ Set_Value() [2/5]

virtual bool CSG_Table_Value_Binary::Set_Value ( const SG_Char Value)
inlinevirtual

Implements CSG_Table_Value.

Definition at line 173 of file table_value.h.

References CSG_Bytes::Create(), SG_Char, and SG_STR_LEN.

◆ Set_Value() [3/5]

virtual bool CSG_Table_Value_Binary::Set_Value ( double  Value)
inlinevirtual

Implements CSG_Table_Value.

Definition at line 188 of file table_value.h.

References CSG_Bytes::Create().

◆ Set_Value() [4/5]

virtual bool CSG_Table_Value_Binary::Set_Value ( int  Value)
inlinevirtual

Implements CSG_Table_Value.

Definition at line 178 of file table_value.h.

References CSG_Bytes::Create().

◆ Set_Value() [5/5]

virtual bool CSG_Table_Value_Binary::Set_Value ( sLong  Value)
inlinevirtual

Implements CSG_Table_Value.

Definition at line 183 of file table_value.h.

References CSG_Bytes::Create().


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