mdbx++: added partial doxygen descriptions and refined some methods.

Change-Id: I98bd4cb6e296970abbd40ffa049eff6051f30135
This commit is contained in:
Leonid Yuriev 2020-09-07 01:54:36 +03:00
parent 5cb6f02770
commit 81f82ae7b3
3 changed files with 809 additions and 298 deletions

339
mdbx.h

File diff suppressed because it is too large Load Diff

762
mdbx.h++

File diff suppressed because it is too large Load Diff

View File

@ -1184,7 +1184,7 @@ __cold env::env(const path &pathname, const operate_parameters &op, bool accede)
// error::throw_exception(MDBX_INCOMPATIBLE);
}
__cold env::env(const path &pathname, const env_ref::create_parameters &cp,
__cold env::env(const path &pathname, const env::create_parameters &cp,
const env_ref::operate_parameters &op, bool accede)
: env(create_env()) {
setup(op.max_maps, op.max_readers);
@ -1438,7 +1438,7 @@ __cold ::std::ostream &operator<<(::std::ostream &out,
}
__cold ::std::ostream &operator<<(::std::ostream &out,
const env_ref::create_parameters &it) {
const env::create_parameters &it) {
return out << "{\n" //
<< "\tfile_mode " << std::oct << it.file_mode_bits << std::dec //
<< ",\n\tsubdirectory " << (it.use_subdirectory ? "yes" : "no") //
@ -1568,7 +1568,7 @@ __cold string to_string(const ::mdbx::env_ref::operate_options &value) {
return out.str();
}
__cold string to_string(const ::mdbx::env_ref::create_parameters &value) {
__cold string to_string(const ::mdbx::env::create_parameters &value) {
ostringstream out;
out << value;
return out.str();