Pyrogenesis  trunk
Classes | Functions | Variables
RelaxNG.cpp File Reference
#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/relaxng.h>
#include <map>
#include <mutex>
Include dependency graph for RelaxNG.cpp:

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, xmlErrorPtr error)
 

Variables

static std::map< std::string, std::shared_ptr< RelaxNGSchema > > g_SchemaCache
 
static std::mutex g_SchemaCacheLock
 

Function Documentation

◆ ClearSchemaCache()

void ClearSchemaCache ( )

There should be no references to validators or schemas outside of the cache anymore when calling this.

◆ relaxNGErrorHandler()

static void relaxNGErrorHandler ( void *  userData,
xmlErrorPtr  error 
)
static

◆ TIMER_ADD_CLIENT()

TIMER_ADD_CLIENT ( xml_validation  )

Variable Documentation

◆ g_SchemaCache

std::map<std::string, std::shared_ptr<RelaxNGSchema> > g_SchemaCache
static

◆ g_SchemaCacheLock

std::mutex g_SchemaCacheLock
static