libyui  3.3.1
YStringWidgetID Class Reference

Simple widget ID class based on strings. More...

#include <YWidgetID.h>

Inheritance diagram for YStringWidgetID:
Collaboration diagram for YStringWidgetID:

Public Member Functions

 YStringWidgetID (const std::string &value)
 Constructor.
 
virtual ~YStringWidgetID ()
 Destructor.
 
virtual bool isEqual (YWidgetID *otherID) const
 Check if this ID is equal to another. More...
 
virtual std::string toString () const
 Convert the ID value to string. More...
 
std::string value () const
 Return the ID value.
 
const std::string & valueConstRef () const
 Return the ID value as a const ref.
 
- Public Member Functions inherited from YWidgetID
virtual ~YWidgetID ()
 Destructor.
 

Additional Inherited Members

- Protected Member Functions inherited from YWidgetID
 YWidgetID ()
 Constructor. More...
 

Detailed Description

Simple widget ID class based on strings.

Definition at line 72 of file YWidgetID.h.

Member Function Documentation

◆ isEqual()

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.

Here is the call graph for this function:

◆ toString()

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.


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