Template Class resource_converter

Inheritance Relationships

Base Type

Class Documentation

template<typename result, typename ...Settings>
class legion::core::filesystem::resource_converter : public legion::core::filesystem::detail::resource_converter_base

Base struct all user created resource converters should inherit from.

Template Parameters
  • result: Result type that the converter converts to.

  • Settings...: Any settings to be passed to the load function.

Public Functions

inline virtual id_type result_type() override
virtual common::result_decay_more<result, fs_error> load_default(const basic_resource &resource) = 0
virtual common::result_decay_more<result, fs_error> load(const basic_resource &resource, Settings&&...) = 0