yast2-core
Classes | Macros | Typedefs
YCPMap.h File Reference
#include "YCPValue.h"
#include "ycpless.h"

Go to the source code of this file.

Classes

class  YCPMapRep
 A mapping from keys to values. A map is also called assiciative array. It is a mapping from a set of keys to a set of values. Each key in a map is unique. Each key is assigned a value. Keys and values may only be String or Integer constants. Elements inside a map are kept in a sorted order based on the key value. More...
 
struct  YCPMapIterator
 
class  YCPMap
 Wrapper for YCPMapRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPMapRep with the arrow operator. See YCPMapRep. More...
 

Macros

#define CONST_ELEMENT   (static_cast<const YCPMapRep*>(element))
 
#define ELEMENT   (const_cast<YCPMapRep*>(static_cast<const YCPMapRep*>(this->writeCopy())))
 

Typedefs

typedef map< YCPValue,
YCPValue, ycp_less
YCPValueYCPValueMap
 

Macro Definition Documentation

#define CONST_ELEMENT   (static_cast<const YCPMapRep*>(element))
#define ELEMENT   (const_cast<YCPMapRep*>(static_cast<const YCPMapRep*>(this->writeCopy())))

Referenced by YCPMap::add(), and YCPMap::remove().

Typedef Documentation


Generated on a sunny day for yast2-core by doxygen 1.8.8