5 #include <libutl/TDequeIt.h> 32 :
Deque(owner, ordering)
39 return utl::cast<T>(Deque::front());
45 return utl::cast<T>(Deque::back());
51 return utl::cast<T>(Deque::get(idx));
58 return utl::cast<T>(Deque::find(key));
62 findIt(
const Object& key)
const 65 res.
copy(Deque::findIt(key));
73 res.
copy(Deque::findIt(key));
80 return super::add(const_cast<T&>(
object));
86 return super::add(const_cast<T*>(
object));
92 super::add(collection);
99 res.
copy(Deque::begin());
107 res.
copy(Deque::begin());
115 res.
copy(Deque::end());
123 res.
copy(Deque::end());
#define UTL_CLASS_IMPL_TPL(className, T)
Implementation of standard UTL++ functionality for a template class.
#define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
Object comparison abstraction.
Template version of DequeIt.
Templated proxy for BidIt.
T * findT(const Object &key) const
See find().
Template version of Deque.
virtual void copy(const Object &rhs)
Copy another DequeIt.
#define UTL_CLASS_DECL_TPL(DC, T, BC)
Declaration of standard UTL++ functionality for a template class with one parameter.
A sequence of objects permitting efficient insertion and removal at either end.
Root of UTL++ class hierarchy.