Added size & reset virtuals

This commit is contained in:
jwellbelove 2015-01-18 20:06:55 +00:00
parent f349ca416d
commit 8e838b6d59

View File

@ -53,6 +53,11 @@ namespace etl
{
}
//*************************************************************************
/// The size of the bitset.
//*************************************************************************
virtual size_t size() const = 0;
//*************************************************************************
/// Check the bit at the position.
//*************************************************************************
@ -68,6 +73,11 @@ namespace etl
//*************************************************************************
virtual ibitset& reset(size_t position) = 0;
//*************************************************************************
/// Reset all the bits.
//*************************************************************************
virtual ibitset& reset() = 0;
//*************************************************************************
/// Finds the first bit in the specified state.
///\param state The state to search for.