OpendTect  7.0
Public Member Functions | Public Attributes | List of all members
Gason::JsonValue Union Reference

Public Member Functions

 JsonValue (double x)
 
 JsonValue (JsonTag tag=JSON_NULL, void *payload=nullptr)
 
uint64_t getPayload () const
 
JsonTag getTag () const
 
bool isDouble () const
 
JsonNodetoNode () const
 
double toNumber () const
 
char * toString () const
 

Public Attributes

double fval
 
uint64_t ival
 

Constructor & Destructor Documentation

◆ JsonValue() [1/2]

Gason::JsonValue::JsonValue ( double  x)
inline

◆ JsonValue() [2/2]

Gason::JsonValue::JsonValue ( JsonTag  tag = JSON_NULL,
void *  payload = nullptr 
)
inline

Member Function Documentation

◆ getPayload()

uint64_t Gason::JsonValue::getPayload ( ) const
inline

◆ getTag()

JsonTag Gason::JsonValue::getTag ( ) const
inline

◆ isDouble()

bool Gason::JsonValue::isDouble ( ) const
inline

◆ toNode()

JsonNode* Gason::JsonValue::toNode ( ) const
inline

◆ toNumber()

double Gason::JsonValue::toNumber ( ) const
inline

◆ toString()

char* Gason::JsonValue::toString ( ) const
inline

Member Data Documentation

◆ fval

double Gason::JsonValue::fval

◆ ival

uint64_t Gason::JsonValue::ival

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024