283
|
1 #ifndef INCLUDED_SCENE_GRAPH_ITERATOR
|
|
2 #define INCLUDED_SCENE_GRAPH_ITERATOR
|
|
3
|
539
|
4 #include "SceneGraph.h"
|
283
|
5
|
|
6 class SceneGraphIterator {
|
|
7 public:
|
|
8 // 走査する SceneGraphList
|
|
9 SceneGraphPtr list;
|
|
10
|
|
11 // 現在参照中の SceneGraph
|
|
12 SceneGraphPtr cur;
|
|
13
|
|
14 void set(SceneGraphPtr list);
|
|
15 int hasNext(void);
|
|
16 int hasNext(int id);
|
539
|
17 int hasNextGroup(int id);
|
283
|
18 void next(void);
|
|
19 void next(int id);
|
539
|
20 void nextGroup(int id);
|
283
|
21 void remove(void);
|
|
22 SceneGraphPtr get(void);
|
|
23 };
|
|
24
|
|
25 typedef SceneGraphIterator *SceneGraphIteratorPtr;
|
|
26
|
|
27 #endif
|