1#ifndef OPAL_Directory_HH
2#define OPAL_Directory_HH
31typedef std::map<std::string, std::shared_ptr<Object>, std::less<std::string> >
ObjectDir;
46 ObjectDir::iterator
begin();
50 ObjectDir::const_iterator
begin()
const;
54 ObjectDir::iterator
end();
58 ObjectDir::const_iterator
end()
const;
65 void erase(
const std::string& name);
std::map< std::string, std::shared_ptr< Object >, std::less< std::string > > ObjectDir
A map of string versus pointer to Object.
void erase()
Delete all entries.
ObjectDir::iterator end()
Last object in alphabetic order of name.
ObjectDir::iterator begin()
First object in alphabetic order of name.
Object * find(const std::string &name) const
Find entry.
void insert(const std::string &name, Object *newObject)
Define new object.
The base class for all OPAL objects.