10 #ifndef Teuchos_VALIDATORMAPS_HPP
11 #define Teuchos_VALIDATORMAPS_HPP
17 #include "Teuchos_ParameterEntryValidator.hpp"
60 return validatorMap.erase(x);
65 ValidatorMap validatorMap;
75 typedef std::map<RCP<const ParameterEntryValidator>, int,
RCPComp>
119 #endif //Teuchos_VALIDATORMAPS_HPP
std::map< RCP< const ParameterEntryValidator >, int, RCPComp > ValidatorMap
Maps Validators to integers.
size_t erase(const ParameterEntryValidator::ValidatorID &x)
removes the specified validator from the map.
ValidatorMap::const_iterator const_iterator
ValidatorMap::const_iterator const_iterator
Struct for comparing two RCPs. Simply compares the raw pointers contained within the RCPs...
std::pair< RCP< const ParameterEntryValidator >, int > ValidatorIDPair
A class for mapping validators to integers.
std::pair< ParameterEntryValidator::ValidatorID, RCP< ParameterEntryValidator > > IDValidatorPair
Smart reference counting pointer class for automatic garbage collection.
ValidatorMap::iterator iterator
std::map< ParameterEntryValidator::ValidatorID, RCP< ParameterEntryValidator > > ValidatorMap
ValidatorMap::iterator iterator