4 #ifndef _H_SQStringMap_H_
5 #define _H_SQStringMap_H_
18 typedef ObjectMap::iterator
Iter;
22 virtual void identify(std::ostream& os = std::cout)
const {
23 os <<
"SQStringMap base class" << std::endl;
29 virtual bool empty()
const {
return true;}
30 virtual size_t size()
const {
return 0;}
31 virtual size_t count(std::string key)
const {
return 0;}
37 virtual size_t erase(std::string key) {
return 0;}
A general-purpose SQ interface class that holds a list of PHObjects with key = string.
virtual int isValid() const
isValid returns non zero if object contains vailid data
virtual const PHObject * get(std::string key) const
std::map< std::string, PHObject * > ObjectMap
virtual size_t count(std::string key) const
virtual SQStringMap * Clone() const
virtual ConstIter begin() const
virtual PHObject * get(std::string key)
virtual Iter find(std::string key)
virtual bool empty() const
virtual size_t erase(std::string key)
ObjectMap::const_iterator ConstIter
virtual PHObject * insert(const std::string key, const PHObject *item)
virtual ConstIter end() const
virtual void identify(std::ostream &os=std::cout) const
virtual void Reset()
Clear Event.
virtual size_t size() const
virtual ConstIter find(std::string key) const