yast2-core
Public Member Functions | Private Member Functions | List of all members
YCPString Class Reference

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

#include <YCPString.h>

Inheritance diagram for YCPString:
YCPValue YCPElement

Public Member Functions

 YCPString (const string &s)
 
 YCPString (const wstring &s)
 
 YCPString (bytecodeistream &str)
 
bool isEmpty () const
 
- Public Member Functions inherited from YCPValue
 YCPValue ()
 
- Public Member Functions inherited from YCPElement
 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
 

Private Member Functions

 DEF_COMMON (String, Value)
 

Additional Inherited Members

- Protected Member Functions inherited from YCPElement
const YCPElementRepwriteCopy ()
 
- Protected Attributes inherited from YCPElement
const YCPElementRepelement
 

Detailed Description

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

Constructor & Destructor Documentation

YCPString::YCPString ( const string &  s)
inline
YCPString::YCPString ( const wstring &  s)
inline
YCPString::YCPString ( bytecodeistream str)

Member Function Documentation

YCPString::DEF_COMMON ( String  ,
Value   
)
private
bool YCPString::isEmpty ( ) const
inline

References CONST_ELEMENT.

Referenced by s_isempty().


The documentation for this class was generated from the following files:

Generated on a sunny day for yast2-core by doxygen 1.8.8