Struct ResourceTemplateBase

Inheritance Relationships

Derived Type

Struct Documentation

struct backend::ResourceTemplateBase

Subclassed by backend::ResourceTemplate< DataType >

Public Types

typedef std::unique_ptr<ResourceTemplateBase> Ptr

Public Functions

template<typename Derived>
inline Derived &getAs()
template<typename Derived>
inline const Derived &getAs() const

Public Members

ResourceId id
ResourceType type
std::string folder
bool is_external_folder
DataTypes data_type

Protected Functions

inline ResourceTemplateBase(const ResourceType &_type, const std::string &_folder, bool _is_external_folder)