forked from stepcode/stepcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmgrnodelist.h
More file actions
59 lines (45 loc) · 1.73 KB
/
mgrnodelist.h
File metadata and controls
59 lines (45 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#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 <gennode.h>
//#include <gennode.inline.h>
#include <gennodelist.h>
#include <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