TDME2
1.9.121
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
* @version $Id$
23
*/
24
class
tdme::engine::fileio::scenes::SceneWriter
final
25
{
26
27
public
:
28
/**
29
* Writes a scene
30
* @param pathName path name
31
* @param fileName file name
32
* @param scene scene
33
* @throws tdme::os::filesystem::FileSystemException
34
* @throws tdme::engine::fileio::models::ModelFileIOException
35
*/
36
static
void
write
(
const
string
& pathName,
const
string
& fileName,
Scene
* scene);
37
38
};
FileSystemException.h
ModelFileIOException.h
tdme::engine::fileio::models::ModelFileIOException
Model file IO exception.
Definition:
ModelFileIOException.h:16
tdme::engine::fileio::scenes::SceneWriter
Scene writer.
Definition:
SceneWriter.h:25
tdme::engine::fileio::scenes::SceneWriter::write
static void write(const string &pathName, const string &fileName, Scene *scene)
Writes a scene.
Definition:
SceneWriter.cpp:56
tdme::engine::scene::Scene
Scene definition.
Definition:
Scene.h:41
tdme::os::filesystem::FileSystemException
File system exception.
Definition:
FileSystemException.h:16
fwd-tdme.h
fwd-tdme.h
fwd-tdme.h
tdme.h
Generated by
1.9.3