TDME2
1.9.200
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
c
d
g
i
m
p
q
r
s
v
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
i
k
l
m
n
o
r
s
t
v
Related Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
a
b
c
e
f
g
k
m
o
p
r
s
t
v
Functions
c
g
m
o
p
r
s
t
Variables
Macros
a
b
c
e
f
g
k
m
p
s
t
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
tdme
engine
fileio
scenes
SceneWriter.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include <
tdme/tdme.h
>
6
#include <
tdme/engine/fileio/scenes/fwd-tdme.h
>
7
#include <
tdme/engine/prototype/fwd-tdme.h
>
8
#include <
tdme/engine/scene/fwd-tdme.h
>
9
10
#include <
tdme/engine/fileio/models/ModelFileIOException.h
>
11
#include <
tdme/os/filesystem/FileSystemException.h
>
12
13
using
std::string;
14
15
using
tdme::engine::fileio::models::ModelFileIOException
;
16
using
tdme::engine::scene::Scene
;
17
using
tdme::os::filesystem::FileSystemException
;
18
19
/**
20
* Scene writer
21
* @author Andreas Drewke
22
*/
23
class
tdme::engine::fileio::scenes::SceneWriter
final
24
{
25
26
public
:
27
/**
28
* Writes a scene
29
* @param pathName path name
30
* @param fileName file name
31
* @param scene scene
32
* @throws tdme::os::filesystem::FileSystemException
33
* @throws tdme::engine::fileio::models::ModelFileIOException
34
*/
35
static
void
write
(
const
string
& pathName,
const
string
& fileName,
Scene
* scene);
36
37
};
FileSystemException.h
ModelFileIOException.h
tdme::engine::fileio::models::ModelFileIOException
Model file IO exception.
Definition:
ModelFileIOException.h:15
tdme::engine::fileio::scenes::SceneWriter
Scene writer.
Definition:
SceneWriter.h:24
tdme::engine::fileio::scenes::SceneWriter::write
static void write(const string &pathName, const string &fileName, Scene *scene)
Writes a scene.
Definition:
SceneWriter.cpp:59
tdme::engine::scene::Scene
Scene definition.
Definition:
Scene.h:50
tdme::os::filesystem::FileSystemException
File system exception.
Definition:
FileSystemException.h:15
fwd-tdme.h
fwd-tdme.h
fwd-tdme.h
tdme.h
Generated by
1.9.1