XLE  v0.02.0
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Assets::ConfigFileListContainer< Type, Formatter > Class Template Reference

Loads a single configuration setting from a file with multiple settings More...

#include <ConfigFileContainer.h>

Public Member Functions

 ConfigFileListContainer (const ResChar initializer[])
 
 ConfigFileListContainer (std::shared_ptr< PendingCompileMarker > &&marker)
 
const std::shared_ptr< DependencyValidation > & GetDependencyValidation () const
 

Static Public Member Functions

static std::unique_ptr< ConfigFileListContainerCreateNew (const ResChar initialiser[])
 

Public Attributes

Type _asset
 
DirectorySearchRules _searchRules
 

Protected Member Functions

void Construct (const ResChar initializer[])
 

Protected Attributes

std::shared_ptr< DependencyValidation_validationCallback
 

Detailed Description

template<typename Type, typename Formatter = InputStreamFormatter<utf8>>
class Assets::ConfigFileListContainer< Type, Formatter >

Loads a single configuration setting from a file with multiple settings

Like ConfigFileContainer, but this is for cases where we want to load a single setting from a file that contains a list of settings. Client should specify a configuration name after ':' in the initializer passed to the constructor. This is compared against the root element names in the file.


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