IOSS  2.0
Json::PathArgument Class Reference

Experimental and untested: represents an element of the "path" to access a node. More...

#include <json.h>

Public Member Functions

 PathArgument ()
 
 PathArgument (ArrayIndex index)
 
 PathArgument (const char *key)
 
 PathArgument (const std::string &key)
 

Private Types

enum  Kind { kindNone = 0, kindIndex, kindKey }
 

Private Attributes

std::string key_
 
ArrayIndex index_
 
Kind kind_
 

Friends

class Path
 

Detailed Description

Experimental and untested: represents an element of the "path" to access a node.

Member Enumeration Documentation

◆ Kind

Enumerator
kindNone 
kindIndex 
kindKey 

Constructor & Destructor Documentation

◆ PathArgument() [1/4]

Json::PathArgument::PathArgument ( )

◆ PathArgument() [2/4]

Json::PathArgument::PathArgument ( ArrayIndex  index)

◆ PathArgument() [3/4]

Json::PathArgument::PathArgument ( const char *  key)

◆ PathArgument() [4/4]

Json::PathArgument::PathArgument ( const std::string &  key)

Friends And Related Function Documentation

◆ Path

friend class Path
friend

Member Data Documentation

◆ index_

ArrayIndex Json::PathArgument::index_
private

◆ key_

std::string Json::PathArgument::key_
private

◆ kind_

Kind Json::PathArgument::kind_
private

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