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 YCPExternal YCPFloat YCPInteger 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)
 ~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 (  ) 


Member Function Documentation

YCPElement::DEF_OPS ( Element   )  [private]

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

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

bool YCPElement::isNull (  )  const [inline]

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


Member Data Documentation

const YCPElementRep* YCPElement::element [protected]


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