|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
A class for mapping validators to integers. More...
#include <Teuchos_ValidatorMaps.hpp>
Public Types | |
| typedef std::map< RCP< const ParameterEntryValidator >, int, RCPComp > | ValidatorMap |
| typedef std::pair< RCP< const ParameterEntryValidator >, int > | ValidatorIDPair |
| typedef ValidatorMap::iterator | iterator |
| typedef ValidatorMap::const_iterator | const_iterator |
Public Member Functions | |
| ValidatortoIDMap () | |
| void | insert (RCP< const ParameterEntryValidator > toInsert) |
| inserts an IDValidatorPair into the map. More... | |
| const_iterator | find (const RCP< const ParameterEntryValidator > validator) const |
| Returns an iterator to the validator and id specified by the validator. More... | |
| const_iterator | begin () const |
| Returns a const_reference to the beginning of the map. More... | |
| const_iterator | end () const |
| Returns a const_reference to the end of the map. More... | |
Private Attributes | |
| ValidatorMap | validatorMap |
| int | counter |
A class for mapping validators to integers.
Definition at line 71 of file Teuchos_ValidatorMaps.hpp.
| typedef std::map<RCP<const ParameterEntryValidator>, int, RCPComp> Teuchos::ValidatortoIDMap::ValidatorMap |
Definition at line 76 of file Teuchos_ValidatorMaps.hpp.
| typedef std::pair<RCP<const ParameterEntryValidator>, int> Teuchos::ValidatortoIDMap::ValidatorIDPair |
Definition at line 79 of file Teuchos_ValidatorMaps.hpp.
| typedef ValidatorMap::iterator Teuchos::ValidatortoIDMap::iterator |
Definition at line 82 of file Teuchos_ValidatorMaps.hpp.
| typedef ValidatorMap::const_iterator Teuchos::ValidatortoIDMap::const_iterator |
Definition at line 85 of file Teuchos_ValidatorMaps.hpp.
| Teuchos::ValidatortoIDMap::ValidatortoIDMap | ( | ) |
Definition at line 39 of file Teuchos_ValidatorMaps.cpp.
| void Teuchos::ValidatortoIDMap::insert | ( | RCP< const ParameterEntryValidator > | toInsert | ) |
inserts an IDValidatorPair into the map.
Definition at line 42 of file Teuchos_ValidatorMaps.cpp.
| ValidatortoIDMap::const_iterator Teuchos::ValidatortoIDMap::find | ( | const RCP< const ParameterEntryValidator > | validator | ) | const |
Returns an iterator to the validator and id specified by the validator.
If no id is found with the associated validator, a reference to the end of the map is returned.
Definition at line 52 of file Teuchos_ValidatorMaps.cpp.
| ValidatortoIDMap::const_iterator Teuchos::ValidatortoIDMap::begin | ( | ) | const |
Returns a const_reference to the beginning of the map.
Definition at line 59 of file Teuchos_ValidatorMaps.cpp.
| ValidatortoIDMap::const_iterator Teuchos::ValidatortoIDMap::end | ( | ) | const |
Returns a const_reference to the end of the map.
Definition at line 65 of file Teuchos_ValidatorMaps.cpp.
|
private |
Definition at line 109 of file Teuchos_ValidatorMaps.hpp.
|
private |
Definition at line 111 of file Teuchos_ValidatorMaps.hpp.
1.8.5