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

YCPList::DEF_COW_COMMON ( List  ,
Value   
) [private]

int YCPList::size (  )  const [inline]

void YCPList::reserve ( int  size  )  [inline]

bool YCPList::isEmpty (  )  const [inline]

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

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

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

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

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

void YCPList::sortlist (  )  [inline]

void YCPList::lsortlist (  )  [inline]

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

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

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

string YCPList::commaList (  )  const [inline]


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 01:20:23 2007 for yast2-core by  doxygen 1.5.0