Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::JSONKeyValue Class Reference

Represents a (key,value) pair of JSON. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/common/arccore/common/JSONReader.h>

Collaboration diagram for Arcane::JSONKeyValue:

Classes

class  Impl

Public Member Functions

bool null () const
 True if the node is null.
bool operator! () const
StringView name () const
JSONValue value () const

Private Member Functions

 JSONKeyValue (Impl *p)

Private Attributes

friend JSONWrapperUtils
Implm_p

Detailed Description

Represents a (key,value) pair of JSON.

Instances of this class are only valid as long as the associated document exists.

Warning
Internal API. Do not use outside of Arcane.

Definition at line 121 of file arccore/src/common/arccore/common/JSONReader.h.

Constructor & Destructor Documentation

◆ JSONKeyValue() [1/2]

Arcane::JSONKeyValue::JSONKeyValue ( Impl * p)
inlineexplicitprivate

◆ JSONKeyValue() [2/2]

Arcane::JSONKeyValue::JSONKeyValue ( )
inline

Member Function Documentation

◆ name()

StringView Arcane::JSONKeyValue::name ( ) const

Definition at line 89 of file JSONReader.cc.

◆ null()

bool Arcane::JSONKeyValue::null ( ) const
inline

True if the node is null.

Definition at line 141 of file arccore/src/common/arccore/common/JSONReader.h.

◆ operator!()

bool Arcane::JSONKeyValue::operator! ( ) const
inline

◆ value()

JSONValue Arcane::JSONKeyValue::value ( ) const

Definition at line 103 of file JSONReader.cc.

Member Data Documentation

◆ JSONWrapperUtils

friend Arcane::JSONKeyValue::JSONWrapperUtils
private

◆ m_p

Impl* Arcane::JSONKeyValue::m_p
private

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