RigsofRods
Soft-body Physics Simulation
GenericDocumentClass.h
Go to the documentation of this file.
1 namespace Script2Game {
2 
12 {
21 };
22 
27 {
31  bool loadFromResource(string resource_name, string resource_group_name, int options = 0);
32 
36  bool saveToResource(string resource_name, string resource_group_name);
37 };
38 
41 
42 } //namespace Script2Game
Script2Game::GENERIC_DOCUMENT_OPTION_PARENTHESES_CAPTURE_SPACES
@ GENERIC_DOCUMENT_OPTION_PARENTHESES_CAPTURE_SPACES
If non-empty NAKED string encounters '(', following spaces will be captured until matching ')' is fou...
Definition: GenericDocumentClass.h:17
Script2Game::GENERIC_DOCUMENT_OPTION_ALLOW_BRACED_KEYWORDS
@ GENERIC_DOCUMENT_OPTION_ALLOW_BRACED_KEYWORDS
Allow INI-like '[keyword]' tokens.
Definition: GenericDocumentClass.h:18
Script2Game
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition: BeamClass.h:2
Script2Game::GenericDocumentClass::saveToResource
bool saveToResource(string resource_name, string resource_group_name)
Saves the document to OGRE resource system.
Script2Game::GENERIC_DOCUMENT_OPTION_ALLOW_NAKED_STRINGS
@ GENERIC_DOCUMENT_OPTION_ALLOW_NAKED_STRINGS
Allow strings without quotes, for backwards compatibility.
Definition: GenericDocumentClass.h:13
Script2Game::GENERIC_DOCUMENT_OPTION_ALLOW_SEPARATOR_EQUALS
@ GENERIC_DOCUMENT_OPTION_ALLOW_SEPARATOR_EQUALS
Allow '=' as separator between tokens.
Definition: GenericDocumentClass.h:19
Script2Game::GENERIC_DOCUMENT_OPTION_FIRST_LINE_IS_TITLE
@ GENERIC_DOCUMENT_OPTION_FIRST_LINE_IS_TITLE
First non-empty & non-comment line is a naked string with spaces.
Definition: GenericDocumentClass.h:15
Script2Game::GENERIC_DOCUMENT_OPTION_ALLOW_HASH_COMMENTS
@ GENERIC_DOCUMENT_OPTION_ALLOW_HASH_COMMENTS
Allow comments starting with #.
Definition: GenericDocumentClass.h:20
Script2Game::GENERIC_DOCUMENT_OPTION_ALLOW_SEPARATOR_COLON
@ GENERIC_DOCUMENT_OPTION_ALLOW_SEPARATOR_COLON
Allow ':' as separator between tokens.
Definition: GenericDocumentClass.h:16
Script2Game::GenericDocumentOptions
GenericDocumentOptions
Definition: GenericDocumentClass.h:11
Script2Game::GENERIC_DOCUMENT_OPTION_ALLOW_SLASH_COMMENTS
@ GENERIC_DOCUMENT_OPTION_ALLOW_SLASH_COMMENTS
Allow comments starting with //.
Definition: GenericDocumentClass.h:14
Script2Game::GenericDocumentClass::loadFromResource
bool loadFromResource(string resource_name, string resource_group_name, int options=0)
Loads and parses a document from OGRE resource system.
Script2Game::GenericDocumentClass
Binding of RoR::GenericDocument; Parses TRUCK/TOBJ/ODEF/CHARACTER file formats.
Definition: GenericDocumentClass.h:26