TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
YAML_data Class Reference

classe YAML_data : collection of all needed information for data to save/restore in order to write the YAML file used to initialize PDI More...

#include <YAML_data.h>

Public Member Functions

 YAML_data ()
 YAML_data (const std::string &name, const std::string &type)
 YAML_data (const std::string &name, const std::string &type, int nb_dim)
 YAML_data (const std::string &name, const std::string &type, int nb_dim, bool loc)
 YAML_data (const std::string &name, const std::string &type, int nb_dim, bool loc, bool is_ds)
void set_local (bool l)
void set_conditions (const std::string &cond)
void add_attribute (const std::string &attr)
void set_dataset (bool d)
void set_hdf_name (const std::string &n)
void set_save_field_type (bool b)
const std::string & get_name () const
const std::string & get_type () const
int get_dims () const
bool is_local () const
const std::string & get_conditions () const
const std::vector< std::string > & get_attributes () const
bool is_dataset () const
const std::string & get_hdf_name () const
bool save_field_type () const

Detailed Description

classe YAML_data : collection of all needed information for data to save/restore in order to write the YAML file used to initialize PDI

Definition at line 25 of file YAML_data.h.

Constructor & Destructor Documentation

◆ YAML_data() [1/5]

YAML_data::YAML_data ( )
inline

Definition at line 28 of file YAML_data.h.

◆ YAML_data() [2/5]

YAML_data::YAML_data ( const std::string & name,
const std::string & type )
inline

Definition at line 29 of file YAML_data.h.

◆ YAML_data() [3/5]

YAML_data::YAML_data ( const std::string & name,
const std::string & type,
int nb_dim )
inline

Definition at line 30 of file YAML_data.h.

◆ YAML_data() [4/5]

YAML_data::YAML_data ( const std::string & name,
const std::string & type,
int nb_dim,
bool loc )
inline

Definition at line 31 of file YAML_data.h.

◆ YAML_data() [5/5]

YAML_data::YAML_data ( const std::string & name,
const std::string & type,
int nb_dim,
bool loc,
bool is_ds )
inline

Definition at line 32 of file YAML_data.h.

Member Function Documentation

◆ add_attribute()

void YAML_data::add_attribute ( const std::string & attr)
inline

Definition at line 37 of file YAML_data.h.

◆ get_attributes()

const std::vector< std::string > & YAML_data::get_attributes ( ) const
inline

Definition at line 48 of file YAML_data.h.

◆ get_conditions()

const std::string & YAML_data::get_conditions ( ) const
inline

Definition at line 47 of file YAML_data.h.

◆ get_dims()

int YAML_data::get_dims ( ) const
inline

Definition at line 45 of file YAML_data.h.

◆ get_hdf_name()

const std::string & YAML_data::get_hdf_name ( ) const
inline

Definition at line 50 of file YAML_data.h.

◆ get_name()

const std::string & YAML_data::get_name ( ) const
inline

Definition at line 43 of file YAML_data.h.

◆ get_type()

const std::string & YAML_data::get_type ( ) const
inline

Definition at line 44 of file YAML_data.h.

◆ is_dataset()

bool YAML_data::is_dataset ( ) const
inline

Definition at line 49 of file YAML_data.h.

◆ is_local()

bool YAML_data::is_local ( ) const
inline

Definition at line 46 of file YAML_data.h.

◆ save_field_type()

bool YAML_data::save_field_type ( ) const
inline

Definition at line 51 of file YAML_data.h.

◆ set_conditions()

void YAML_data::set_conditions ( const std::string & cond)
inline

Definition at line 36 of file YAML_data.h.

◆ set_dataset()

void YAML_data::set_dataset ( bool d)
inline

Definition at line 38 of file YAML_data.h.

◆ set_hdf_name()

void YAML_data::set_hdf_name ( const std::string & n)
inline

Definition at line 39 of file YAML_data.h.

◆ set_local()

void YAML_data::set_local ( bool l)
inline

Definition at line 35 of file YAML_data.h.

◆ set_save_field_type()

void YAML_data::set_save_field_type ( bool b)
inline

Definition at line 40 of file YAML_data.h.


The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/cea-trust-platform/checkouts/master/src/Kernel/Utilitaires/YAML_data.h