Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/QNX4/Fred/TrainSetting.hpp

Go to the documentation of this file.
00001 #include "Const.hpp"
00002 
00003 class TrainSetting : public DLinkList {
00004 
00005 public:
00006   void   insert( int*  );       // Insert an element at the current position
00007   void   append( int*  );       // Insert Elem at tail of list
00008   int*   remove();              // Remove and return current Elem
00009   void   setValue( int*  );     // Set current element's value
00010   int*   getValue();            // Return current element's value
00011 };
00012 
00013 void  TrainSetting::insert( int* e ) {    // Insert an element at the current position
00014     DLinkList::insert( e );
00015 }
00016 void  TrainSetting::append( int* e ) {    // Insert Elem at tail of list
00017     DLinkList::append( e );
00018 }
00019 
00020 int*  TrainSetting::remove() {            // Remove and return current Elem
00021     return (int*)( DLinkList::remove() );
00022 }
00023 
00024 void  TrainSetting::setValue( int* e ) {  // Set current element's value
00025     DLinkList::setValue( e );    
00026 }
00027 
00028 int*  TrainSetting::getValue() {          // Return current element's value
00029     return (int*)( DLinkList::remove() );
00030 }
00031 
00032 
00033 

Generated on Sun Oct 14 18:46:42 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001