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