YCPList Class Reference

Wrapper for YCPListRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPListRep with the arrow operator. See YCPListRep. More...

#include <YCPList.h>

Inheritance diagram for YCPList:

YCPValue YCPElement List of all members.

Public Member Functions

 YCPList ()
 YCPList (bytecodeistream &str)
int size () const
void reserve (int size)
bool isEmpty () const
void add (const YCPValue &value)
void set (const int n, const YCPValue &value)
void remove (const int n)
void swap (int x, int y)
bool contains (const YCPValue &value) const
void sortlist ()
void lsortlist ()
void fsortlist (const YCPCodeCompare &cmp)
YCPList functionalAdd (const YCPValue &value, bool prepend=false) const
YCPValue value (int n) const
string commaList () const

Private Member Functions

 DEF_COW_COMMON (List, Value)

Detailed Description

Wrapper for YCPListRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPListRep with the arrow operator. See YCPListRep.


Constructor & Destructor Documentation

YCPList::YCPList  )  [inline]
 

YCPList::YCPList bytecodeistream str  ) 
 


Member Function Documentation

void YCPList::add const YCPValue value  )  [inline]
 

string YCPList::commaList  )  const [inline]
 

bool YCPList::contains const YCPValue value  )  const [inline]
 

YCPList::DEF_COW_COMMON List  ,
Value 
[private]
 

void YCPList::fsortlist const YCPCodeCompare cmp  )  [inline]
 

YCPList YCPList::functionalAdd const YCPValue value,
bool  prepend = false
const [inline]
 

bool YCPList::isEmpty  )  const [inline]
 

void YCPList::lsortlist  )  [inline]
 

void YCPList::remove const int  n  )  [inline]
 

void YCPList::reserve int  size  )  [inline]
 

void YCPList::set const int  n,
const YCPValue value
[inline]
 

int YCPList::size  )  const [inline]
 

void YCPList::sortlist  )  [inline]
 

void YCPList::swap int  x,
int  y
[inline]
 

YCPValue YCPList::value int  n  )  const [inline]
 


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 18:07:46 2006 for yast2-core by  doxygen 1.4.6