#include <Xeromyces.h>
|
static void | Startup () |
| Call once when initialising the program, to load libxml2. More...
|
|
static void | Terminate () |
| Call once when shutting down the program, to unload libxml2. More...
|
|
static bool | AddValidator (const PIVFS &vfs, const std::string &name, const VfsPath &grammarPath) |
|
static bool | ValidateEncoded (const std::string &name, const std::string &filename, const std::string &document) |
|
◆ AddValidator()
bool CXeromyces::AddValidator |
( |
const PIVFS & |
vfs, |
|
|
const std::string & |
name, |
|
|
const VfsPath & |
grammarPath |
|
) |
| |
|
static |
◆ ConvertFile()
PSRETURN CXeromyces::ConvertFile |
( |
const PIVFS & |
vfs, |
|
|
const VfsPath & |
filename, |
|
|
const VfsPath & |
xmbPath, |
|
|
const std::string & |
validatorName |
|
) |
| |
|
private |
◆ GenerateCachedXMB()
bool CXeromyces::GenerateCachedXMB |
( |
const PIVFS & |
vfs, |
|
|
const VfsPath & |
sourcePath, |
|
|
VfsPath & |
archiveCachePath, |
|
|
const std::string & |
validatorName = "" |
|
) |
| |
Convert the given XML file into an XMB in the archive cache.
Returns the XMB path in archiveCachePath
. Returns false on error.
◆ GetValidator()
NOTE: Callers MUST acquire the g_ValidatorCacheLock before calling this.
◆ Load()
PSRETURN CXeromyces::Load |
( |
const PIVFS & |
vfs, |
|
|
const VfsPath & |
filename, |
|
|
const std::string & |
validatorName = "" |
|
) |
| |
Load from an XML file (with invisible XMB caching).
◆ LoadString()
PSRETURN CXeromyces::LoadString |
( |
const char * |
xml, |
|
|
const std::string & |
validatorName = "" |
|
) |
| |
Load from an in-memory XML string (with no caching).
◆ Startup()
void CXeromyces::Startup |
( |
| ) |
|
|
static |
Call once when initialising the program, to load libxml2.
This should be run in the main thread, before any thread uses libxml2.
◆ Terminate()
void CXeromyces::Terminate |
( |
| ) |
|
|
static |
Call once when shutting down the program, to unload libxml2.
◆ ValidateEncoded()
bool CXeromyces::ValidateEncoded |
( |
const std::string & |
name, |
|
|
const std::string & |
filename, |
|
|
const std::string & |
document |
|
) |
| |
|
static |
◆ TestXMBData
◆ XMBData
◆ m_Data
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/ps/XML/Xeromyces.h
- /home/docker/jenkins/workspace/technical-docs/source/ps/XML/Xeromyces.cpp