-
Notifications
You must be signed in to change notification settings - Fork 3
/
core.hpp
69 lines (65 loc) · 3.09 KB
/
core.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/***************************************************************************
* Copyright (C) 2011 by Tamino Dauth *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef WC3LIB_CORE_HPP
#define WC3LIB_CORE_HPP
namespace wc3lib
{
/**
* \page coresection Core
* The core of the wc3lib is shared by all of its modules. It provides some basic functions and classes for exception handling, internationalisation and I/O operations as well as basic data types for Warcraft III formats.
*
* Class \ref Exception is the base class of all exceptions thrown by functions of the wc3lib.
*
* Include \ref i18n.hpp to use boost::format() and gettext macros for internationalisation of your program.
*
* Class \ref Format is the base class of all format related classes of the wc3lib. It supports some basic serialization member functions.
*
* Include \ref utilities.hpp to use many I/O stream functions heavily used by all supported format classes. Besides it includes many default components of the STL and the Boost C++ Libraries and provides some error/info output functions with human-readable messages.
*
* Basic data types are provided as well which can be used for serialization as well as data access.
* Include \ref vertex.hpp to use the vertex types.
* The following classes allow access to vertices of all kinds used in Warcraft III:
* <ul>
* <li>\ref BasicVertex </li>
* <li>\ref Vertex2d </li>
* <li>\ref Vertex3d </li>
* <li>\ref Quaternion </li>
* </ul>
*
* Colors are represented as well (\ref color.hpp):
* <ul>
* <li>\ref Rgb </li>
* <li>\ref Bgr </li>
* <li>\ref Rgba </li>
* <li>\ref Bgra </li>
* </ul>
*
* \namespace wc3lib
* \brief \ref coresection
*/
}
#include "color.hpp"
#include "exception.hpp"
#include "format.hpp"
#include "i18n.hpp"
#include "platform.hpp"
#include "utilities.hpp"
#include "vertex.hpp"
#endif