Home | History | Annotate | Download | only in leveldb

Lines Matching refs:Env

5 // An Env is an interface used by the leveldb implementation to access
7 // may wish to provide a custom Env object when opening a database to
10 // All Env implementations are safe for concurrent access from
31 class Env {
33 Env() { }
34 virtual ~Env();
37 // system. Sophisticated users may wish to provide their own Env
41 static Env* Default();
121 // added to the same Env may run concurrently in different threads.
150 Env(const Env&);
151 void operator=(const Env&);
263 extern Status WriteStringToFile(Env* env, const Slice& data,
267 extern Status ReadFileToString(Env* env, const std::string& fname,
270 // An implementation of Env that forwards all calls to another Env.
272 // functionality of another Env.
273 class EnvWrapper : public Env {
276 explicit EnvWrapper(Env* t) : target_(t) { }
279 // Return the target to which this Env forwards all calls
280 Env* target() const { return target_; }
328 Env* target_;