YCPList.h File Reference

#include "YCPValue.h"

Go to the source code of this file.

Classes

class  YCPListRep
 List of YCPValues that is a value itself In YCP there is no distinction between lists, tuples and structs. All these kind of complex data is represented by YCPListRep. The type of a list is constructed by the valuetype list, which has a list of types as arguments. The list's type is implicitely given through the fact that its valuetype is list and trough the types of its elements. There is no restriction about the types of a list's elements. If you want to declare a variable or parameter to be a list of a certain signature, you can use the RangeRestrictor YCP_RRList or YCP_RRTyple. object. More...
class  YCPList
 Wrapper for YCPListRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPListRep with the arrow operator. See YCPListRep. More...

Defines

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


Define Documentation

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

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


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