#include <CEnumAnnotation.h>
|
typedef std::array< Type, static_cast< size_t >Enum::__SIZE) > | base |
|
|
std::map< Type, Enum > | mMap |
|
◆ base
template<class Type , class Enum >
typedef std::array< Type, static_cast< size_t >Enum::__SIZE) > CEnumAnnotation< Type, Enum >::base |
typedef for the base class
◆ CEnumAnnotation() [1/3]
template<class Type , class Enum >
◆ CEnumAnnotation() [2/3]
template<class Type , class Enum >
Disable the copy constructor
◆ CEnumAnnotation() [3/3]
template<class Type , class Enum >
CEnumAnnotation< Type, Enum >::CEnumAnnotation |
( |
typename std::enable_if< !(std::is_same< Type, const char * >::value||std::is_const< Type >::value), const base & >::type |
src | ) |
|
|
inline |
◆ annotations()
template<class Type , class Enum >
◆ operator[]() [1/2]
template<class Type , class Enum >
base::const_reference CEnumAnnotation< Type, Enum >::operator[] |
( |
Enum |
e | ) |
const |
|
inline |
Operator []
- Parameters
-
- Returns
- const Type & annotation
◆ operator[]() [2/2]
template<class Type , class Enum >
base::const_reference CEnumAnnotation< Type, Enum >::operator[] |
( |
size_t |
i | ) |
const |
|
inline |
Operator []
- Parameters
-
- Returns
- const Type & annotation
◆ toEnum() [1/2]
template<class Type , class Enum >
Enum CEnumAnnotation< Type, Enum >::toEnum |
( |
const char * |
pAnnotation, |
|
|
Enum |
enumDefault = Enum::__SIZE |
|
) |
| const |
|
inline |
◆ toEnum() [2/2]
template<class Type , class Enum >
Enum CEnumAnnotation< Type, Enum >::toEnum |
( |
const Type & |
annotation, |
|
|
Enum |
enumDefault = Enum::__SIZE |
|
) |
| const |
|
inline |
Conversion from annotation to enum
- Parameters
-
const | Type & annotation |
Enum | enumDefault (default: Enum::__SIZE) |
References CEnumAnnotation< Type, Enum >::mMap.
Referenced by CFunctionParameter::applyData(), CModel::applyData(), CModelParameter::applyData(), CReportDefinition::applyData(), CModelEntity::applyData(), CCopasiParameter::applyData(), CModelParameter::fromData(), CCopasiParameter::fromData(), CNewtonMethod::initialize(), CompartmentHandler::processStart(), KineticLawHandler::processStart(), MetaboliteHandler::processStart(), MethodHandler::processStart(), ModelHandler::processStart(), ModelParameterGroupHandler::processStart(), ModelParameterHandler::processStart(), ModelValueHandler::processStart(), ParameterDescriptionHandler::processStart(), ParameterHandler::processStart(), ParameterTextHandler::processStart(), ReportDefinitionHandler::processStart(), TaskHandler::processStart(), CExpressionGenerator::setOperation(), CPlotSpecification::setTaskTypes(), and CEnumAnnotation< Type, Enum >::toEnum().
◆ mMap
template<class Type , class Enum >
The documentation for this class was generated from the following file: