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/Filesystem.h"
#include <libxml/relaxng.h>
#include <map>
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, shared_ptr< RelaxNGSchema > > g_SchemaCache
 
static CMutex g_SchemaCacheLock
 

Function Documentation

void ClearSchemaCache ( )

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

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

Variable Documentation

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