Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
form::Form::ResourceDecorator Class Referenceabstract

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

Public Member Functions

const char * getName ()
 
virtual const char * getValue ()=0
 
- 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.
 

Protected Member Functions

 ResourceDecorator (const char *name)
 
 ~ResourceDecorator ()
 

Private Attributes

const char * name
 

Detailed Description

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

This is the abstract base class, sub classes have to be defined to decorate specific sub interfaces of dw::core::ui::Resource.

Definition at line 27 of file form.hh.

Constructor & Destructor Documentation

◆ ResourceDecorator()

form::Form::ResourceDecorator::ResourceDecorator ( const char *  name)
protected

Definition at line 29 of file form.cc.

References dStrdup(), and name.

◆ ~ResourceDecorator()

form::Form::ResourceDecorator::~ResourceDecorator ( )
protected

Definition at line 34 of file form.cc.

Member Function Documentation

◆ getName()

const char * form::Form::ResourceDecorator::getName ( )
inline

Definition at line 37 of file form.hh.

References name.

Referenced by form::Form::send().

◆ getValue()

virtual const char * form::Form::ResourceDecorator::getValue ( )
pure virtual

Member Data Documentation

◆ name

const char* form::Form::ResourceDecorator::name
private

Definition at line 30 of file form.hh.

Referenced by getName(), and ResourceDecorator().


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