SwiftclassWeatherCore

class WeatherCore.CurrentLocationStore

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 14

  1. varstatic var location: TeaDB.Database.Location { get set }
  2. varstatic var preferredCacheSize: TeaDB.Database.CacheSize { get }
  3. deinitdeinit
  4. fieldlet currentLocationGeocoded: TeaDB.Table<WeatherCore.CurrentLocationGeocodedEntity>+0x30
  5. fieldlet currentLocationRaw: TeaDB.Table<WeatherCore.CurrentLocationRawEntity>+0x28
  6. fieldlet database: TeaDB.Database+0x20
  7. fieldlet entityKey: String+0x10
  8. funccacheLocation(WeatherCore.Location) -> ()
  9. funccacheLocation(CLLocation) -> ()
  10. funcclearCache() -> ()
  11. funcreadCachedGeocodedLocation() -> WeatherCore.CachedCurrentLocation?
  12. funcreadCachedLocation() -> WeatherCore.CachedCurrentLocation?
  13. funcreadCachedRawLocation() -> WeatherCore.CachedCurrentLocation?
  14. initWeatherCore.CurrentLocationStore.__allocating_init(database: TeaDB.Database) throws -> WeatherCore.CurrentLocationStore
class CurrentLocationStore {
    let entityKey: Swift.String
    let database: TeaDB.Database
    let currentLocationRaw: TeaDB.Table<WeatherCore.CurrentLocationRawEntity>
    let currentLocationGeocoded: TeaDB.Table<WeatherCore.CurrentLocationGeocodedEntity>

    init(database: TeaDB.Database) throws

    final func readCachedLocation() -> WeatherCore.CachedCurrentLocation?
    final func readCachedRawLocation() -> WeatherCore.CachedCurrentLocation?
    final func readCachedGeocodedLocation() -> WeatherCore.CachedCurrentLocation?
    final func cacheLocation(_: WeatherCore.Location)
    final func cacheLocation(_: __C.CLLocation)
    final func clearCache()

    static var location: TeaDB.Database.Location {
        get
        set
    }
    static var preferredCacheSize: TeaDB.Database.CacheSize {
        get
    }

    deinit
}