|
libzypp
15.22.2
|
Libsolv (bit)Map wrapper. More...
#include <Map.h>
Classes | |
| struct | PoolSizeType |
| Type to indicate the bitmap should match the current pools capacity. More... | |
Public Types | |
| typedef unsigned long | size_type |
Public Member Functions | |
| Map () | |
| Default ctor: empty Map. More... | |
| Map (size_type size_r) | |
| Ctor taking the Map size. More... | |
| Map (PoolSizeType) | |
| Ctor creating a Map matching the current pools capacity. More... | |
| ~Map () | |
| Dtor. More... | |
| bool | empty () const |
| Whether Map is empty. More... | |
| size_type | size () const |
| Size of the Map. More... | |
| void | grow (size_type size_r) |
| Grow the Map if necessary. More... | |
| void | setAll () |
| Set all bits. More... | |
| void | clearAll () |
| Clear all bits. More... | |
| void | assignAll (bool val_r) |
Assign val_r to all bits. More... | |
| void | set (size_type idx_r) |
Set bit idx_r. More... | |
| void | clear (size_type idx_r) |
Clear bit idx_r. More... | |
| void | assign (size_type idx_r, bool val_r) |
Assign val_r to bit idx_r. More... | |
| bool | test (size_type idx_r) const |
Test bit idx_r. More... | |
| bool | operator[] (size_type idx_r) const |
Test bit idx_r. More... | |
| std::string | asString (const char on_r= '1', const char off_r= '0') const |
| String representation. More... | |
| operator detail::CMap * () | |
| libsolv backdoor More... | |
| operator const detail::CMap * () const | |
| < libsolv backdoor More... | |
Static Public Attributes | |
| static constexpr PoolSizeType | poolSize = PoolSizeType() |
| An object indicating the bitmap should match the current pools capacity. More... | |
Private Attributes | |
| RWCOW_pointer< detail::CMap > | _pimpl |
| Pointer to implementation. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const Map &obj) |
| bool | operator== (const Map &lhs, const Map &rhs) |
| bool | operator!= (const Map &lhs, const Map &rhs) |
Libsolv (bit)Map wrapper.
Requested sizes are filled up to the next multiple of eight. Libsolv bitmaps are not shrinkable.
| typedef unsigned long zypp::sat::Map::size_type |
|
explicit |
| zypp::sat::Map::Map | ( | PoolSizeType | ) |
| Map::size_type zypp::sat::Map::size | ( | ) | const |
| void zypp::sat::Map::grow | ( | size_type | size_r | ) |
| void zypp::sat::Map::assignAll | ( | bool | val_r | ) |
| void zypp::sat::Map::set | ( | size_type | idx_r | ) |
| void zypp::sat::Map::clear | ( | size_type | idx_r | ) |
| void zypp::sat::Map::assign | ( | size_type | idx_r, |
| bool | val_r | ||
| ) |
| bool zypp::sat::Map::test | ( | size_type | idx_r | ) | const |
|
inline |
| std::string zypp::sat::Map::asString | ( | const char | on_r = '1', |
| const char | off_r = '0' |
||
| ) | const |
| zypp::sat::Map::operator detail::CMap * | ( | ) |
|
inline |
|
related |
|
static |
|
private |