CYCLUS
Public Member Functions | List of all members
Json::Path Class Reference

Detailed Description

Experimental and untested: represents a "path" to access a node.

Syntax:

Definition at line 3643 of file pyne.h.

#include <pyne.h>

Public Member Functions

Valuemake (Value &root) const
 
 Path (const std::string &path, const PathArgument &a1=PathArgument(), const PathArgument &a2=PathArgument(), const PathArgument &a3=PathArgument(), const PathArgument &a4=PathArgument(), const PathArgument &a5=PathArgument())
 
const Valueresolve (const Value &root) const
 
Value resolve (const Value &root, const Value &defaultValue) const
 

Constructor & Destructor Documentation

◆ Path()

Json::Path::Path ( const std::string &  path,
const PathArgument a1 = PathArgument(),
const PathArgument a2 = PathArgument(),
const PathArgument a3 = PathArgument(),
const PathArgument a4 = PathArgument(),
const PathArgument a5 = PathArgument() 
)

Definition at line 15914 of file pyne.cc.

Member Function Documentation

◆ make()

Value & Json::Path::make ( Value root) const

Creates the "path" to access the specified node and returns a reference on the node.

Definition at line 16035 of file pyne.cc.

◆ resolve() [1/2]

const Value & Json::Path::resolve ( const Value root) const

Definition at line 15989 of file pyne.cc.

◆ resolve() [2/2]

Value Json::Path::resolve ( const Value root,
const Value defaultValue 
) const

Definition at line 16013 of file pyne.cc.


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