pflib v2.7.0-1-gd371ab6a
Polarfire Interaction Library
Rcmap Class Reference

Public Member Functions

void addFile (YAML::Node *)
 
bool has_key (const std::string &keyname) const
 Does this map have the given key ?
 
bool is_vector (const std::string &keyname) const
 Is this key a vector?
 
bool is_map (const std::string &keyname) const
 Is this key a submap?
 
Rcmap getMap (const std::string &keyname) const
 get item as map
 
std::vector< std::stringgetVString (const std::string &keyname) const
 get item as vector of strings
 
std::vector< bool > getVBool (const std::string &keyname) const
 get item as vector of bools
 
std::vector< int > getVInt (const std::string &keyname) const
 get item as vector of ints
 
std::string getString (const std::string &keyname) const
 get item as scalar string
 
bool getBool (const std::string &keyname) const
 get item as scalar bool
 
int getInt (const std::string &keyname) const
 get item as scalar int More...
 

Protected Attributes

std::vector< YAML::Node * > nodes_
 

Member Function Documentation

◆ getInt()

int Rcmap::getInt ( const std::string keyname) const

get item as scalar int

gRcmap::et item as scalar int


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