Skip to content

Class nptool::InputParser

ClassList > nptool > InputParser

Public Functions

Type Name
void Clear ()
void Dump ()
std::vector< std::string > GetAllBlocksToken ()
std::vector< std::string > GetAllBlocksValues (std::string token)
std::vector< BlockPtr > GetAllBlocksWithToken (std::string Token)
std::vector< BlockPtr > GetAllBlocksWithTokenAndValue (std::string Token, std::string Value)
InputParser ()
InputParser (std::string filename, bool silent=false)
void Print ()
BlockPtr ProcessBlock (YAML::const_iterator it)
void ReadFile (std::string filename, bool silent=false)
void SuppressAllBlocksWithToken (std::string Token)
void TreatAliases ()
~InputParser ()

Public Functions Documentation

function Clear

void nptool::InputParser::Clear () 

function Dump

void nptool::InputParser::Dump () 

function GetAllBlocksToken

std::vector< std::string > nptool::InputParser::GetAllBlocksToken () 

function GetAllBlocksValues

std::vector< std::string > nptool::InputParser::GetAllBlocksValues (
    std::string token
) 

function GetAllBlocksWithToken

std::vector< BlockPtr > nptool::InputParser::GetAllBlocksWithToken (
    std::string Token
) 

function GetAllBlocksWithTokenAndValue

std::vector< BlockPtr > nptool::InputParser::GetAllBlocksWithTokenAndValue (
    std::string Token,
    std::string Value
) 

function InputParser [1/2]

inline nptool::InputParser::InputParser () 

function InputParser [2/2]

inline nptool::InputParser::InputParser (
    std::string filename,
    bool silent=false
) 

function Print

inline void nptool::InputParser::Print () 

function ProcessBlock

BlockPtr nptool::InputParser::ProcessBlock (
    YAML::const_iterator it
) 

function ReadFile

void nptool::InputParser::ReadFile (
    std::string filename,
    bool silent=false
) 

function SuppressAllBlocksWithToken

void nptool::InputParser::SuppressAllBlocksWithToken (
    std::string Token
) 

function TreatAliases

void nptool::InputParser::TreatAliases () 

function ~InputParser

inline nptool::InputParser::~InputParser () 


The documentation for this class was generated from the following file src/core/NPInputParser.h