17 validatorMap.insert(toInsert);
23 return validatorMap.find(
id);
29 return validatorMap.begin();
35 return validatorMap.end();
45 if(result == validatorMap.end()){
55 return validatorMap.find(validator);
61 return validatorMap.begin();
67 return validatorMap.end();
const_iterator find(int id) const
Retrieves and iterator to a validator and id based on the id given.
ValidatorMap::const_iterator const_iterator
ValidatorMap::const_iterator const_iterator
const_iterator end() const
Returns a const_reference to the end of the map.
std::pair< RCP< const ParameterEntryValidator >, int > ValidatorIDPair
void insert(RCP< const ParameterEntryValidator > toInsert)
inserts an IDValidatorPair into the map.
const_iterator end() const
Returns a const_reference to the end of the map.
const_iterator find(const RCP< const ParameterEntryValidator > validator) const
Returns an iterator to the validator and id specified by the validator.
std::pair< ParameterEntryValidator::ValidatorID, RCP< ParameterEntryValidator > > IDValidatorPair
const_iterator begin() const
Returns a const_reference to the beginning of the map.
Smart reference counting pointer class for automatic garbage collection.
const_iterator begin() const
Returns a const_reference to the beginning of the map.
void insert(IDValidatorPair toInsert)
inserts an IDValidatorPair into the map.