12#ifndef BELFEM_CL_INPUT_SECTION_HPP
13#define BELFEM_CL_INPUT_SECTION_HPP
43 Cell < Section * > mData ;
104 section_exists(
const string & aType,
const string & aLabel )
const;
136 get_bool(
const string & aKey )
const;
144 get_real(
const string & aKey )
const;
152 get_value(
const string & aKey ,
const string & aUnit )
const;
176 get_int(
const string & aKey )
const;
190 std::pair< id_t, id_t >
214 section(
const string & aType )
const ;
222 section(
const string & aType,
const string & aLabel )
const ;
316 create_key(
const string & aLine );
321 error_section_not_exisits(
const string & aSection )
const ;
326 error_key_not_exists(
const string & aKey )
const ;
331 error_key_not_real(
const string & aKey )
const ;
336 get_type(
const string & aLine )
const ;
339 get_label(
const string & aLine )
const ;
351 return mData.size() ;
359 return mKeyLabels.size() ;
364 inline const string &
367 return mKeyLabels( aIndex );
375 return mData( aIndex );
415 return mSections.key_exists( tSection );
Hash map (unordered key-value).
Definition cl_Map.hpp:75
USER GUIDES:
Definition cl_Capacitor.cpp:16
std::pair< real, unit > value
Definition typedefs.hpp:74
std::string string_to_lower(const std::string &aString)
convert the string to lower case
Definition stringtools.cpp:267
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36