SAGA API  v9.6
CSG_Table_Value_Int Class Reference

#include <table_value.h>

Inheritance diagram for CSG_Table_Value_Int:
CSG_Table_Value

Public Member Functions

 CSG_Table_Value_Int (void)
 
virtual ~CSG_Table_Value_Int (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 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)
 
- Public Member Functions inherited from CSG_Table_Value
 CSG_Table_Value (void)
 
virtual ~CSG_Table_Value (void)
 
virtual CSG_Bytes asBinary (void) const
 
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 383 of file table_value.h.

Constructor & Destructor Documentation

◆ CSG_Table_Value_Int()

CSG_Table_Value_Int::CSG_Table_Value_Int ( void  )
inline

Definition at line 386 of file table_value.h.

◆ ~CSG_Table_Value_Int()

virtual CSG_Table_Value_Int::~CSG_Table_Value_Int ( void  )
inlinevirtual

Definition at line 387 of file table_value.h.

Member Function Documentation

◆ asDouble()

virtual double CSG_Table_Value_Int::asDouble ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 439 of file table_value.h.

◆ asInt()

virtual int CSG_Table_Value_Int::asInt ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 437 of file table_value.h.

◆ asLong()

virtual sLong CSG_Table_Value_Int::asLong ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 438 of file table_value.h.

◆ asString()

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

Implements CSG_Table_Value.

Definition at line 428 of file table_value.h.

References CSG_String::c_str(), and CSG_String::Printf().

◆ Get_Type()

virtual TSG_Table_Value_Type CSG_Table_Value_Int::Get_Type ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 389 of file table_value.h.

References SG_TABLE_VALUE_TYPE_Int.

◆ is_Equal()

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

Implements CSG_Table_Value.

Definition at line 442 of file table_value.h.

References CSG_Table_Value::asInt().

◆ operator=()

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

Implements CSG_Table_Value.

Definition at line 448 of file table_value.h.

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

◆ Set_Value() [1/5]

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

Implements CSG_Table_Value.

Definition at line 392 of file table_value.h.

References CSG_Bytes::Get_Bytes(), and SG_Char.

Referenced by operator=(), and Set_Value().

◆ Set_Value() [2/5]

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

Implements CSG_Table_Value.

Definition at line 397 of file table_value.h.

References CSG_String::asInt(), and Set_Value().

◆ Set_Value() [3/5]

virtual bool CSG_Table_Value_Int::Set_Value ( double  Value)
inlinevirtual

Implements CSG_Table_Value.

Definition at line 422 of file table_value.h.

References Set_Value().

◆ Set_Value() [4/5]

virtual bool CSG_Table_Value_Int::Set_Value ( int  Value)
inlinevirtual

Implements CSG_Table_Value.

Definition at line 405 of file table_value.h.

◆ Set_Value() [5/5]

virtual bool CSG_Table_Value_Int::Set_Value ( sLong  Value)
inlinevirtual

Implements CSG_Table_Value.

Definition at line 417 of file table_value.h.

References Set_Value().


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