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.
60 lines
1.8 KiB
C++
60 lines
1.8 KiB
C++
|
|
#ifndef mgrnodelist_h
|
|
#define mgrnodelist_h
|
|
|
|
/*
|
|
* NIST STEP Editor Class Library
|
|
* cleditor/mgrnodelist.h
|
|
* April 1997
|
|
* David Sauder
|
|
* K. C. Morris
|
|
|
|
* Development of this software was funded by the United States Government,
|
|
* and is not subject to copyright.
|
|
*/
|
|
|
|
/* $Id: mgrnodelist.h,v 3.0.1.2 1997/11/05 22:11:38 sauderd DP3.1 $ */
|
|
|
|
#include <sc_export.h>
|
|
|
|
#include "clutils/gennode.h"
|
|
//#include <gennode.inline.h>
|
|
#include "clutils/gennodelist.h"
|
|
#include "cleditor/editordefines.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// class MgrNodeList
|
|
// This will be used to represent the state lists.
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
class MgrNode;
|
|
|
|
class SC_CORE_EXPORT MgrNodeList : public GenNodeList {
|
|
public:
|
|
MgrNodeList( stateEnum type );
|
|
virtual ~MgrNodeList() { }
|
|
|
|
// ADDED functions
|
|
virtual MgrNode * FindFileId( int fileId );
|
|
|
|
// REDEFINED functions
|
|
// deletes node from its previous list & appends
|
|
virtual void Append( GenericNode * node );
|
|
// deletes newNode from its previous list & inserts in
|
|
// relation to existNode
|
|
virtual void InsertAfter( GenericNode * newNode, GenericNode * existNode );
|
|
virtual void InsertBefore( GenericNode * newNode, GenericNode * existNode );
|
|
virtual void Remove( GenericNode * node );
|
|
|
|
protected:
|
|
stateEnum listType;
|
|
};
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// class MgrNodeList inline functions
|
|
// these functions don't rely on any inline functions (its own or
|
|
// other classes) that aren't in this file except for Generic functions
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif
|