iflListItem man page on IRIX

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



iflListItem(3)	  Image Format Library C++ Reference Manual	iflListItem(3)

NAME
     iflListItem - an element of an doubly linked list (iflList or
     iflMultiList)

INHERITS FROM
     This is a base class.

HEADER FILE
     #include <ifl/iflList.h>

CLASS DESCRIPTION
     iflListItem is a base class from which to derive elements to be placed in
     either an iflList or an iflMultiList.

   Using iflListItem
     To make a list of integers, for example, define a derivation of
     iflListItem to hold the integer:

	  struct intItem : public iflListItem {
	      intItem(int val) { i = val; }
	      int i;
	  };

     This class can then be used to build a list of integer values:

	  iflList<intItem> list;
	  for (int i = 0; i < 10; i++)
	      list.append(new intItem(i));

CLASS MEMBER FUNCTION SUMMARY
   Constructor
	  iflListItem()

   Initialization
	  void initLinks()

   Manipulation
	  void unlink()

   Query

									Page 1

iflListItem(3)	  Image Format Library C++ Reference Manual	iflListItem(3)

	  int isLinked()

FUNCTION DESCRIPTIONS
     iflListItem()

	  iflListItem()

	  Creates an iflListItem with NULL linkage (not part of any list).

     initLinks()

	  void initLinks()

	  Reset the linkage of this item to NULL.  This is mainly used is
	  special initialization cases (like allocation from a shared arena).

     isLinked()

	  int isLinked()

	  Returns TRUE if this item is currently on a list, FALSE otherwise.

     unlink()

	  void unlink()

	  Removes an item from whatever list it is currently linked on to. Bad
	  things will happen if you call this method on an item that is
	  already unlinked.

SEE ALSO
     iflList, iflMutliList, iflListIter, iflListIterRev

									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