Qt 4.8
Public Functions | List of all members
QXlibResourceMap Class Reference
Inheritance diagram for QXlibResourceMap:
QMap< QByteArray, QXlibNativeInterface::ResourceType >

Public Functions

 QXlibResourceMap ()
 
- Public Functions inherited from QMap< QByteArray, QXlibNativeInterface::ResourceType >
iterator begin ()
 Returns an STL-style iterator pointing to the first item in the map. More...
 
const_iterator begin () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
void clear ()
 Removes all items from the map. More...
 
const_iterator constBegin () const
 Returns a const STL-style iterator pointing to the first item in the map. More...
 
const_iterator constEnd () const
 Returns a const STL-style iterator pointing to the imaginary item after the last item in the map. More...
 
const_iterator constFind (const QByteArray &key) const
 Returns an const iterator pointing to the item with key key in the map. More...
 
bool contains (const QByteArray &key) const
 Returns true if the map contains an item with key key; otherwise returns false. More...
 
int count (const QByteArray &key) const
 Returns the number of items associated with key key. More...
 
int count () const
 Same as size(). More...
 
void detach ()
 Detaches this map from any other maps with which it may share data. More...
 
bool empty () const
 This function is provided for STL compatibility. More...
 
iterator end ()
 Returns an STL-style iterator pointing to the imaginary item after the last item in the map. More...
 
const_iterator end () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
iterator erase (iterator it)
 Removes the (key, value) pair pointed to by the iterator pos from the map, and returns an iterator to the next item in the map. More...
 
iterator find (const QByteArray &key)
 Returns an iterator pointing to the item with key key in the map. More...
 
const_iterator find (const QByteArray &key) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
iterator insert (const QByteArray &key, const QXlibNativeInterface::ResourceType &value)
 Inserts a new item with the key key and a value of value. More...
 
iterator insertMulti (const QByteArray &key, const QXlibNativeInterface::ResourceType &value)
 Inserts a new item with the key key and a value of value. More...
 
bool isDetached () const
 Returns true if the map's internal data isn't shared with any other map object; otherwise returns false. More...
 
bool isEmpty () const
 Returns true if the map contains no items; otherwise returns false. More...
 
bool isSharedWith (const QMap< QByteArray, QXlibNativeInterface::ResourceType > &other) const
 
const QByteArray key (const QXlibNativeInterface::ResourceType &value) const
 Returns the first key with value value. More...
 
const QByteArray key (const QXlibNativeInterface::ResourceType &value, const QByteArray &defaultKey) const
 Returns the first key with value value, or defaultKey if the map contains no item with value value. More...
 
QList< QByteArraykeys () const
 Returns a list containing all the keys in the map in ascending order. More...
 
QList< QByteArraykeys (const QXlibNativeInterface::ResourceType &value) const
 Returns a list containing all the keys associated with value value in ascending order. More...
 
iterator lowerBound (const QByteArray &key)
 Returns an iterator pointing to the first item with key key in the map. More...
 
const_iterator lowerBound (const QByteArray &key) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
bool operator!= (const QMap< QByteArray, QXlibNativeInterface::ResourceType > &other) const
 Returns true if other is not equal to this map; otherwise returns false. More...
 
QMap< QByteArray, QXlibNativeInterface::ResourceType > & operator= (const QMap< QByteArray, QXlibNativeInterface::ResourceType > &other)
 Assigns other to this map and returns a reference to this map. More...
 
bool operator== (const QMap< QByteArray, QXlibNativeInterface::ResourceType > &other) const
 Returns true if other is equal to this map; otherwise returns false. More...
 
QXlibNativeInterface::ResourceTypeoperator[] (const QByteArray &key)
 Returns the value associated with the key key as a modifiable reference. More...
 
const QXlibNativeInterface::ResourceType operator[] (const QByteArray &key) const
 Same as value(). More...
 
 QMap ()
 Constructs an empty map. More...
 
 QMap (const QMap< QByteArray, QXlibNativeInterface::ResourceType > &other)
 Constructs a copy of other. More...
 
 QMap (const typename std::map< QByteArray, QXlibNativeInterface::ResourceType > &other)
 
int remove (const QByteArray &key)
 Removes all the items that have the key key from the map. More...
 
void setInsertInOrder (bool ordered)
 
void setSharable (bool sharable)
 
int size () const
 Returns the number of (key, value) pairs in the map. More...
 
void swap (QMap< QByteArray, QXlibNativeInterface::ResourceType > &other)
 Swaps map other with this map. More...
 
QXlibNativeInterface::ResourceType take (const QByteArray &key)
 Removes the item with the key key from the map and returns the value associated with it. More...
 
std::map< QByteArray, QXlibNativeInterface::ResourceTypetoStdMap () const
 Returns an STL map equivalent to this QMap. More...
 
QList< QByteArrayuniqueKeys () const
 Returns a list containing all the keys in the map in ascending order. More...
 
QMap< QByteArray, QXlibNativeInterface::ResourceType > & unite (const QMap< QByteArray, QXlibNativeInterface::ResourceType > &other)
 Inserts all the items in the other map into this map. More...
 
iterator upperBound (const QByteArray &key)
 Returns an iterator pointing to the item that immediately follows the last item with key key in the map. More...
 
const_iterator upperBound (const QByteArray &key) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
const QXlibNativeInterface::ResourceType value (const QByteArray &key) const
 Returns the value associated with the key key. More...
 
const QXlibNativeInterface::ResourceType value (const QByteArray &key, const QXlibNativeInterface::ResourceType &defaultValue) const
 If the map contains no item with key key, the function returns defaultValue. More...
 
QList< QXlibNativeInterface::ResourceTypevalues () const
 Returns a list containing all the values in the map, in ascending order of their keys. More...
 
QList< QXlibNativeInterface::ResourceTypevalues (const QByteArray &key) const
 Returns a list containing all the values associated with key key, from the most recently inserted to the least recently inserted one. More...
 
 ~QMap ()
 Destroys the map. More...
 

Additional Inherited Members

- Public Types inherited from QMap< QByteArray, QXlibNativeInterface::ResourceType >
typedef const_iterator ConstIterator
 Qt-style synonym for QMap::const_iterator. More...
 
typedef qptrdiff difference_type
 Typedef for ptrdiff_t. More...
 
typedef iterator Iterator
 Qt-style synonym for QMap::iterator. More...
 
typedef QByteArray key_type
 Typedef for Key. More...
 
typedef QXlibNativeInterface::ResourceType mapped_type
 Typedef for T. More...
 
typedef int size_type
 Typedef for int. More...
 
- Public Variables inherited from QMap< QByteArray, QXlibNativeInterface::ResourceType >
QMapDatad
 
QMapData::Nodee
 

Detailed Description

Definition at line 47 of file qxlibnativeinterface.cpp.

Constructors and Destructors

◆ QXlibResourceMap()

QXlibResourceMap::QXlibResourceMap ( )
inline

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