Arcane  v4.1.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence de la classe Arcane::Alina::PropertyTree
+ Graphe de collaboration de Arcane::Alina::PropertyTree:

Fonctions membres publiques

 PropertyTree (const PropertyTree &rhs)
 
Int32 get (const char *param_type, Int32 default_value) const
 
Int64 get (const char *param_type, Int64 default_value) const
 
size_t get (const char *param_type, size_t default_value) const
 
double get (const char *param_type, double default_value) const
 
double * get (const char *param_type, double *default_value) const
 
void * get (const char *param_type, void *default_value) const
 
std::string get (const char *param_type, const std::string &default_value) const
 
template<typename DataType>
requires (std::is_enum_v<DataType>)
DataType get (const char *param_type, const DataType &default_value) const
 
void put (const std::string &path, Int32 value)
 
void put (const std::string &path, Int64 value)
 
void put (const std::string &path, size_t value)
 
void put (const std::string &path, double value)
 
void put (const std::string &path, const std::string &value)
 
void put (const std::string &path, double *value)
 
void put (const std::string &path, void *value)
 
template<typename DataType>
requires (std::is_enum_v<DataType>)
void put (const std::string &path, const DataType &value)
 
void putKeyValue (const std::string &param)
 
PropertyTree get_child_empty (const std::string &path) const
 
bool erase (const char *name)
 
size_t count (const char *name) const
 
void _addChild (const std::string &path, const char *name, const PropertyTree &obj)
 
void read_json (const std::string &filename)
 
void check_params (const std::set< std::string > &names) const
 
void check_params (const std::set< std::string > &names, const std::set< std::string > &opt_names) const
 

Attributs privés

void * m_property_tree = nullptr
 
bool m_is_own = false
 

Amis

ARCCORE_ALINA_EXPORT friend std::ostream & operator<< (std::ostream &o, const PropertyTree &obj)
 

Description détaillée

Définition à la ligne 105 du fichier AlinaUtils.h.

Documentation des constructeurs et destructeur

◆ PropertyTree() [1/2]

Arcane::Alina::PropertyTree::PropertyTree ( )

Définition à la ligne 75 du fichier AlinaUtils.cc.

◆ PropertyTree() [2/2]

Arcane::Alina::PropertyTree::PropertyTree ( const PropertyTree & rhs)

Définition à la ligne 85 du fichier AlinaUtils.cc.

◆ ~PropertyTree()

Arcane::Alina::PropertyTree::~PropertyTree ( )

Définition à la ligne 110 du fichier AlinaUtils.cc.

Documentation des fonctions membres

◆ _addChild()

void Arcane::Alina::PropertyTree::_addChild ( const std::string & path,
const char * name,
const PropertyTree & obj )

Définition à la ligne 211 du fichier AlinaUtils.cc.

◆ check_params() [1/2]

void Arcane::Alina::PropertyTree::check_params ( const std::set< std::string > & names) const

Définition à la ligne 222 du fichier AlinaUtils.cc.

◆ check_params() [2/2]

void Arcane::Alina::PropertyTree::check_params ( const std::set< std::string > & names,
const std::set< std::string > & opt_names ) const

Définition à la ligne 245 du fichier AlinaUtils.cc.

◆ count()

size_t Arcane::Alina::PropertyTree::count ( const char * name) const

Définition à la ligne 142 du fichier AlinaUtils.cc.

◆ erase()

bool Arcane::Alina::PropertyTree::erase ( const char * name)

Définition à la ligne 133 du fichier AlinaUtils.cc.

◆ get() [1/8]

template<typename DataType>
requires (std::is_enum_v<DataType>)
DataType Arcane::Alina::PropertyTree::get ( const char * param_type,
const DataType & default_value ) const
inline

Définition à la ligne 134 du fichier AlinaUtils.h.

◆ get() [2/8]

std::string Arcane::Alina::PropertyTree::get ( const char * param_type,
const std::string & default_value ) const

Définition à la ligne 178 du fichier AlinaUtils.cc.

◆ get() [3/8]

double * Arcane::Alina::PropertyTree::get ( const char * param_type,
double * default_value ) const

Définition à la ligne 170 du fichier AlinaUtils.cc.

◆ get() [4/8]

double Arcane::Alina::PropertyTree::get ( const char * param_type,
double default_value ) const

Définition à la ligne 166 du fichier AlinaUtils.cc.

◆ get() [5/8]

Int32 Arcane::Alina::PropertyTree::get ( const char * param_type,
Int32 default_value ) const

Définition à la ligne 158 du fichier AlinaUtils.cc.

◆ get() [6/8]

Int64 Arcane::Alina::PropertyTree::get ( const char * param_type,
Int64 default_value ) const

Définition à la ligne 162 du fichier AlinaUtils.cc.

◆ get() [7/8]

size_t Arcane::Alina::PropertyTree::get ( const char * param_type,
size_t default_value ) const
inline

Définition à la ligne 124 du fichier AlinaUtils.h.

◆ get() [8/8]

void * Arcane::Alina::PropertyTree::get ( const char * param_type,
void * default_value ) const

Définition à la ligne 174 du fichier AlinaUtils.cc.

◆ get_child_empty()

PropertyTree Arcane::Alina::PropertyTree::get_child_empty ( const std::string & path) const

Définition à la ligne 120 du fichier AlinaUtils.cc.

◆ put() [1/8]

template<typename DataType>
requires (std::is_enum_v<DataType>)
void Arcane::Alina::PropertyTree::put ( const std::string & path,
const DataType & value )
inline

Définition à la ligne 161 du fichier AlinaUtils.h.

◆ put() [2/8]

void Arcane::Alina::PropertyTree::put ( const std::string & path,
const std::string & value )

Définition à la ligne 195 du fichier AlinaUtils.cc.

◆ put() [3/8]

void Arcane::Alina::PropertyTree::put ( const std::string & path,
double * value )

Définition à la ligne 199 du fichier AlinaUtils.cc.

◆ put() [4/8]

void Arcane::Alina::PropertyTree::put ( const std::string & path,
double value )

Définition à la ligne 191 du fichier AlinaUtils.cc.

◆ put() [5/8]

void Arcane::Alina::PropertyTree::put ( const std::string & path,
Int32 value )

Définition à la ligne 183 du fichier AlinaUtils.cc.

◆ put() [6/8]

void Arcane::Alina::PropertyTree::put ( const std::string & path,
Int64 value )

Définition à la ligne 187 du fichier AlinaUtils.cc.

◆ put() [7/8]

void Arcane::Alina::PropertyTree::put ( const std::string & path,
size_t value )
inline

Définition à la ligne 150 du fichier AlinaUtils.h.

◆ put() [8/8]

void Arcane::Alina::PropertyTree::put ( const std::string & path,
void * value )

Définition à la ligne 203 du fichier AlinaUtils.cc.

◆ putKeyValue()

void Arcane::Alina::PropertyTree::putKeyValue ( const std::string & param)

Définition à la ligne 275 du fichier AlinaUtils.cc.

◆ read_json()

void Arcane::Alina::PropertyTree::read_json ( const std::string & filename)

Définition à la ligne 151 du fichier AlinaUtils.cc.

Documentation des fonctions amies et associées

◆ operator<<

ARCCORE_ALINA_EXPORT friend std::ostream & operator<< ( std::ostream & o,
const PropertyTree & obj )
friend

Définition à la ligne 300 du fichier AlinaUtils.cc.

Documentation des données membres

◆ m_is_own

bool Arcane::Alina::PropertyTree::m_is_own = false
private

Définition à la ligne 193 du fichier AlinaUtils.h.

◆ m_property_tree

void* Arcane::Alina::PropertyTree::m_property_tree = nullptr
private

Définition à la ligne 192 du fichier AlinaUtils.h.


La documentation de cette classe a été générée à partir des fichiers suivants :