Merge branch 'master' of github.com:jthornber/thin-provisioning-tools into era
This commit is contained in:
@ -202,18 +202,18 @@ namespace persistent_data {
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
bitset::bitset(tm_ptr tm)
|
||||
persistent_data::bitset::bitset(tm_ptr tm)
|
||||
: impl_(new bitset_impl(tm))
|
||||
{
|
||||
}
|
||||
|
||||
bitset::bitset(tm_ptr tm, block_address root, unsigned nr_bits)
|
||||
persistent_data::bitset::bitset(tm_ptr tm, block_address root, unsigned nr_bits)
|
||||
: impl_(new bitset_impl(tm, root, nr_bits))
|
||||
{
|
||||
}
|
||||
|
||||
block_address
|
||||
bitset::get_root() const
|
||||
persistent_data::bitset::get_root() const
|
||||
{
|
||||
return impl_->get_root();
|
||||
}
|
||||
@ -225,37 +225,37 @@ bitset::get_nr_bits() const
|
||||
}
|
||||
|
||||
void
|
||||
bitset::grow(unsigned new_nr_bits, bool default_value)
|
||||
persistent_data::bitset::grow(unsigned new_nr_bits, bool default_value)
|
||||
{
|
||||
impl_->grow(new_nr_bits, default_value);
|
||||
}
|
||||
|
||||
void
|
||||
bitset::destroy()
|
||||
persistent_data::bitset::destroy()
|
||||
{
|
||||
impl_->destroy();
|
||||
}
|
||||
|
||||
bool
|
||||
bitset::get(unsigned n)
|
||||
persistent_data::bitset::get(unsigned n)
|
||||
{
|
||||
return impl_->get(n);
|
||||
}
|
||||
|
||||
void
|
||||
bitset::set(unsigned n, bool value)
|
||||
persistent_data::bitset::set(unsigned n, bool value)
|
||||
{
|
||||
impl_->set(n, value);
|
||||
}
|
||||
|
||||
void
|
||||
bitset::flush()
|
||||
persistent_data::bitset::flush()
|
||||
{
|
||||
impl_->flush();
|
||||
}
|
||||
|
||||
void
|
||||
bitset::walk_bitset(bitset_visitor &v) const
|
||||
persistent_data::bitset::walk_bitset(bitset_visitor &v) const
|
||||
{
|
||||
impl_->walk_bitset(v);
|
||||
}
|
||||
|
Reference in New Issue
Block a user