API Documentation
InfiniteBitMask.h
1 // InfiniteBitMask.h
3 //
5 
6 namespace nkGraphics
7 {
12  {
13  public :
14 
31 
38  void setBit (unsigned int index, bool value) ;
42  void clear () ;
43 
48  bool getBit (unsigned int index) const ;
52  unsigned int getOrder () const ;
53 
62  bool checkSubPartEquality (const InfiniteBitMask& other, unsigned int begin, unsigned int end) const ;
63 
70  std::vector<bool>::reference operator[] (size_t index) ;
77  bool operator[] (size_t index) const ;
78 
85  bool operator== (const InfiniteBitMask& other) const ;
92  bool operator!= (const InfiniteBitMask& other) const ;
99  bool operator< (const InfiniteBitMask& other) const ;
100 
115  } ;
116 }
nkGraphics::InfiniteBitMask::getBit
bool getBit(unsigned int index) const
nkGraphics::InfiniteBitMask::operator==
bool operator==(const InfiniteBitMask &other) const
nkGraphics::InfiniteBitMask::operator=
InfiniteBitMask & operator=(const InfiniteBitMask &other)
nkGraphics::InfiniteBitMask::checkSubPartEquality
bool checkSubPartEquality(const InfiniteBitMask &other, unsigned int begin, unsigned int end) const
nkGraphics::InfiniteBitMask::InfiniteBitMask
InfiniteBitMask(const InfiniteBitMask &other)
nkGraphics::InfiniteBitMask::getOrder
unsigned int getOrder() const
nkGraphics::InfiniteBitMask::InfiniteBitMask
InfiniteBitMask()
nkGraphics::InfiniteBitMask::operator[]
std::vector< bool >::reference operator[](size_t index)
nkGraphics::InfiniteBitMask::clear
void clear()
nkGraphics::InfiniteBitMask::~InfiniteBitMask
~InfiniteBitMask()
nkGraphics::InfiniteBitMask::operator<
bool operator<(const InfiniteBitMask &other) const
nkGraphics::InfiniteBitMask::setBit
void setBit(unsigned int index, bool value)
nkGraphics::InfiniteBitMask
A utility class providing "infinite" masks, formed by bits, or booleans.
Definition: InfiniteBitMask.h:12
nkGraphics::InfiniteBitMask::InfiniteBitMask
InfiniteBitMask(InfiniteBitMask &&other)
nkGraphics::InfiniteBitMask::operator!=
bool operator!=(const InfiniteBitMask &other) const
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7