Horizon
Public Member Functions | List of all members
horizon::PoolCached Class Reference
Inheritance diagram for horizon::PoolCached:
horizon::Pool

Public Member Functions

 PoolCached (const std::string &base_path, const std::string &cache_path)
 
const std::string & get_cache_path () const
 
std::string get_filename (ObjectType type, const UUID &uu, UUID *pool_uuid_out) override
 
std::string get_model_filename (const UUID &pkg_uuid, const UUID &model_uuid) override
 
- Public Member Functions inherited from horizon::Pool
 Pool (const std::string &base_path, bool read_only=true)
 Constructs a Pool. More...
 
const class Unit * get_unit (const UUID &uu)
 
const class Entity * get_entity (const UUID &uu)
 
const class Symbol * get_symbol (const UUID &uu)
 
const class Padstack * get_padstack (const UUID &uu)
 
const class Package * get_package (const UUID &uu)
 
const class Part * get_part (const UUID &uu)
 
const class Frame * get_frame (const UUID &uu)
 
std::set< UUID > get_alternate_packages (const UUID &uu)
 
const std::string & get_base_path () const
 
void clear ()
 Clears all lazy-loaded objects. More...
 
std::string get_tmp_filename (ObjectType type, const UUID &uu) const
 

Additional Inherited Members

- Static Public Member Functions inherited from horizon::Pool
static int get_required_schema_version ()
 
- Public Attributes inherited from horizon::Pool
SQLite::Database db
 The database connection. More...
 
- Protected Member Functions inherited from horizon::Pool
std::string get_flat_filename (ObjectType type, const UUID &uu) const
 
- Protected Attributes inherited from horizon::Pool
std::string base_path
 
std::map< UUID, Unit > units
 
std::map< UUID, Entity > entities
 
std::map< UUID, Symbol > symbols
 
std::map< UUID, Padstack > padstacks
 
std::map< UUID, Package > packages
 
std::map< UUID, Part > parts
 
std::map< UUID, Frame > frames
 

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