Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

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...

class  YCPMapIterator
 Iterator for YCPMap values. More...

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...


Defines

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

Typedefs

typedef map< YCPValue, YCPValue,
ycpless
YCPValueYCPValueMap


Define Documentation

#define CONST_ELEMENT   (static_cast<const YCPMapRep*>(element))
 

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


Typedef Documentation

typedef map<YCPValue, YCPValue, ycpless> YCPValueYCPValueMap
 


Generated on Fri Nov 9 18:15:23 2007 for yast2-core by doxygen 1.3.6