Embedded Template Library  1.0
 All Classes Files Functions Variables Typedefs Friends Modules Pages
etl::ibitset Class Referenceabstract

#include <ibitset.h>

Public Member Functions

 ibitset ()
 Default constructor.
 
virtual ~ibitset ()
 Destructor.
 
virtual ibitsetset (size_t position, bool value=true)=0
 Set the bit at the position.
 
virtual ibitsetreset (size_t position)=0
 Reset the bit at the position.
 
virtual size_t find_first (bool state) const =0
 

Detailed Description

The base class for etl::bitset

Member Function Documentation

virtual size_t etl::ibitset::find_first ( bool  state) const
pure virtual

Finds the first bit in the specified state.

Parameters
stateThe state to search for.
Returns
The position of the bit or SIZE if none were found.

Implemented in etl::bitset< N >, and etl::bitset< SIZE >.


The documentation for this class was generated from the following file: