LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
deeplima::PathResolver Class Reference

#include </home/runner/work/lima/lima/deeplima/libs/helpers/path_resolver.h>

Public Member Functions

 PathResolver (const std::string &paths="")
 
std::string resolve (const std::string &prefix, const std::string &path, const std::vector< std::string > &accepted_ext={}) const
 

Protected Member Functions

std::string find_user_data_home ()
 
void init (const std::string &paths="")
 

Protected Attributes

std::vector< std::string > m_resources_paths
 

Detailed Description

Definition at line 15 of file path_resolver.h.

Constructor & Destructor Documentation

◆ PathResolver()

deeplima::PathResolver::PathResolver ( const std::string &  paths = "")

Definition at line 21 of file path_resolver.cpp.

Member Function Documentation

◆ find_user_data_home()

string deeplima::PathResolver::find_user_data_home ( )
protected

Definition at line 89 of file path_resolver.cpp.

◆ init()

void deeplima::PathResolver::init ( const std::string &  paths = "")
protected

Definition at line 123 of file path_resolver.cpp.

◆ resolve()

string deeplima::PathResolver::resolve ( const std::string &  prefix,
const std::string &  path,
const std::vector< std::string > &  accepted_ext = {} 
) const

Definition at line 26 of file path_resolver.cpp.

Member Data Documentation

◆ m_resources_paths

std::vector<std::string> deeplima::PathResolver::m_resources_paths
protected

Definition at line 26 of file path_resolver.h.


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