libyui  2.42.5
 All Classes Functions Variables Enumerations Friends
YStringWidgetID Class Reference

#include <YWidgetID.h>

Inheritance diagram for YStringWidgetID:
YWidgetID

Public Member Functions

 YStringWidgetID (const std::string &value)
 
virtual ~YStringWidgetID ()
 
virtual bool isEqual (YWidgetID *otherID) const
 
virtual std::string toString () const
 
std::string value () const
 
const std::string & valueConstRef () const
 
- Public Member Functions inherited from YWidgetID
virtual ~YWidgetID ()
 

Additional Inherited Members

- Protected Member Functions inherited from YWidgetID
 YWidgetID ()
 

Detailed Description

Simple widget ID class based on strings.

Definition at line 72 of file YWidgetID.h.

Constructor & Destructor Documentation

YStringWidgetID::YStringWidgetID ( const std::string &  value)

Constructor.

Definition at line 31 of file YWidgetID.cc.

YStringWidgetID::~YStringWidgetID ( )
virtual

Destructor.

Definition at line 38 of file YWidgetID.cc.

Member Function Documentation

bool YStringWidgetID::isEqual ( YWidgetID otherID) const
virtual

Check if this ID is equal to another.

Reimplemented from YWidgetID.

Implements YWidgetID.

Definition at line 45 of file YWidgetID.cc.

std::string YStringWidgetID::toString ( ) const
virtual

Convert the ID value to string. Used for logging and debugging.

Reimplemented from YWidgetID.

Implements YWidgetID.

Definition at line 58 of file YWidgetID.cc.

std::string YStringWidgetID::value ( ) const

Return the ID value.

Definition at line 65 of file YWidgetID.cc.

const std::string & YStringWidgetID::valueConstRef ( ) const

Return the ID value as a const ref.

Definition at line 72 of file YWidgetID.cc.


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