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

YCPElement Class Reference

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

#include <YCPElement.h>

Inheritance diagram for YCPElement:

YCPValue YCPBoolean YCPBreak YCPByteblock YCPCode YCPEntry YCPFloat YCPList YCPMap YCPPath YCPReference YCPReturn YCPString YCPSymbol YCPTerm YCPVoid List of all members.

Public Member Functions

 YCPElement ()
 YCPElement (const YCPNull &)
 YCPElement (const YCPElementRep *e)
 YCPElement (const YCPElement &e)
virtual ~YCPElement ()
const YCPElementoperator= (const YCPElement &e)
bool isNull () const
bool refersToSameElementAs (const YCPElement &e) const

Protected Member Functions

const YCPElementRepwriteCopy ()

Protected Attributes

const YCPElementRepelement

Private Member Functions

 DEF_OPS (Element)

Detailed Description

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


Constructor & Destructor Documentation

YCPElement::YCPElement  ) 
 

YCPElement::YCPElement const YCPNull  ) 
 

YCPElement::YCPElement const YCPElementRep e  ) 
 

YCPElement::YCPElement const YCPElement e  ) 
 

YCPElement::~YCPElement  )  [virtual]
 


Member Function Documentation

YCPElement::DEF_OPS Element   )  [private]
 

bool YCPElement::isNull  )  const [inline]
 

const YCPElement & YCPElement::operator= const YCPElement e  ) 
 

bool YCPElement::refersToSameElementAs const YCPElement e  )  const [inline]
 

const YCPElementRep* YCPElement::writeCopy  )  [inline, protected]
 

Use this method to get an element which is ready to change. This will ensure copy-on-write semantics


Member Data Documentation

const YCPElementRep* YCPElement::element [protected]
 


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