cheatah
Class

space::cdf::File

cheatah-space v0.1.0-alpha — Biome Standard 0.6.5-alpha

An opened CDF.

Cheap to copy — copies share the underlying mapping — and immutable, so any number of readers may use one concurrently. Obtain one from open(); a default-constructed File is empty and every query on it fails with ErrorCode::EmptyFile.

Functions

fn File · 2 overloads
File()=default#
File(std::shared_ptr< const detail::FileImpl > impl) noexcept#

Wrap a fully loaded implementation.

Internal; use open().

Parameters
impl

the loaded state.

fn const detail::FileImpl & state() const #
Returns

the loaded state. Throws ErrorCode::EmptyFile on a default-constructed File.

Constants & variables

var std::shared_ptr< const detail::FileImpl > impl_ #