Myra Canyon  v0.0.1-768
network control
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Json::PathArgument Class Reference

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

#include "json.h"

Collaboration diagram for Json::PathArgument:

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

Enumerator
kindNone 
kindIndex 
kindKey 

Constructor & Destructor Documentation

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

Friends And Related Function Documentation

friend class Path
friend

Member Data Documentation

ArrayIndex Json::PathArgument::index_
private
std::string Json::PathArgument::key_
private
Kind Json::PathArgument::kind_
private

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