00001 00021 #ifndef VRML1_DOCUMENT_H_ 00022 #define VRML1_DOCUMENT_H_ 00023 00024 #include "Node.hh" 00025 00026 namespace vrml1 { 00027 00028 class Document { 00029 public: 00030 Document(); 00031 virtual ~Document(); 00032 00033 void addNode(Node *N); 00034 00035 unsigned int getNodeCount() const; 00036 00037 const Node* getNode(unsigned int idx) const; 00038 00039 private: 00040 vector<Node*> m_Nodes; 00041 }; 00042 00043 } 00044 00045 #endif /*VRML1_DOCUMENT_H_*/