Construct or destruct IGKeySortedBag objects.
![]() |
public:
IGKeySortedBag(INumber = 100)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
public:
IGKeySortedBag( IGKeySortedBag < Element, Key, ElementOps > const& )
Windows | OS/2 | AIX |
Yes | Yes | Yes |
protected:
IGKeySortedBag(PureImplementation&)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef ICollectionGuard < Element > Guard
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef ICKeySortedBagImpl < PureImplementation > Implementation
typedef ICKeySortedBagImpl < PureImplementation > Implementation
Windows | OS/2 | AIX |
Yes | Yes | Yes |
typedef PureImplementation Implementation
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef IKeySortedBagAsListImpl PureImplementation
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef IGKeySortedBagCursor < Element , Key , ElementOps > Cursor
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef IGKeySortedBag < Element , Key , ElementOps > Self
Windows | OS/2 | AIX |
Yes | Yes | Yes |
virtual ~IACollection()
virtual bool add(Element const&, ICursor&)
virtual bool add(Element const&)
virtual void addAllFrom(IACollection < Element > const&)
void adoptStreamer(IACollectionStreamer*)
bool allElementsDo( bool ( * applicatorFunction ) ( Element&, void * ) , void* additionalArgument = 0 )
bool allElementsDo( bool ( * applicatorFunction ) ( Element const&, void * ) , void* additionalArgument = 0 ) const
bool allElementsDo(IConstantApplicator < Element >&) const
bool allElementsDo(IApplicator < Element >&)
Element const& any() const
Element const& anyElement() const
virtual void copy(IACollection < Element > const&)
INotifier& disableNotification()
Element& elementAt(ICursor const&)
Element const& elementAt(ICursor const&) const
INotifier& enableNotification(bool = true)
IACollection(INotifier&)
bool isBounded() const
bool isConsistent() const
bool isEmpty() const
bool isEnabledForNotification() const
bool isFull() const
INumber maxNumberOfElements() const
virtual ICursor* newCursor() const
ICursor* newMngCursor() const
INotifier const& notifier() const
INotifier& notifier()
INotifier& notifyObservers(INotificationEvent const&)
INumber numberOfElements() const
virtual void operator <<=(IDataStream&)
virtual void operator >>=(IDataStream&)
operator INotifier &() const
virtual INumber removeAll( bool ( * predicateFunction ) ( Element const&, void * ) , void* additionalArgument = 0 )
virtual INumber removeAll()
virtual void removeAt(ICursor&)
virtual void replaceAt(ICursor const&, Element const&)
bool setToFirst(ICursor&) const
bool setToNext(ICursor&) const
~IAKeyCollection()
virtual bool addOrReplaceElementWithKey( Element const&, ICursor& )
virtual bool addOrReplaceElementWithKey(Element const&)
bool containsAllKeysFrom( IACollection < Element > const& ) const
bool containsElementWithKey(Key const&) const
Element const& elementWithKey(Key const&) const
Element& elementWithKey(Key const&)
IAKeyCollection(INotifier&)
Key const& key(Element const&) const
bool locateElementWithKey(Key const&, ICursor&) const
bool locateNextElementWithKey(Key const&, ICursor&) const
virtual bool locateOrAddElementWithKey(Element const&)
virtual bool locateOrAddElementWithKey( Element const&, ICursor& )
INumber numberOfDifferentKeys() const
INumber numberOfElementsWithKey(Key const&) const
virtual INumber removeAllElementsWithKey(Key const&)
virtual bool removeElementWithKey(Key const&)
virtual bool replaceElementWithKey(Element const&)
virtual bool replaceElementWithKey( Element const&, ICursor& )
bool setToNextWithDifferentKey(ICursor&) const
~IAKeySortedBag()
long compare( IAKeySortedBag < Element, Key > const&, long ( * comparisonFunction ) ( Element const & , Element const & ) ) const
IAKeySortedBag(INotifier&)
~IAKeySortedCollection()
IAKeySortedCollection(INotifier&)
IGKeySortedBag < Element , Key , ElementOps >& operator =( IGKeySortedBag < Element, Key, ElementOps > const& )
IACollection(IACollection < Element > const&)
IACollection()
static Implementation& ImplOf( IACollection < Element > const& )
IAKeyCollection()
IAKeyCollection(IAKeyCollection < Element, Key > const&)
IAKeySortedBag()
IAKeySortedBag(IAKeySortedBag < Element, Key > const&)
IAKeySortedCollection()
IAKeySortedCollection( IAKeySortedCollection < Element, Key > const& )
IGKeySortedBagTypedef(Element, Key, ElementOps)
static Implementation& ImplOf( IGKeySortedBag < Element, Key, ElementOps > const& )