#include <IdDictField.h>
Definition at line 15 of file IdDictField.h.
◆ IdDictField()
| IdDictField::IdDictField |
( |
const std::string & |
name | ) |
|
◆ add_label()
◆ clear()
| void IdDictField::clear |
( |
| ) |
|
◆ find_label()
◆ get_label()
| const std::string & IdDictField::get_label |
( |
size_t |
index | ) |
const |
Definition at line 48 of file IdDictField.cxx.
51 }
catch (std::out_of_range&
e) {
52 throw std::out_of_range(
std::format(
"IdDictField::get_label : Attempt to access index {} in vector of size {}",
◆ get_label_number()
| size_t IdDictField::get_label_number |
( |
| ) |
const |
◆ get_label_value()
Definition at line 58 of file IdDictField.cxx.
60 if (std::ranges::find_if(
name,[](
const char c){
return !std::isdigit(
c); }) !=
name.end()) {
62 if (
label ==
nullptr)
continue;
73 }
catch (
const std::invalid_argument&
e) {
74 std::cerr <<
"Warning : label " <<
name <<
" not found: "<<
e.what() << std::endl;
◆ index()
| size_t IdDictField::index |
( |
| ) |
const |
|
inline |
◆ label()
◆ name()
| const std::string & IdDictField::name |
( |
| ) |
const |
|
inline |
◆ set_index()
| void IdDictField::set_index |
( |
size_t |
index | ) |
|
◆ verify()
| bool IdDictField::verify |
( |
| ) |
const |
◆ m_index
| size_t IdDictField::m_index {} |
|
private |
◆ m_labels
◆ m_name
| std::string IdDictField::m_name |
|
private |
The documentation for this class was generated from the following files: