42#ifndef Teuchos_VALIDATORMAPS_HPP
43#define Teuchos_VALIDATORMAPS_HPP
108 typedef std::map<RCP<const ParameterEntryValidator>, int,
RCPComp>
#define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
Maps Validators to integers.
const_iterator end() const
Returns a const_reference to the end of the map.
const_iterator begin() const
Returns a const_reference to the beginning of the map.
ValidatorMap::const_iterator const_iterator
size_t erase(const ParameterEntryValidator::ValidatorID &x)
removes the specified validator from the map.
std::pair< ParameterEntryValidator::ValidatorID, RCP< ParameterEntryValidator > > IDValidatorPair
std::map< ParameterEntryValidator::ValidatorID, RCP< ParameterEntryValidator > > ValidatorMap
ValidatorMap::iterator iterator
const_iterator find(int id) const
Retrieves and iterator to a validator and id based on the id given.
ValidatorMap validatorMap
void insert(IDValidatorPair toInsert)
inserts an IDValidatorPair into the map.
Smart reference counting pointer class for automatic garbage collection.
std::pair< RCP< const ParameterEntryValidator >, int > ValidatorIDPair
const_iterator end() const
Returns a const_reference to the end of the map.
void insert(RCP< const ParameterEntryValidator > toInsert)
inserts an IDValidatorPair into the map.
std::map< RCP< const ParameterEntryValidator >, int, RCPComp > ValidatorMap
ValidatorMap::const_iterator const_iterator
const_iterator find(const RCP< const ParameterEntryValidator > validator) const
Returns an iterator to the validator and id specified by the validator.
ValidatorMap validatorMap
ValidatorMap::iterator iterator
const_iterator begin() const
Returns a const_reference to the beginning of the map.
Struct for comparing two RCPs. Simply compares the raw pointers contained within the RCPs.