#include <InputScraper.H>
|
| static void | SetTraversalMode (bool enabled) |
| |
| static bool | InTraversalMode () |
| |
| static bool | ShouldExecute () |
| |
| static const InputNode & | InputTree () |
| |
| static void | ClearInputTree () |
| |
| static void | SetTraversalOutputFile (std::string path) |
| |
| static const std::string & | TraversalOutputFile () |
| |
| static void | WriteInputTreeJson (std::ostream &os) |
| |
| static void | WriteInputTreeJsonFile (const std::string &path) |
| |
| static std::string | DirectiveName (const std::source_location &location) |
| |
| static void | RecordInput (ParmParse &pp, std::string name, std::string directive, const std::source_location &location, std::vector< std::string > options={}, std::optional< std::string > default_value=std::nullopt, bool has_unnamed_default=false) |
| |
| static void | RecordConstraint (ParmParse &pp, std::string kind, int count, std::vector< std::string > members, std::vector< std::string > units, const std::source_location &location) |
| |
| static void | RecordTraversalIgnore (const std::source_location &location, std::string note) |
| |
| static void | CaptureSequenceTemplate (ParmParse &pp, const std::string &sequence_name, const std::string &template_name) |
| |
| static void | PrintTraversalBranch (ParmParse &pp, std::string name, const std::string &value) |
| |
| template<typename T > |
| static std::string | InputValueString (const T &value) |
| |
| static std::string | InputValueString (const std::string &value) |
| |
| static std::string | InputValueString (const char *value) |
| |
| template<typename T > |
| static std::string | InputArrayString (const std::vector< T > &values) |
| |
| static std::string | InputArrayString (const Set::Vector &value) |
| |
| static std::string | InputArrayString (const Set::Matrix &value) |
| |
|
| static InputNode & | GetPath (InputNode &root, const std::string &path) |
| |
| static std::string | KindForDirective (const std::string &directive, const std::vector< std::string > &options={}) |
| |
| static std::string | MergeKind (const std::string &old_kind, const std::string &new_kind) |
| |
| static void | AddContext (InputNode &node, const std::vector< InputNode::Condition > &conditions) |
| |
| static void | RecordFlowInput (const std::string &path, const std::string &directive, const std::vector< std::string > &options, const std::source_location &location, bool has_unnamed_default) |
| |
| static void | PushTraversalCondition (ParmParse &pp, std::string name, std::string value) |
| |
| static void | PopTraversalCondition () |
| |
| static void | PushTraversalBranch (ParmParse &pp, const std::string &name, const std::string &value) |
| |
| static void | PopTraversalBranch () |
| |
Definition at line 17 of file InputScraper.H.
◆ AddContext()
◆ CaptureSequenceTemplate()
| void IO::InputScraper::CaptureSequenceTemplate |
( |
ParmParse & |
pp, |
|
|
const std::string & |
sequence_name, |
|
|
const std::string & |
template_name |
|
) |
| |
|
static |
◆ ClearInputTree()
| void IO::InputScraper::ClearInputTree |
( |
| ) |
|
|
static |
◆ DirectiveName()
| std::string IO::InputScraper::DirectiveName |
( |
const std::source_location & |
location | ) |
|
|
static |
◆ GetPath()
◆ InputArrayString() [1/3]
| static std::string IO::InputScraper::InputArrayString |
( |
const Set::Matrix & |
value | ) |
|
|
inlinestatic |
◆ InputArrayString() [2/3]
| static std::string IO::InputScraper::InputArrayString |
( |
const Set::Vector & |
value | ) |
|
|
inlinestatic |
◆ InputArrayString() [3/3]
template<typename T >
| static std::string IO::InputScraper::InputArrayString |
( |
const std::vector< T > & |
values | ) |
|
|
inlinestatic |
◆ InputTree()
◆ InputValueString() [1/3]
| static std::string IO::InputScraper::InputValueString |
( |
const char * |
value | ) |
|
|
inlinestatic |
◆ InputValueString() [2/3]
| static std::string IO::InputScraper::InputValueString |
( |
const std::string & |
value | ) |
|
|
inlinestatic |
◆ InputValueString() [3/3]
template<typename T >
| static std::string IO::InputScraper::InputValueString |
( |
const T & |
value | ) |
|
|
inlinestatic |
◆ InTraversalMode()
| bool IO::InputScraper::InTraversalMode |
( |
| ) |
|
|
static |
◆ KindForDirective()
| std::string IO::InputScraper::KindForDirective |
( |
const std::string & |
directive, |
|
|
const std::vector< std::string > & |
options = {} |
|
) |
| |
|
staticprivate |
◆ MergeKind()
| std::string IO::InputScraper::MergeKind |
( |
const std::string & |
old_kind, |
|
|
const std::string & |
new_kind |
|
) |
| |
|
staticprivate |
◆ PopTraversalBranch()
| void IO::InputScraper::PopTraversalBranch |
( |
| ) |
|
|
staticprivate |
◆ PopTraversalCondition()
| void IO::InputScraper::PopTraversalCondition |
( |
| ) |
|
|
staticprivate |
◆ PrintTraversalBranch()
| void IO::InputScraper::PrintTraversalBranch |
( |
ParmParse & |
pp, |
|
|
std::string |
name, |
|
|
const std::string & |
value |
|
) |
| |
|
static |
◆ PushTraversalBranch()
| void IO::InputScraper::PushTraversalBranch |
( |
ParmParse & |
pp, |
|
|
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
|
staticprivate |
◆ PushTraversalCondition()
| void IO::InputScraper::PushTraversalCondition |
( |
ParmParse & |
pp, |
|
|
std::string |
name, |
|
|
std::string |
value |
|
) |
| |
|
staticprivate |
◆ RecordConstraint()
| void IO::InputScraper::RecordConstraint |
( |
ParmParse & |
pp, |
|
|
std::string |
kind, |
|
|
int |
count, |
|
|
std::vector< std::string > |
members, |
|
|
std::vector< std::string > |
units, |
|
|
const std::source_location & |
location |
|
) |
| |
|
static |
◆ RecordFlowInput()
| void IO::InputScraper::RecordFlowInput |
( |
const std::string & |
path, |
|
|
const std::string & |
directive, |
|
|
const std::vector< std::string > & |
options, |
|
|
const std::source_location & |
location, |
|
|
bool |
has_unnamed_default |
|
) |
| |
|
staticprivate |
◆ RecordInput()
| void IO::InputScraper::RecordInput |
( |
ParmParse & |
pp, |
|
|
std::string |
name, |
|
|
std::string |
directive, |
|
|
const std::source_location & |
location, |
|
|
std::vector< std::string > |
options = {}, |
|
|
std::optional< std::string > |
default_value = std::nullopt, |
|
|
bool |
has_unnamed_default = false |
|
) |
| |
|
static |
◆ RecordTraversalIgnore()
| void IO::InputScraper::RecordTraversalIgnore |
( |
const std::source_location & |
location, |
|
|
std::string |
note |
|
) |
| |
|
static |
◆ SetTraversalMode()
| void IO::InputScraper::SetTraversalMode |
( |
bool |
enabled | ) |
|
|
static |
◆ SetTraversalOutputFile()
| void IO::InputScraper::SetTraversalOutputFile |
( |
std::string |
path | ) |
|
|
static |
◆ ShouldExecute()
| bool IO::InputScraper::ShouldExecute |
( |
| ) |
|
|
static |
◆ TraversalOutputFile()
| const std::string & IO::InputScraper::TraversalOutputFile |
( |
| ) |
|
|
static |
◆ WriteInputTreeJson()
| void IO::InputScraper::WriteInputTreeJson |
( |
std::ostream & |
os | ) |
|
|
static |
◆ WriteInputTreeJsonFile()
| void IO::InputScraper::WriteInputTreeJsonFile |
( |
const std::string & |
path | ) |
|
|
static |
◆ input_flow
◆ input_tree
◆ traversal_conditions
◆ traversal_flow
◆ traversal_flow_stack
◆ traversal_ignores
◆ traversal_mode
| bool IO::InputScraper::traversal_mode = false |
|
staticprivate |
◆ traversal_output_file
| std::string IO::InputScraper::traversal_output_file = "alamo-inputs.schema.json" |
|
staticprivate |
◆ traversal_print_depth
| int IO::InputScraper::traversal_print_depth = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: