LocalCache.hh
Go to the documentation of this file.
High level interface to ignition fuel.
Definition: ClientConfig.hh:110
Class for managing stuff in the local cache.
Definition: LocalCache.hh:47
virtual Model MatchingModel(const ModelIdentifier &_id)
Get the first model matching all fields on an id.
virtual ModelIter AllModels()
Get all models in offline cache.
virtual bool SaveModel(const ModelIdentifier &_id, const std::string &_data, const bool _overwrite)
Add a model from packed data to the local cache.
virtual bool SaveWorld(WorldIdentifier &_id, const std::string &_data, const bool _overwrite)
Add a world from packed data to the local cache.
virtual ModelIter MatchingModels(const ModelIdentifier &_id)
Get all models partially matching an ID.
virtual bool MatchingWorld(WorldIdentifier &_id) const
Get the first world matching all fields on an id.
virtual WorldIter AllWorlds() const
Get all worlds in offline cache.
virtual WorldIter MatchingWorlds(const WorldIdentifier &_id) const
Get all worlds partially matching an ID.
Defines how to identify a model.
Definition: ModelIdentifier.hh:46
Defines how to identify a world.
Definition: WorldIdentifier.hh:43