Public Member Functions | Public Attributes | List of all members
lvr2::BitField< W, H > Struct Template Reference

#include <BitField.hpp>

Public Member Functions

 BitField ()
 
void clear (const unsigned int &i, const unsigned int &j)
 
bool get (const unsigned int &i, const unsigned int &j) const
 
void set (const unsigned int &i, const unsigned int &j)
 
void toggle (const unsigned int &i, const unsigned int &j)
 

Public Attributes

unsigned char data = 0
 

Detailed Description

template<unsigned int W, unsigned int H>
struct lvr2::BitField< W, H >

Definition at line 9 of file BitField.hpp.

Constructor & Destructor Documentation

◆ BitField()

template<unsigned int W, unsigned int H>
lvr2::BitField< W, H >::BitField ( )
inline

Definition at line 13 of file BitField.hpp.

Member Function Documentation

◆ clear()

template<unsigned int W, unsigned int H>
void lvr2::BitField< W, H >::clear ( const unsigned int &  i,
const unsigned int &  j 
)
inline

Definition at line 30 of file BitField.hpp.

◆ get()

template<unsigned int W, unsigned int H>
bool lvr2::BitField< W, H >::get ( const unsigned int &  i,
const unsigned int &  j 
) const
inline

Definition at line 20 of file BitField.hpp.

◆ set()

template<unsigned int W, unsigned int H>
void lvr2::BitField< W, H >::set ( const unsigned int &  i,
const unsigned int &  j 
)
inline

Definition at line 15 of file BitField.hpp.

◆ toggle()

template<unsigned int W, unsigned int H>
void lvr2::BitField< W, H >::toggle ( const unsigned int &  i,
const unsigned int &  j 
)
inline

Definition at line 25 of file BitField.hpp.

Member Data Documentation

◆ data

template<unsigned int W, unsigned int H>
unsigned char lvr2::BitField< W, H >::data = 0

Definition at line 11 of file BitField.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:11