67 const std::pair<generic_objRef, int>& y)
const 69 if(x.first == y.first)
71 return x.second < y.second;
73 THROW_ASSERT(x.first->get_string() != y.first->get_string(), x.first->get_string());
74 return x.first->get_string() < y.first->get_string();
GenericObjUnsignedIntSorter()
Constructor.
exceptions managed by PandA
Base class for all resources into datapath.
const std::string get_string() const
Returns the name associated with the element.
bool operator()(const generic_objRef &x, const generic_objRef &y) const
Compare position of generic objects.
Generic class managing all resources into datapath.
bool operator<(const generic_obj &other) const
x
Return the smallest n such that 2^n >= _x.
GenericObjSorter()
Constructor.
bool operator()(const std::pair< generic_objRef, int > &x, const std::pair< generic_objRef, int > &y) const
Compare position of generic object-ints.
#define THROW_ASSERT(cond, str_expr)
helper function used to check an assert and if needed to throw an error in a standard way ...