libvrml1++/Switch.hh

Go to the documentation of this file.
00001 
00020 #ifndef SWITCH_H_
00021 #define SWITCH_H_
00022 
00023 #include <vector>
00024 #include "Node.hh"
00025 #include "Attribute.hh"
00026 
00027 using namespace std;
00028 
00029 namespace vrml1 {
00030 
00031 class Switch : public vrml1::Node
00032 {
00033 public:
00034         Switch();
00035         virtual ~Switch();
00036         
00037         virtual void setAttribute(Attribute *A);
00038         void addNode(Node* &N);
00039         
00040 private:
00041         int m_whichChild;
00042         
00043         vector<Node*> m_Nodes;
00044 };
00045 
00046 }
00047 
00048 #endif /*SWITCH_H_*/

Generated on Mon Jul 21 23:57:09 2008 for libvrml1++ by  doxygen 1.5.4