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

YCPTerm Class Reference

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

#include <YCPTerm.h>

Inheritance diagram for YCPTerm:

YCPValue YCPElement List of all members.

Public Member Functions

 YCPTerm (const string &s)
 YCPTerm (const string &s, const YCPList &l)
 YCPTerm (std::istream &str)
string name () const
YCPList args () const
YCPTerm functionalAdd (const YCPValue &value) const
bool isEmpty () const
int size () const
void reserve (int size)
YCPValue value (int n) const
void set (const int n, const YCPValue &value)
void add (const YCPValue &value)

Private Member Functions

 DEF_COW_COMMON (Term, Value)

Detailed Description

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


Constructor & Destructor Documentation

YCPTerm::YCPTerm const string &  s  )  [inline]
 

YCPTerm::YCPTerm const string &  s,
const YCPList l
[inline]
 

YCPTerm::YCPTerm std::istream &  str  ) 
 


Member Function Documentation

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

YCPList YCPTerm::args  )  const [inline]
 

YCPTerm::DEF_COW_COMMON Term  ,
Value 
[private]
 

YCPTerm YCPTerm::functionalAdd const YCPValue value  )  const [inline]
 

bool YCPTerm::isEmpty  )  const [inline]
 

string YCPTerm::name  )  const [inline]
 

void YCPTerm::reserve int  size  )  [inline]
 

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

int YCPTerm::size  )  const [inline]
 

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


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6