Revision 692,
653 bytes
checked in by mattausch, 18 years ago
(diff) |
adding ogre 1.2 and dependencies
|
Line | |
---|
1 | #ifndef VRMLLIB_FILE_H
|
---|
2 | #define VRMLLIB_FILE_H
|
---|
3 |
|
---|
4 | #include <map>
|
---|
5 | #include <set>
|
---|
6 | #include <string>
|
---|
7 |
|
---|
8 | #include <vrmllib/node.h>
|
---|
9 |
|
---|
10 | namespace vrmllib {
|
---|
11 |
|
---|
12 | /// the contents of a VRML97 stream
|
---|
13 | /** contains all nodes that could be found in the stream
|
---|
14 | * passed to the constructor.
|
---|
15 | * the file owns the nodes and will delete them when when it is
|
---|
16 | * destroyed. */
|
---|
17 | class file {
|
---|
18 | public:
|
---|
19 | explicit file(std::istream &);
|
---|
20 | ~file();
|
---|
21 |
|
---|
22 | typedef std::map<std::string, node *> defs_t;
|
---|
23 | typedef std::vector<node *> nodes_t;
|
---|
24 | typedef std::vector<node *> roots_t;
|
---|
25 |
|
---|
26 | defs_t defs;
|
---|
27 | nodes_t nodes;
|
---|
28 | roots_t roots;
|
---|
29 | };
|
---|
30 |
|
---|
31 | } // namespace vrmllib
|
---|
32 |
|
---|
33 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.