view TaskManager/Test/test_render/SceneGraphIterator.h @ 243:c4918a1fb6c9 draft

rm warning
author e065746@localhost.localdomain
date Sun, 31 May 2009 16:26:20 +0900
parents 76bf19f9e305
children c3a6cd4fa878
line wrap: on
line source

#ifndef INCLUDED_SCENE_GRAPH_ITERATOR
#define INCLUDED_SCENE_GRAPH_ITERATOR

#ifndef INCLUDED_SCENE_GRAPH
#  include "SceneGraph.h"
#endif

class SceneGraphIterator {
public:
    // 走査する SceneGraphList
    SceneGraphPtr list;

    // 現在参照中の SceneGraph
    SceneGraphPtr cur;

    void set(SceneGraphPtr list);
    int hasNext(void);
    int hasNext(int id);
    void next(void);
    void next(int id);
    void remove(void);
    SceneGraphPtr get(void);
};

typedef SceneGraphIterator *SceneGraphIteratorPtr;

#endif