pfp::core::ConfigurationParameterNode Class Reference
+ Collaboration diagram for pfp::core::ConfigurationParameterNode:

Classes

struct  CompareResult
 

Public Types

typedef json Matrix
 

Public Member Functions

 ConfigurationParameterNode (std::string filename)
 
 ConfigurationParameterNode (Matrix object)
 
ConfigurationParameterNode operator[] (const int position)
 [operator[] overloads for searching and chaining to maintain intuitive syntax Default behaviour is for hierarchy lookups] More...
 
ConfigurationParameterNode operator[] (const std::string Value)
 [operator[] overloads for searching and chaining to maintain intuitive syntax Default behaviour is for hierarchy lookups] More...
 
Matrix get ()
 Getter to access the [value for KVP] or [value at the position in a list] after search. More...
 
template<typename T >
get ()
 
Matrix LocalSearch (std::string param)
 
Matrix LocalSearch (int position)
 
Matrix HeirarchalSearch (std::string param)
 
Matrix HeirarchalSearch (int position)
 
Matrix Searchinparent (std::string Value, pfp::core::PFPObject *ParentModule)
 
Matrix Searchinparent (int position, pfp::core::PFPObject *ParentModule)
 
CompareResult CompareStructure (Matrix compareto, Matrix golden)
 
ConfigurationParameterNode MatchandFill (ConfigurationParameterNode matchagainst)
 
void raiseError (std::string message, Matrix compare, Matrix golden)
 
void raiseError (std::string)
 

Member Function Documentation

ConfigurationParameterNode::Matrix pfp::core::ConfigurationParameterNode::get ( )

Getter to access the [value for KVP] or [value at the position in a list] after search.

Returns
[object of json type]
ConfigurationParameterNode pfp::core::ConfigurationParameterNode::operator[] ( const int  position)
inline

[operator[] overloads for searching and chaining to maintain intuitive syntax Default behaviour is for hierarchy lookups]

Parameters
position[index position in list ]
Returns
[description]
ConfigurationParameterNode pfp::core::ConfigurationParameterNode::operator[] ( const std::string  Value)
inline

[operator[] overloads for searching and chaining to maintain intuitive syntax Default behaviour is for hierarchy lookups]

Parameters
Value[key in a keyvalue pair]
Returns
[description]

The documentation for this class was generated from the following files:
  • /home/lemniscate/workspace/PFPSim/pfpsim/core/ConfigurationParameters.h
  • /home/lemniscate/workspace/PFPSim/pfpsim/core/ConfigurationParameters.cpp