Files
geant4/source/geometry/solids/STEP/include/STEPattributeList.h
T
2016-06-08 15:34:16 +02:00

84 lines
2.0 KiB
C++

//
//
// $Id: STEPattributeList.h,v 1.2 1999/05/21 20:20:31 japost Exp $
// GEANT4 tag $Name: geant4-01-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 <OpenOODB.h>
#endif
//#ifndef _STEPattribute_typedefs
//#define _STEPattribute_typedefs 1
#include <STEPattribute.h>
#include <SingleLinkList.h>
//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