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;
178 get_int(
const string & aKey )
const;
192 std::pair< id_t, id_t >
216 section(
const string & aType )
const ;
224 section(
const string & aType,
const string & aLabel )
const ;
318 create_key(
const string & aLine );
323 error_section_not_exisits(
const string & aSection )
const ;
328 error_key_not_exists(
const string & aKey )
const ;
333 error_key_not_real(
const string & aKey )
const ;
338 get_type(
const string & aLine )
const ;
341 get_label(
const string & aLine )
const ;
353 return mData.size() ;
361 return mKeyLabels.size() ;
366 inline const string &
369 return mKeyLabels( aIndex );
377 return mData( aIndex );
417 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:73
std::string string_to_lower(const std::string &aString)
convert the string to lower case
Definition stringtools.cpp:269
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36