Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
form::Form::TextResourceDecorator Class Reference

Decorates instances of dw::core::ui::TextResource. More...

Public Member Functions

 TextResourceDecorator (const char *name, dw::core::ui::TextResource *resource)
 
const char * getValue ()
 
- Public Member Functions inherited from form::Form::ResourceDecorator
const char * getName ()
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly.
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal.
 
virtual int hashValue ()
 Return a hash value for the object.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 

Private Attributes

dw::core::ui::TextResourceresource
 

Additional Inherited Members

- Protected Member Functions inherited from form::Form::ResourceDecorator
 ResourceDecorator (const char *name)
 
 ~ResourceDecorator ()
 

Detailed Description

Decorates instances of dw::core::ui::TextResource.

Definition at line 44 of file form.hh.

Constructor & Destructor Documentation

◆ TextResourceDecorator()

form::Form::TextResourceDecorator::TextResourceDecorator ( const char *  name,
dw::core::ui::TextResource resource 
)

Definition at line 39 of file form.cc.

References resource.

Member Function Documentation

◆ getValue()

const char * form::Form::TextResourceDecorator::getValue ( )
virtual

Implements form::Form::ResourceDecorator.

Definition at line 46 of file form.cc.

References dw::core::ui::TextResource::getText().

Member Data Documentation

◆ resource

dw::core::ui::TextResource* form::Form::TextResourceDecorator::resource
private

Definition at line 47 of file form.hh.

Referenced by TextResourceDecorator().


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