All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_JSONFindResult Struct Reference

#include <UT_JSONValue.h>

Public Member Functions

 UT_JSONFindResult (UT_JSONValue *v=nullptr, int64 idx=-1)
SYS_SAFE_BOOL operator bool () const
const UT_JSONValueoperator-> () const
UT_JSONValueoperator-> ()
const UT_JSONValueoperator* () const
UT_JSONValueMapgetMap () const
UT_JSONValueArraygetArray () const
UT_JSONValueget () const
int64 index () const

Public Attributes

int64 myIndex

Detailed Description

Ideally, this should be an inner class to UT_JSONValue, but it needs to be forward declared

Definition at line 35 of file UT_JSONValue.h.

Constructor & Destructor Documentation

UT_JSONFindResult::UT_JSONFindResult ( UT_JSONValue v = nullptr,
int64  idx = -1 

Definition at line 37 of file UT_JSONValue.h.

Member Function Documentation

UT_JSONValue* UT_JSONFindResult::get ( ) const

Definition at line 50 of file UT_JSONValue.h.

UT_JSONValueArray* UT_JSONFindResult::getArray ( ) const
UT_JSONValueMap* UT_JSONFindResult::getMap ( ) const
int64 UT_JSONFindResult::index ( ) const

Definition at line 51 of file UT_JSONValue.h.

SYS_SAFE_BOOL UT_JSONFindResult::operator bool ( ) const

Definition at line 43 of file UT_JSONValue.h.

const UT_JSONValue& UT_JSONFindResult::operator* ( ) const

Definition at line 46 of file UT_JSONValue.h.

const UT_JSONValue* UT_JSONFindResult::operator-> ( ) const

Definition at line 44 of file UT_JSONValue.h.

UT_JSONValue* UT_JSONFindResult::operator-> ( )

Definition at line 45 of file UT_JSONValue.h.

Member Data Documentation

int64 UT_JSONFindResult::myIndex

Definition at line 54 of file UT_JSONValue.h.

UT_JSONValue* UT_JSONFindResult::myValue

Definition at line 53 of file UT_JSONValue.h.

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