Rigs of Rods
2026.01
Soft-body Physics Simulation
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
Loading...
Searching...
No Matches
source
main
scripting
bindings
wrappers
GenericFileFormatAngelscriptWrappers.h
Go to the documentation of this file.
1
/*
2
This source file is part of Rigs of Rods
3
Copyright 2005-2012 Pierre-Michel Ricordel
4
Copyright 2007-2012 Thomas Fischer
5
Copyright 2013-2022 Petr Ohlidal
6
7
For more information, see http://www.rigsofrods.org/
8
9
Rigs of Rods is free software: you can redistribute it and/or modify
10
it under the terms of the GNU General Public License version 3, as
11
published by the Free Software Foundation.
12
13
Rigs of Rods is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
27
28
#pragma once
29
30
#include "
GenericFileFormat.h
"
31
32
namespace
GenericFileFormatAngelscriptWrappers
{
33
34
using namespace
RoR
;
35
36
// Factories
37
static
GenericDocument
*
GenericDocumentFactory
()
38
{
39
return
new
GenericDocument
();
40
}
41
42
static
GenericDocContext
*
GenericDocContextFactory
(
GenericDocumentPtr
doc)
43
{
44
return
new
GenericDocContext
(doc);
45
}
46
47
}
// namespace GenericFileFormatAngelscriptWrappers
GenericFileFormat.h
Generic text file parser.
RefCountingObjectPtr< GenericDocument >
GenericFileFormatAngelscriptWrappers
Definition
GenericFileFormatAngelscriptWrappers.h:32
GenericFileFormatAngelscriptWrappers::GenericDocumentFactory
static GenericDocument * GenericDocumentFactory()
Definition
GenericFileFormatAngelscriptWrappers.h:37
GenericFileFormatAngelscriptWrappers::GenericDocContextFactory
static GenericDocContext * GenericDocContextFactory(GenericDocumentPtr doc)
Definition
GenericFileFormatAngelscriptWrappers.h:42
RoR
Definition
AppContext.h:36
RoR::GenericDocContext
Definition
GenericFileFormat.h:90
RoR::GenericDocument
Definition
GenericFileFormat.h:67
Generated on Sun Oct 18 2026 08:40:11 for Rigs of Rods by
1.9.8