|
C3D_API | SceneFileParser (Engine &engine, ProgressBar *progress=nullptr) |
| Constructor.
|
|
C3D_API castor::FileParserContextUPtr | initialiseParser (castor::Path const &path) |
|
RenderWindowDesc | getRenderWindow () |
|
ScenePtrStrMap::iterator | scenesBegin () |
|
ScenePtrStrMap::const_iterator | scenesBegin () const |
|
ScenePtrStrMap::const_iterator | scenesEnd () const |
|
Engine * | getOwner () const |
|
| DataHolderT () noexcept=default |
|
| DataHolderT (RootContext d) noexcept |
|
RootContext & | getData () |
|
RootContext const & | getData () const |
|
void | setData (RootContext data) |
|
CU_API | FileParser (SectionId rootSectionId, void *rootBlockContext=nullptr) |
| Constructor.
|
|
CU_API | FileParser (LoggerInstance &logger, SectionId rootSectionId, void *rootBlockContext=nullptr) |
| Constructor.
|
|
virtual CU_API | ~FileParser () noexcept=default |
| Destructor.
|
|
CU_API void | registerParsers (String const &name, AdditionalParsers const &parsers) |
| Registers additional parsers.
|
|
CU_API void | processFile (String const &appName, Path path, PreprocessedFile &preprocessed) |
| Parsing function.
|
|
CU_API void | processFile (Path const &path, PreprocessedFile &preprocessed) |
| Parsing function.
|
|
CU_API void | processFile (Path const &path, String const &content, PreprocessedFile &preprocessed) |
| Parsing function.
|
|
CU_API PreprocessedFile | processFile (String const &appName, Path const &path) |
| Parsing function.
|
|
CU_API PreprocessedFile | processFile (Path const &path) |
| Parsing function.
|
|
CU_API PreprocessedFile | processFile (Path const &path, String const &content) |
| Parsing function.
|
|
CU_API bool | parseFile (String const &appName, Path const &path) |
| Parsing function.
|
|
CU_API bool | parseFile (Path const &path) |
| Parsing function.
|
|
CU_API bool | parseFile (Path const &path, String const &content) |
| Parsing function.
|
|
CU_API void | parseError (String const &functionName, uint64_t lineIndex, String const &error) |
| Logs an error in the log file.
|
|
CU_API void | parseWarning (String const &functionName, uint64_t lineIndex, String const &warning) |
| Logs a warning in the log file.
|
|
CU_API void | addParser (SectionId oldSection, SectionId newSection, String const &name, ParserFunction const &function, ParserParameterArray const ¶ms=ParserParameterArray()) |
| adds a parser function to the parsers list.
|
|
CU_API void | addParser (SectionId section, String const &name, ParserFunction const &function, ParserParameterArray const ¶ms=ParserParameterArray()) |
| adds a parser function to the parsers list.
|
|
bool | isIgnored () const |
| Tells if the read lines are to be ignored.
|
|
void | ignore () |
| Increments ignore level.
|
|
LoggerInstance & | getLogger () const |
|
SectionId | getRootSectionId () const |
|
void * | getRootBlockContext () const |
|
void | validate (PreprocessedFile &preprocessed) |
|
String | getSectionName (SectionId section) const |
|
void | cleanupParser (PreprocessedFile &preprocessed) |
|
auto const & | getAdditionalParsers () const |
|