Files
Clifford Yapp d824fc0c4e Keep longer directory names
We want to be consistent with the previous layout, to avoid needlessly
breaking existing codes.  The header update means client codes are not
required to include all of the stepcode library includes explicitly -
i.e., stepcode itself does not force this requirement with its own
internal includes.  However, if client codes do not want to add the
library prefixes to their own includes as we have for stepcode, they
should still be able to add the various includes and work as before.
Adjust the include directory names accordingly.
2022-10-02 17:57:57 -04:00

65 lines
1.9 KiB
C++

#ifndef _STEPattributeList_h
#define _STEPattributeList_h 1
/*
* NIST STEP Core Class Library
* clstepcore/STEPattributeList.h
* April 1997
* K. C. Morris
* David Sauder
* Development of this software was funded by the United States Government,
* and is not subject to copyright.
*/
class STEPattribute;
#include <sc_export.h>
#include "clstepcore/SingleLinkList.h"
class STEPattributeList;
class SC_CORE_EXPORT AttrListNode : public SingleLinkNode {
friend class STEPattributeList;
protected:
STEPattribute * attr;
public:
AttrListNode( STEPattribute * a );
virtual ~AttrListNode();
};
class SC_CORE_EXPORT STEPattributeList : public SingleLinkList {
public:
STEPattributeList();
virtual ~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