![]() |
QMCPACK
|
Input type for EstimatorManagerNew Parses Estimators level of input and and delegates child estimator nodes to appropriate estimator input class Will later provide access to estimator input instances for estimator construction. More...
Public Member Functions | |
EstimatorManagerInput ()=default | |
EstimatorManagerInput (const EstimatorManagerInput &emi)=default | |
EstimatorManagerInput (EstimatorManagerInput &&emi)=default | |
EstimatorManagerInput & | operator= (const EstimatorManagerInput &emi)=default |
EstimatorManagerInput & | operator= (EstimatorManagerInput &&emi)=default |
EstimatorManagerInput (std::initializer_list< EstimatorManagerInput > emil) | |
EstimatorManagerInput (xmlNodePtr cur) | |
EstimatorInputs & | get_estimator_inputs () |
ScalarEstimatorInputs & | get_scalar_estimator_inputs () |
void | readXML (xmlNodePtr cur) |
read <estimators> node or (<estimator> node for legacy support) This can be done multiple times with <estimators> nodes or with <estimator> nodes to support deprecated bare <estimator> definitions More... | |
void | append (const EstimatorInput &ei) |
typed appending of already parsed inputs. More... | |
void | append (const ScalarEstimatorInput &sei) |
Private Member Functions | |
template<typename T > | |
void | appendEstimatorInput (xmlNodePtr node) |
template<typename T > | |
void | appendScalarEstimatorInput (xmlNodePtr node) |
Private Attributes | |
EstimatorInputs | estimator_inputs_ |
this is a vector of variants for typesafe access to the estimator inputs More... | |
ScalarEstimatorInputs | scalar_estimator_inputs_ |
Friends | |
class | testing::EstimatorManagerInputTests |
Input type for EstimatorManagerNew Parses Estimators level of input and and delegates child estimator nodes to appropriate estimator input class Will later provide access to estimator input instances for estimator construction.
Definition at line 68 of file EstimatorManagerInput.h.
|
default |
|
default |
|
default |
EstimatorManagerInput | ( | std::initializer_list< EstimatorManagerInput > | emil | ) |
Definition at line 21 of file EstimatorManagerInput.cpp.
References copy(), qmcplusplus::emi(), EstimatorManagerInput::estimator_inputs_, and EstimatorManagerInput::scalar_estimator_inputs_.
EstimatorManagerInput | ( | xmlNodePtr | cur | ) |
Definition at line 19 of file EstimatorManagerInput.cpp.
References EstimatorManagerInput::readXML().
void append | ( | const EstimatorInput & | ei | ) |
typed appending of already parsed inputs.
only used in testing.
Definition at line 113 of file EstimatorManagerInput.cpp.
References EstimatorManagerInput::estimator_inputs_.
Referenced by qmcplusplus::TEST_CASE().
void append | ( | const ScalarEstimatorInput & | sei | ) |
Definition at line 114 of file EstimatorManagerInput.cpp.
References EstimatorManagerInput::scalar_estimator_inputs_.
|
inlineprivate |
Definition at line 100 of file EstimatorManagerInput.h.
References EstimatorManagerInput::estimator_inputs_, and qmcplusplus::node.
Referenced by EstimatorManagerInputTests::testAppendFromXML().
|
inlineprivate |
Definition at line 106 of file EstimatorManagerInput.h.
References qmcplusplus::node, and EstimatorManagerInput::scalar_estimator_inputs_.
|
inline |
Definition at line 80 of file EstimatorManagerInput.h.
References EstimatorManagerInput::estimator_inputs_.
Referenced by EstimatorManagerNew::EstimatorManagerNew(), and qmcplusplus::TEST_CASE().
|
inline |
Definition at line 81 of file EstimatorManagerInput.h.
References EstimatorManagerInput::scalar_estimator_inputs_.
Referenced by EstimatorManagerNew::EstimatorManagerNew(), and qmcplusplus::TEST_CASE().
|
default |
|
default |
void readXML | ( | xmlNodePtr | cur | ) |
read <estimators> node or (<estimator> node for legacy support) This can be done multiple times with <estimators> nodes or with <estimator> nodes to support deprecated bare <estimator> definitions
Definition at line 47 of file EstimatorManagerInput.cpp.
References qmcplusplus::app_summary(), qmcplusplus::app_warning(), castXMLCharToChar(), getXMLAttributeValue(), and qmcplusplus::lowerCase().
Referenced by EstimatorManagerInput::EstimatorManagerInput().
|
friend |
Definition at line 111 of file EstimatorManagerInput.h.
|
private |
this is a vector of variants for typesafe access to the estimator inputs
Definition at line 96 of file EstimatorManagerInput.h.
Referenced by EstimatorManagerInput::append(), EstimatorManagerInput::appendEstimatorInput(), EstimatorManagerInput::EstimatorManagerInput(), and EstimatorManagerInput::get_estimator_inputs().
|
private |
Definition at line 97 of file EstimatorManagerInput.h.
Referenced by EstimatorManagerInput::append(), EstimatorManagerInput::appendScalarEstimatorInput(), EstimatorManagerInput::EstimatorManagerInput(), and EstimatorManagerInput::get_scalar_estimator_inputs().