Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/SceneGraphIterator.h @ 341:2a0fad8a817d
add param gid [SceneGraph.h], func [SceneGraphIterator]
author | aaa |
---|---|
date | Mon, 29 Jun 2009 20:28:42 +0900 |
parents | 3f4c6a75d7e0 |
children | 25c820b6060e |
rev | line source |
---|---|
201 | 1 #ifndef INCLUDED_SCENE_GRAPH_ITERATOR |
2 #define INCLUDED_SCENE_GRAPH_ITERATOR | |
3 | |
4 #ifndef INCLUDED_SCENE_GRAPH | |
5 # include "SceneGraph.h" | |
6 #endif | |
7 | |
8 class SceneGraphIterator { | |
9 public: | |
10 // 走査する SceneGraphList | |
11 SceneGraphPtr list; | |
12 | |
13 // 現在参照中の SceneGraph | |
14 SceneGraphPtr cur; | |
15 | |
16 void set(SceneGraphPtr list); | |
17 int hasNext(void); | |
202
3f4c6a75d7e0
fix SceneGraphIterator::hasNext(), next()
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
201
diff
changeset
|
18 int hasNext(int id); |
341
2a0fad8a817d
add param gid [SceneGraph.h], func [SceneGraphIterator]
aaa
parents:
202
diff
changeset
|
19 int hasNextGroup(int id); |
201 | 20 void next(void); |
202
3f4c6a75d7e0
fix SceneGraphIterator::hasNext(), next()
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents:
201
diff
changeset
|
21 void next(int id); |
341
2a0fad8a817d
add param gid [SceneGraph.h], func [SceneGraphIterator]
aaa
parents:
202
diff
changeset
|
22 void nextGroup(int id); |
201 | 23 void remove(void); |
24 SceneGraphPtr get(void); | |
25 }; | |
26 | |
27 typedef SceneGraphIterator *SceneGraphIteratorPtr; | |
28 | |
29 #endif |