27 #include "../common/STLUtils.h"
64 m_ids =
new std::vector<ObjectId*>;
71 assert(m_ids && (i < m_ids->size()));
77 assert(m_ids && (i < m_ids->size()));
83 return (m_ids ? m_ids->size() : 0);
ObjectId * operator[](size_t i) const
It returns a specified object identifier.
ObjectId * getOid(size_t i) const
It returns a specified object identifier.
Filter()
It initializes a new Filter.
AbstractOp * getOp() const
It returns main filter operation.
A Filter is any valid predicate expression.
void setOp(AbstractOp *o)
It sets the filter main operation (expression).
size_t getNumberOfOids() const
It returns the size of the list of object identifiers.
An object identifier is meant to represent a unique identifier for an object instance within the cont...
void clear()
It clears the object identifier list and drop it off.
An abstract interface for operators.
void add(ObjectId *id)
It adds the object identifier to the list of identifiers.
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...