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 (const char *key)
 
 PathArgument (const std::string &key)
 
 PathArgument (UInt index)
 

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

◆ Kind

Enumerator
kindNone 
kindIndex 
kindKey 

Definition at line 421 of file value.h.

421 { kindNone = 0, kindIndex, kindKey };

Constructor & Destructor Documentation

◆ PathArgument() [1/4]

Json::PathArgument::PathArgument ( )

◆ PathArgument() [2/4]

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

UInt Json::PathArgument::index_
private

Definition at line 423 of file value.h.

◆ key_

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

Definition at line 422 of file value.h.

◆ kind_

Kind Json::PathArgument::kind_
private

Definition at line 424 of file value.h.

Json::PathArgument::kindKey
Definition: value.h:421
Json::PathArgument::kindIndex
Definition: value.h:421
Json::PathArgument::kindNone
Definition: value.h:421