SG++-Doxygen-Documentation
|
#include <Node.hpp>
Public Member Functions | |
virtual void | addAttribute (const std::string &name, std::unique_ptr< Node > node) |
virtual Node & | addDictAttr (const std::string &name) |
virtual Node & | addDictValue () |
virtual Node & | addIDAttr (const std::string &name, const std::string &value) |
virtual Node & | addIDAttr (const std::string &name, const char *value) |
virtual Node & | addIDAttr (const std::string &name, const double &value) |
virtual Node & | addIDAttr (const std::string &name, const uint64_t &value) |
virtual Node & | addIDAttr (const std::string &name, const int64_t &value) |
virtual Node & | addIDAttr (const std::string &name, const bool &value) |
virtual Node & | addIdValue (const std::string &value) |
virtual Node & | addIdValue (const char *value) |
virtual Node & | addIdValue (const double &value) |
virtual Node & | addIdValue (const uint64_t &value) |
virtual Node & | addIdValue (const int64_t &value) |
virtual Node & | addIdValue (const bool &value) |
virtual Node & | addListAttr (const std::string &name) |
virtual Node & | addListValue () |
virtual Node & | addTextAttr (const std::string &name, const std::string &value) |
virtual Node & | addTextValue (const std::string &value) |
virtual void | addValue (std::unique_ptr< Node > node) |
virtual Node * | clone ()=0 |
virtual bool | contains (const std::string &key) |
virtual std::unique_ptr< Node > | erase (Node &node) |
virtual std::unique_ptr< Node > | erase () |
virtual std::string & | get () |
virtual bool | getBool () |
virtual double | getDouble () |
virtual int64_t | getInt () |
virtual uint64_t | getUInt () |
virtual std::vector< std::string > & | keys () |
Node () | |
virtual Node & | operator= (const Node &right) |
virtual Node & | operator[] (const std::string &key) |
virtual Node & | operator[] (const size_t index) |
virtual void | parse (std::vector< Token > &stream)=0 |
virtual std::unique_ptr< Node > | removeAttribute (const std::string name) |
virtual std::unique_ptr< Node > | removeValue (size_t index) |
virtual Node & | replaceDictAttr (const std::string &name) |
virtual Node & | replaceIDAttr (const std::string &name, const std::string &value) |
virtual Node & | replaceIDAttr (const std::string &name, const char *value) |
virtual Node & | replaceIDAttr (const std::string &name, const double &value) |
virtual Node & | replaceIDAttr (const std::string &name, const uint64_t &value) |
virtual Node & | replaceIDAttr (const std::string &name, const int64_t &value) |
virtual Node & | replaceIDAttr (const std::string &name, const bool &value) |
virtual Node & | replaceListAttr (const std::string &name) |
virtual Node & | replaceTextAttr (const std::string &name, const std::string &value) |
virtual void | serialize (std::ostream &outFile, size_t indentWidth)=0 |
virtual void | set (const std::string &value) |
virtual void | setBool (bool boolValue) |
virtual void | setDouble (double doubleValue) |
virtual void | setInt (int64_t intValue) |
virtual void | setUInt (uint64_t uintValue) |
virtual size_t | size ()=0 |
virtual | ~Node ()=default |
Public Attributes | |
size_t | orderedKeyIndex |
Node * | parent |
Static Protected Attributes | |
static const int | SERIALIZE_INDENT = 3 |
json::Node::Node | ( | ) |
|
virtualdefault |
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::clusteringmpi::MPIEnviroment::createMPIConfiguration(), and python.data.DataSpecification.DataSpecification::createNumericAttributes().
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), sgpp::base::OCLManagerMultiPlatform::configureDevice(), and sgpp::base::OCLManagerMultiPlatform::configurePlatform().
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), and sgpp::datadriven::clusteringmpi::MPIEnviroment::createMPIConfiguration().
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), and sgpp::datadriven::createStreamingBSplineOCLConfigured().
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
pure virtual |
Implemented in json::IDNode, sgpp::datadriven::SparseGridDensityEstimatorConfiguration, json::TextNode, sgpp::combigrid::OrthogonalPolynomialBasis1DConfiguration, json::DictNode, json::ListNode, sgpp::datadriven::LearnerSGDEConfiguration, json::JSON, sgpp::base::OCLOperationConfiguration, and sgpp::base::OperationConfiguration.
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), sgpp::base::OCLManagerMultiPlatform::buildKernel(), sgpp::base::OCLManagerMultiPlatform::configureDevice(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderPruneGraph< T >::generateSource(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderB< T >::generateSource(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderCreateGraph< T >::generateSource(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< T >::generateSource(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::KernelCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::KernelDensityMult(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderCreateGraph< T >::SourceBuilderCreateGraph(), and sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< T >::SourceBuilderMult().
Reimplemented in json::DictNode, and json::ListNode.
Referenced by json::ListNode::erase(), and erase().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by sgpp::base::OCLManagerMultiPlatform::buildKernel(), sgpp::datadriven::DBMatDatabase::getDataMatrix(), sgpp::datadriven::DataMiningConfigParser::getFitterRegularizationConfig(), and sgpp::datadriven::DataMiningConfigParser::parseIntArray().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by sgpp::base::OCLManagerMultiPlatform::buildKernel(), sgpp::datadriven::createStreamingBSplineOCLConfigured(), sgpp::datadriven::DataMiningConfigParser::getFitterRegularizationConfig(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::KernelCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::KernelDensityB(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::KernelDensityMult(), sgpp::datadriven::StreamingModOCLOpt::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLUnified::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLUnified::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLOpt::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::KernelPruneGraph(), sgpp::datadriven::clusteringmpi::MPIWorkerBase::MPIWorkerBase(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< int >::MPIWorkerPackageBase(), sgpp::datadriven::StreamingModOCLOpt::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingOCLMultiPlatform::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLUnified::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLUnified::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose(), and sgpp::datadriven::StreamingModOCLOpt::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by sgpp::datadriven::DataMiningConfigParser::getFitterRegularizationConfig().
|
virtual |
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by sgpp::base::OCLManagerMultiPlatform::configureDevice(), sgpp::datadriven::DataMiningConfigParser::getFitterRegularizationConfig(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::KernelCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::KernelDensityB(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::KernelDensityMult(), sgpp::datadriven::StreamingModOCLOpt::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLUnified::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLUnified::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLOpt::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::KernelPruneGraph(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< int >::MPIWorkerPackageBase(), sgpp::datadriven::StreamingModOCLOpt::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingOCLMultiPlatform::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLUnified::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLUnified::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLOpt::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose(), and sgpp::datadriven::StreamingModOCLMaskMultiPlatform::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose().
|
virtual |
Reimplemented in json::DictNode.
Reimplemented in json::IDNode, json::TextNode, json::DictNode, and json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::ListNode.
|
pure virtual |
Implemented in json::IDNode, json::TextNode, json::DictNode, and json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
pure virtual |
Implemented in json::IDNode, json::TextNode, json::DictNode, and json::ListNode.
Referenced by operator<<(), python.utils.GzipSerializer.GzipSerializer::serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter::serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter::serializeToFile(), python.learner.formatter.GridFormatter.GridFormatter::serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter::serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter::serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter::serializeToFile().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by json::DictNode::addIDAttr(), json::ListNode::addIdValue(), json::DictNode::addTextAttr(), and json::ListNode::addTextValue().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by json::DictNode::addIDAttr(), and json::ListNode::addIdValue().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by json::DictNode::addIDAttr(), and json::ListNode::addIdValue().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by json::DictNode::addIDAttr(), and json::ListNode::addIdValue().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by json::DictNode::addIDAttr(), and json::ListNode::addIdValue().
|
pure virtual |
Implemented in json::IDNode, json::TextNode, json::DictNode, and json::ListNode.
size_t json::Node::orderedKeyIndex |
Node* json::Node::parent |
|
staticprotected |
Referenced by json::ListNode::serialize(), and json::DictNode::serialize().