YAML_data#
#include <YAML_data.h>
classe YAML_data : collection of all needed information for data to save/restore in order to write the YAML file used to initialize PDI
How to reference this class#
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`YAML\_data <class-yaml-data>`
[YAML\_data](#class-yaml-data)
Detailed description#
List of Public Methods#
Complete Member Function Documentation#
add_attribute#
void YAML_data::add_attribute(const std::string &attr)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void YAML_data::add_attribute(const std::string &attr) <yaml-data-public-void-yaml-data-add-attribute-const-std-string-ref-attr>`
[void YAML_data::add_attribute(const std::string &attr)](#yaml-data-public-void-yaml-data-add-attribute-const-std-string-ref-attr)
get_attributes#
const std::vector<std::string> & YAML_data::get_attributes() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const std::vector<std::string> & YAML_data::get_attributes() const <yaml-data-public-const-std-vector-std-string-ref-yaml-data-get-attributes-const>`
[const std::vector<std::string> & YAML_data::get_attributes() const](#yaml-data-public-const-std-vector-std-string-ref-yaml-data-get-attributes-const)
get_conditions#
const std::string & YAML_data::get_conditions() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const std::string & YAML_data::get_conditions() const <yaml-data-public-const-std-string-ref-yaml-data-get-conditions-const>`
[const std::string & YAML_data::get_conditions() const](#yaml-data-public-const-std-string-ref-yaml-data-get-conditions-const)
get_dims#
int YAML_data::get_dims() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int YAML_data::get_dims() const <yaml-data-public-int-yaml-data-get-dims-const>`
[int YAML_data::get_dims() const](#yaml-data-public-int-yaml-data-get-dims-const)
get_hdf_name#
const std::string & YAML_data::get_hdf_name() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const std::string & YAML_data::get_hdf_name() const <yaml-data-public-const-std-string-ref-yaml-data-get-hdf-name-const>`
[const std::string & YAML_data::get_hdf_name() const](#yaml-data-public-const-std-string-ref-yaml-data-get-hdf-name-const)
get_name#
const std::string & YAML_data::get_name() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const std::string & YAML_data::get_name() const <yaml-data-public-const-std-string-ref-yaml-data-get-name-const>`
[const std::string & YAML_data::get_name() const](#yaml-data-public-const-std-string-ref-yaml-data-get-name-const)
get_type#
const std::string & YAML_data::get_type() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const std::string & YAML_data::get_type() const <yaml-data-public-const-std-string-ref-yaml-data-get-type-const>`
[const std::string & YAML_data::get_type() const](#yaml-data-public-const-std-string-ref-yaml-data-get-type-const)
is_dataset#
bool YAML_data::is_dataset() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`bool YAML_data::is_dataset() const <yaml-data-public-bool-yaml-data-is-dataset-const>`
[bool YAML_data::is_dataset() const](#yaml-data-public-bool-yaml-data-is-dataset-const)
is_local#
bool YAML_data::is_local() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`bool YAML_data::is_local() const <yaml-data-public-bool-yaml-data-is-local-const>`
[bool YAML_data::is_local() const](#yaml-data-public-bool-yaml-data-is-local-const)
save_field_type#
bool YAML_data::save_field_type() const
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`bool YAML_data::save_field_type() const <yaml-data-public-bool-yaml-data-save-field-type-const>`
[bool YAML_data::save_field_type() const](#yaml-data-public-bool-yaml-data-save-field-type-const)
set_conditions#
void YAML_data::set_conditions(const std::string &cond)
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void YAML_data::set_conditions(const std::string &cond) <yaml-data-public-void-yaml-data-set-conditions-const-std-string-ref-cond>`
[void YAML_data::set_conditions(const std::string &cond)](#yaml-data-public-void-yaml-data-set-conditions-const-std-string-ref-cond)
set_dataset#
void YAML_data::set_dataset(bool d)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void YAML_data::set_dataset(bool d) <yaml-data-public-void-yaml-data-set-dataset-bool-d>`
[void YAML_data::set_dataset(bool d)](#yaml-data-public-void-yaml-data-set-dataset-bool-d)
set_hdf_name#
void YAML_data::set_hdf_name(const std::string &n)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void YAML_data::set_hdf_name(const std::string &n) <yaml-data-public-void-yaml-data-set-hdf-name-const-std-string-ref-n>`
[void YAML_data::set_hdf_name(const std::string &n)](#yaml-data-public-void-yaml-data-set-hdf-name-const-std-string-ref-n)
set_local#
void YAML_data::set_local(bool l)
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void YAML_data::set_local(bool l) <yaml-data-public-void-yaml-data-set-local-bool-l>`
[void YAML_data::set_local(bool l)](#yaml-data-public-void-yaml-data-set-local-bool-l)
set_save_field_type#
void YAML_data::set_save_field_type(bool b)
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void YAML_data::set_save_field_type(bool b) <yaml-data-public-void-yaml-data-set-save-field-type-bool-b>`
[void YAML_data::set_save_field_type(bool b)](#yaml-data-public-void-yaml-data-set-save-field-type-bool-b)
YAML_data#
YAML_data::YAML_data()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`YAML_data::YAML_data() <yaml-data-public-yaml-data-yaml-data>`
[YAML_data::YAML_data()](#yaml-data-public-yaml-data-yaml-data)
YAML_data#
YAML_data::YAML_data(const std::string &name, const std::string &type)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`YAML_data::YAML_data(const std::string &name, const std::string &type) <yaml-data-public-yaml-data-yaml-data-const-std-string-ref-name-const-std-string-ref-type>`
[YAML_data::YAML_data(const std::string &name, const std::string &type)](#yaml-data-public-yaml-data-yaml-data-const-std-string-ref-name-const-std-string-ref-type)
YAML_data#
YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim) <yaml-data-public-yaml-data-yaml-data-const-std-string-ref-name-const-std-string-ref-type-int-nb-dim>`
[YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim)](#yaml-data-public-yaml-data-yaml-data-const-std-string-ref-name-const-std-string-ref-type-int-nb-dim)
YAML_data#
YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim, bool loc)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim, bool loc) <yaml-data-public-yaml-data-yaml-data-const-std-string-ref-name-const-std-string-ref-type-int-nb-dim-bool-loc>`
[YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim, bool loc)](#yaml-data-public-yaml-data-yaml-data-const-std-string-ref-name-const-std-string-ref-type-int-nb-dim-bool-loc)
YAML_data#
YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim, bool loc, bool is_ds)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim, bool loc, bool is_ds) <yaml-data-public-yaml-data-yaml-data-const-std-string-ref-name-const-std-string-ref-type-int-nb-dim-bool-loc-bool-is-ds>`
[YAML_data::YAML_data(const std::string &name, const std::string &type, int nb_dim, bool loc, bool is_ds)](#yaml-data-public-yaml-data-yaml-data-const-std-string-ref-name-const-std-string-ref-type-int-nb-dim-bool-loc-bool-is-ds)
Attributes Documentation#
std::vector<std::string> YAML_data::attributes_
std::string YAML_data::conditions_
int YAML_data::dimension_
std::string YAML_data::hdf_name_
bool YAML_data::is_dataset_ = true
bool YAML_data::local_ = true
std::string YAML_data::name_
bool YAML_data::save_field_type_ = false
std::string YAML_data::type_