Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"
#include "RelaxNG.h"
#include "lib/timer.h"
#include "lib/utf8.h"
#include "ps/CLogger.h"
#include "ps/CStr.h"
#include "ps/Filesystem.h"
#include <libxml/parser.h>
#include <libxml/relaxng.h>
#include <map>
#include <mutex>
#include <type_traits>
Classes | |
class | RelaxNGSchema |
Functions | |
TIMER_ADD_CLIENT (xml_validation) | |
void | ClearSchemaCache () |
There should be no references to validators or schemas outside of the cache anymore when calling this. More... | |
static void | relaxNGErrorHandler (void *userData, std::conditional_t< LIBXML_VERSION >=21200, const xmlError, xmlError > *error) |
Variables | |
static std::map< std::string, std::shared_ptr< RelaxNGSchema > > | g_SchemaCache |
static std::mutex | g_SchemaCacheLock |
void ClearSchemaCache | ( | ) |
There should be no references to validators or schemas outside of the cache anymore when calling this.
|
static |
TIMER_ADD_CLIENT | ( | xml_validation | ) |
|
static |
|
static |