// // // $Id: STEPattributeList.h,v 1.2 1999/05/21 20:20:31 japost Exp $ // GEANT4 tag $Name: geant4-00-01 $ // #ifndef _STEPattributeList_h #define _STEPattributeList_h 1 /* * NIST STEP Core Class Library * clstepcore/STEPattributeList.h * May 1995 * K. C. Morris * David Sauder * Development of this software was funded by the United States Government, * and is not subject to copyright. */ /* */ #ifdef __O3DB__ #include #endif //#ifndef _STEPattribute_typedefs //#define _STEPattribute_typedefs 1 #include #include //class STEPattribute; class STEPattributeList; //class AttrListNode; class AttrListNode : public SingleLinkNode { friend class STEPattributeList; protected: STEPattribute *attr; public: AttrListNode(STEPattribute *a) { attr = a; } }; class STEPattributeList : public SingleLinkList { public: STEPattributeList() { } STEPattribute& operator [] (int n); int list_length(); void push(STEPattribute *a); }; /***************************************************************** ** ** ** This file defines the type STEPattributeList -- a List ** ** of pointers to STEPattribute objects. The nodes on the ** ** List point to STEPattributes. ** ** USED TO BE - DAS ** The file was generated by using GNU's genclass.sh ** ** script with the List prototype definitions. The ** ** command to Generate it was as follows: ** genclass.sh STEPattribute ref List STEPattribute ** The file is dependent on the file "STEPattribute.h" ** ** which contains the definition of STEPattribute. ** ** ** ** 1/15/91 kcm ** *****************************************************************/ #endif