Public Member Functions | Private Types | Private Attributes | Friends | List of all members
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

ArrayIndex index_
 
std::string key_
 
Kind kind_
 

Friends

class Path
 

Detailed Description

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

Definition at line 819 of file json.h.

Member Enumeration Documentation

Enumerator
kindNone 
kindIndex 
kindKey 

Definition at line 830 of file json.h.

Constructor & Destructor Documentation

Json::PathArgument::PathArgument ( )

Definition at line 3163 of file jsoncpp.cpp.

Json::PathArgument::PathArgument ( ArrayIndex  index)

Definition at line 3169 of file jsoncpp.cpp.

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

Definition at line 3176 of file jsoncpp.cpp.

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

Definition at line 3183 of file jsoncpp.cpp.

Friends And Related Function Documentation

friend class Path
friend

Definition at line 822 of file json.h.

Member Data Documentation

ArrayIndex Json::PathArgument::index_
private

Definition at line 837 of file json.h.

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

Definition at line 836 of file json.h.

Kind Json::PathArgument::kind_
private

Definition at line 838 of file json.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Jun 10 2019 13:21:32