librime: rime::FallbackResourceResolver Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Member Functions | List of all members
rime::FallbackResourceResolver Class Reference

`#include <resource.h>`

Inheritance diagram for rime::FallbackResourceResolver:
[legend]
Collaboration diagram for rime::FallbackResourceResolver:
[legend]

## Public Member Functions
| FallbackResourceResolver (const ResourceType &type)
path | ResolvePath (const string &resource_id) override
void | set_fallback_root_path (path fallback_root_path)
Public Member Functions inherited from rime::ResourceResolver
| ResourceResolver (const ResourceType type)
virtual | ~ResourceResolver ()
string | ToResourceId (const string &file_path) const
string | ToFilePath (const string &resource_id) const
void | set_root_path (path root_path)
path | root_path () const

## Additional Inherited Members
Protected Attributes inherited from rime::ResourceResolver
const ResourceType | type_
path | root_path_

## Constructor & Destructor Documentation

## ◆ FallbackResourceResolver()

rime::FallbackResourceResolver::FallbackResourceResolver | ( | const ResourceType & | type | ) |
| inlineexplicit

## Member Function Documentation

## ◆ ResolvePath()

path rime::FallbackResourceResolver::ResolvePath | ( | const string & | resource_id | ) |
| overridevirtual

Reimplemented from rime::ResourceResolver.

## ◆ set_fallback_root_path()

void rime::FallbackResourceResolver::set_fallback_root_path | ( | path | fallback_root_path | ) |
| inline

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

- resource.h
- resource.cc