CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Attributes | Friends
Json::PathArgument Class Reference

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

#include <value.h>

Public Member Functions

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

Private Types

enum  Kind { kindNone = 0, kindIndex, kindKey }
 

Private Attributes

UInt 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 411 of file value.h.

Member Enumeration Documentation

Enumerator
kindNone 
kindIndex 
kindKey 

Definition at line 421 of file value.h.

Constructor & Destructor Documentation

Json::PathArgument::PathArgument ( )
Json::PathArgument::PathArgument ( UInt  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

UInt Json::PathArgument::index_
private

Definition at line 423 of file value.h.

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

Definition at line 422 of file value.h.

Kind Json::PathArgument::kind_
private

Definition at line 424 of file value.h.