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 943 of file json.h.

Member Enumeration Documentation

Enumerator
kindNone 
kindIndex 
kindKey 

Definition at line 953 of file json.h.

Constructor & Destructor Documentation

Json::PathArgument::PathArgument ( )

Definition at line 3784 of file jsoncpp.cpp.

Json::PathArgument::PathArgument ( ArrayIndex  index)

Definition at line 3786 of file jsoncpp.cpp.

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

Definition at line 3789 of file jsoncpp.cpp.

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

Definition at line 3792 of file jsoncpp.cpp.

Friends And Related Function Documentation

friend class Path
friend

Definition at line 945 of file json.h.

Member Data Documentation

ArrayIndex Json::PathArgument::index_
private

Definition at line 959 of file json.h.

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

Definition at line 958 of file json.h.

Kind Json::PathArgument::kind_
private

Definition at line 960 of file json.h.


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


mission_planning
Author(s): ivan
autogenerated on Thu Nov 12 2015 19:08:20