Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Helper to crawl hierarchical resources. More...
#include "api.hh"
Public Types | |
using | String2 = std::pair< String, String > |
Public Member Functions | |
virtual Resource | get_folder () const =0 |
Describe current folder. | |
virtual void | set_folder (const Resource &newfolder)=0 |
virtual ResourceS | get_entries () const =0 |
List entries of a folder. | |
virtual void | set_entries (const ResourceS &newentries)=0 |
virtual String2 | assign (const String &utf8path, bool existingfile=false)=0 |
virtual Resource | canonify (const String &utf8cwd, const String &utf8fragment, bool constraindir, bool constrainfile)=0 |
Return absolute path, slash-terminated if directory, constrain to existing paths. | |
![]() | |
virtual void | emit_event (const String &type, const String &detail, const ValueR fields={})=0 |
virtual void | emit_notify (const String &detail)=0 |
void | js_trigger (const String &eventselector, JsTrigger callback) |
![]() | |
T | enable_shared_from_this (T... args) |
T | operator= (T... args) |
T | shared_from_this (T... args) |
T | weak_from_this (T... args) |
T | ~enable_shared_from_this (T... args) |
Public Attributes | |
Member<&ResourceCrawler::get_folder,&ResourceCrawler::set_folder > | folder |
The folder currently being browsed, UTF-8 encoded. | |
Member<&ResourceCrawler::get_entries,&ResourceCrawler::set_entries > | entries |
The entries in the current folder, UTF-8 encoded. | |
![]() | |
const EventHandler & | eventhandler |
|
explicitprotected |
Definition at line 22 of file crawler.cc.
|
pure virtual |
Move to a different path.
Implemented in Ase::FileCrawler.
|
pure virtual |
Return absolute path, slash-terminated if directory, constrain to existing paths.
Implemented in Ase::FileCrawler.
|
pure virtual |
List entries of a folder.
Implemented in Ase::FileCrawler.
|
pure virtual |
Describe current folder.
Implemented in Ase::FileCrawler.
Member<&ResourceCrawler::get_entries,&ResourceCrawler::set_entries> Ase::ResourceCrawler::entries |
Member<&ResourceCrawler::get_folder,&ResourceCrawler::set_folder> Ase::ResourceCrawler::folder |