OR-Tools  8.2
Bitmap

Detailed Description

Definition at line 38 of file bitmap.h.

Public Member Functions

 Bitmap (uint32 size, bool fill=false)
 
 ~Bitmap ()
 
void Resize (uint32 size, bool fill=false)
 
bool Get (uint32 index) const
 
void Set (uint32 index, bool value)
 
void SetAll (bool value)
 
void Clear ()
 

Constructor & Destructor Documentation

◆ Bitmap()

Bitmap ( uint32  size,
bool  fill = false 
)
inlineexplicit

Definition at line 42 of file bitmap.h.

◆ ~Bitmap()

~Bitmap ( )
inline

Definition at line 51 of file bitmap.h.

Member Function Documentation

◆ Clear()

void Clear ( )
inline

Definition at line 77 of file bitmap.h.

◆ Get()

bool Get ( uint32  index) const
inline

Definition at line 58 of file bitmap.h.

◆ Resize()

void Resize ( uint32  size,
bool  fill = false 
)

Definition at line 22 of file bitmap.cc.

◆ Set()

void Set ( uint32  index,
bool  value 
)
inline

Definition at line 62 of file bitmap.h.

◆ SetAll()

void SetAll ( bool  value)
inline

Definition at line 72 of file bitmap.h.


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