Mercurial > hg > Game > Cerium
comparison Renderer/test_render/SceneGraphIterator.h @ 283:15bfacccde99 draft
fix test_render
author | e065746@localhost.localdomain |
---|---|
date | Fri, 05 Jun 2009 16:49:12 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
282:ef6b225f6f40 | 283:15bfacccde99 |
---|---|
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); | |
18 int hasNext(int id); | |
19 void next(void); | |
20 void next(int id); | |
21 void remove(void); | |
22 SceneGraphPtr get(void); | |
23 }; | |
24 | |
25 typedef SceneGraphIterator *SceneGraphIteratorPtr; | |
26 | |
27 #endif |