OpenCPN Partial API docs
Loading...
Searching...
No Matches
wxJSONValueHolder Union Reference

The actual value held by the wxJSONValue class (internal use) More...

#include <jsonval.h>

Public Attributes

int m_valInt
 
unsigned int m_valUInt
 
short int m_valShort
 
unsigned short m_valUShort
 
long int m_valLong
 
unsigned long m_valULong
 
double m_valDouble
 
const wxChar * m_valCString
 
bool m_valBool
 

Detailed Description

The actual value held by the wxJSONValue class (internal use)

Note that this structure is a union as in versions prior to 0.4.x The union just stores primitive types and not complex types which are stored in separate data members of the wxJSONRefData structure.

This organization give us more flexibility when retrieving compatible types such as ints unsigned ints, long and so on. To know more about the internal structure of the wxJSONValue class see pg_json_internals.

Definition at line 320 of file jsonval.h.

Member Data Documentation

◆ m_valBool

bool wxJSONValueHolder::m_valBool

Definition at line 329 of file jsonval.h.

◆ m_valCString

const wxChar * wxJSONValueHolder::m_valCString

Definition at line 328 of file jsonval.h.

◆ m_valDouble

double wxJSONValueHolder::m_valDouble

Definition at line 327 of file jsonval.h.

◆ m_valInt

int wxJSONValueHolder::m_valInt

Definition at line 321 of file jsonval.h.

◆ m_valLong

long int wxJSONValueHolder::m_valLong

Definition at line 325 of file jsonval.h.

◆ m_valShort

short int wxJSONValueHolder::m_valShort

Definition at line 323 of file jsonval.h.

◆ m_valUInt

unsigned int wxJSONValueHolder::m_valUInt

Definition at line 322 of file jsonval.h.

◆ m_valULong

unsigned long wxJSONValueHolder::m_valULong

Definition at line 326 of file jsonval.h.

◆ m_valUShort

unsigned short wxJSONValueHolder::m_valUShort

Definition at line 324 of file jsonval.h.


The documentation for this union was generated from the following files: