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