SAGA API  v9.7
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 SG_Char *Value)
 
virtual CSG_Table_Valueoperator= (double Value)
 
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
 

Detailed Description

Definition at line 389 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 392 of file table_value.h.

◆ ~CSG_Table_Value_Int()

virtual CSG_Table_Value_Int::~CSG_Table_Value_Int ( void  )
inlinevirtual

Definition at line 393 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 445 of file table_value.h.

◆ asInt()

virtual int CSG_Table_Value_Int::asInt ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 443 of file table_value.h.

◆ asLong()

virtual sLong CSG_Table_Value_Int::asLong ( void  ) const
inlinevirtual

Implements CSG_Table_Value.

Definition at line 444 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 434 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 395 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 448 of file table_value.h.

References CSG_Table_Value::asInt().

◆ operator=() [1/3]

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

Implements CSG_Table_Value.

Definition at line 456 of file table_value.h.

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

◆ operator=() [2/3]

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

Reimplemented from CSG_Table_Value.

Definition at line 454 of file table_value.h.

References Set_Value().

◆ operator=() [3/3]

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

Reimplemented from CSG_Table_Value.

Definition at line 455 of file table_value.h.

References 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 398 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 403 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 428 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 411 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 423 of file table_value.h.

References Set_Value().


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