RWCollectableAssociation man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



RWCollectableAssociation(3C++)			RWCollectableAssociation(3C++)

Name
     RWCollectableAssociation - Rogue Wave library class

Synopsis
	      #include <rw/collass.h>

Description
     RWCollectableAssociation inherits class RWCollectable.  Used internally
     to associate a key with a value in the Tools.h++ "dictionary" collection
     classes.  Comparison and equality testing are forwarded to the key part
     of the association.

Persistence
     Polymorphic

Related Classes
     The "dictionary containers" RWBTreeDictionary, RWHashDictionary,  and
     RWIdentityDictionary make use of RWCollectableAssociation.	 When any of
     their contents is dealt with as an RWCollectable, as when operator+=() or
     asBag() etc. is used, the RWCollectableAssociation will be exposed.

Public Constructors
	      RWCollectableAssociation();
	  RWCollectableAssociation(RWCollectable* k, RWCollectable* v);

     Construct an RWCollectableAssociation with the given key and value.

Public Destructor
	      virtual ~RWCollectableAssociation();
	  virtual RWspace
	  binaryStoreSize() const;

     Redefined from class RWCollectable.

Public Member Functions
	      virtual int
	  compareTo(const RWCollectable* c) const;

     Redefined from class RWCollectable.  Returns the results of calling
     key()->compareTo(c).

	      virtual unsigned
	  hash() const;

     Redefined from class RWCollectable.  Returns the results of calling
     key()->hash().

									Page 1

RWCollectableAssociation(3C++)			RWCollectableAssociation(3C++)

	      virtual RWClassID
	  isA() const;

     Redefined from class RWCollectable to return __RWCOLLECTABLEASSOCIATION.

	      virtual RWBoolean
	  isEqual(const RWCollectable* c) const;

     Redefined from class RWCollectable.  Returns the results of calling
     key()->isEqual(c).

	      RWCollectable*
	  key() const;

     Returns the key part of the association.

	      RWCollectable*
	  value() const;

     Returns the value part of the association.

	      RWCollectable*
	  value(RWCollectable* ct);

     Sets the value to ct and returns the old value.

	      virtual void
	  restoreGuts(RWvistream&);
	  virtual void
	  restoreGuts(RWFile&);
	  virtual void
	  saveGuts(RWvostream&) const;
	  virtual void
	  saveGuts(RWFile&) const;

     Redefined from class RWCollectable.

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net