LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
util::MultipleChoiceSelectionBase::OptionAlreadyExistsError Struct Reference

Adding an option that already exists. More...

#include "MultipleChoiceSelection.h"

Inheritance diagram for util::MultipleChoiceSelectionBase::OptionAlreadyExistsError:
util::MultipleChoiceSelectionBase::Exception

Public Member Functions

 OptionAlreadyExistsError ()
 
 OptionAlreadyExistsError (std::string const &label)
 
std::string const & label () const
 
virtual const char * what () const noexcept override
 

Public Attributes

std::string s
 

Detailed Description

Adding an option that already exists.

Definition at line 185 of file MultipleChoiceSelection.h.

Constructor & Destructor Documentation

util::MultipleChoiceSelectionBase::OptionAlreadyExistsError::OptionAlreadyExistsError ( )
inline

Definition at line 186 of file MultipleChoiceSelection.h.

util::MultipleChoiceSelectionBase::OptionAlreadyExistsError::OptionAlreadyExistsError ( std::string const &  label)
inline

Member Function Documentation

std::string const& util::MultipleChoiceSelectionBase::OptionAlreadyExistsError::label ( ) const
inline

Definition at line 189 of file MultipleChoiceSelection.h.

virtual const char* util::MultipleChoiceSelectionBase::Exception::what ( ) const
inlineoverridevirtualnoexceptinherited

Definition at line 171 of file MultipleChoiceSelection.h.

171 { return s.c_str(); }

Member Data Documentation

std::string util::MultipleChoiceSelectionBase::Exception::s
inherited

Definition at line 173 of file MultipleChoiceSelection.h.


The documentation for this struct was generated from the following file: