ManaPlus
Static Public Member Functions | Data Fields
anonymous_namespace{xmlloader.cpp}::ResourceLoader Struct Reference

Static Public Member Functions

static Resourceload (const void *const v)
 

Data Fields

const std::string path
 
const UseVirtFs useResman
 
const SkipError skipError
 

Detailed Description

Definition at line 34 of file xmlloader.cpp.

Member Function Documentation

◆ load()

static Resource* anonymous_namespace{xmlloader.cpp}::ResourceLoader::load ( const void *const  v)
inlinestatic

Definition at line 42 of file xmlloader.cpp.

43  {
44  if (v == nullptr)
45  return nullptr;
46  const ResourceLoader *const
47  rl = static_cast<const ResourceLoader *>(v);
48  return new XML::Document(rl->path,
49  rl->useResman,
50  rl->skipError);
51  }

References path, skipError, and useResman.

Field Documentation

◆ path

const std::string anonymous_namespace{xmlloader.cpp}::ResourceLoader::path

Definition at line 38 of file xmlloader.cpp.

Referenced by load().

◆ skipError

const SkipError anonymous_namespace{xmlloader.cpp}::ResourceLoader::skipError

Definition at line 40 of file xmlloader.cpp.

Referenced by load().

◆ useResman

const UseVirtFs anonymous_namespace{xmlloader.cpp}::ResourceLoader::useResman

Definition at line 39 of file xmlloader.cpp.

Referenced by load().


The documentation for this struct was generated from the following file: