5 #ifndef BALL_VIEW_KERNEL_COMPOSITEMANAGER_H
6 #define BALL_VIEW_KERNEL_COMPOSITEMANAGER_H
8 #ifndef BALL_DATATYPE_HASHSET_H
76 bool has(
const Composite* composite)
const;
81 bool hasRoot(
const Composite* composite)
const;
97 void remove(
Composite& composite,
bool to_delete =
true);
102 {
return composite_set_.size();}
111 {
return composite_set_.
begin();}
115 {
return composite_set_.
end();}
119 {
return composite_set_.
begin();}
123 {
return composite_set_.
end();}
127 {
return composite_set_;}
131 {
return composite_set_;}
138 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
151 #endif // BALL_VIEW_KERNEL_COMPOSITEMANAGER_H
const Composite *& const_reference
HashSet< Composite * >::ConstIterator CompositeConstIterator
CompositeConstIterator begin() const
HashSet< Composite * >::Iterator CompositeIterator
CompositeIterator begin()
Size getNumberOfComposites() const
static ConstForwardIterator end(const Container &container)
HashSet< Composite * >::Iterator iterator
const HashSet< Composite * > & getComposites() const
CompositeConstIterator end() const
static ForwardIterator end(const Container &container)
static ConstForwardIterator begin(const Container &container)
const Composite ** const_pointer
HashSet< Composite * > & getComposites()
static ForwardIterator begin(const Container &container)