Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
form::Form::SelectionResourceDecorator Class Reference

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

Public Member Functions

 SelectionResourceDecorator (const char *name, dw::core::ui::SelectionResource *resource, const char **values)
 
 ~SelectionResourceDecorator ()
 
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::SelectionResourceresource
 
const char ** values
 
lout::misc::StringBuffer valueBuf
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 94 of file form.hh.

Constructor & Destructor Documentation

◆ SelectionResourceDecorator()

form::Form::SelectionResourceDecorator::SelectionResourceDecorator ( const char *  name,
dw::core::ui::SelectionResource resource,
const char **  values 
)

Definition at line 101 of file form.cc.

References dStrdup(), resource, and values.

◆ ~SelectionResourceDecorator()

form::Form::SelectionResourceDecorator::~SelectionResourceDecorator ( )

Definition at line 116 of file form.cc.

Member Function Documentation

◆ getValue()

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

Member Data Documentation

◆ resource

dw::core::ui::SelectionResource* form::Form::SelectionResourceDecorator::resource
private

Definition at line 97 of file form.hh.

Referenced by SelectionResourceDecorator().

◆ valueBuf

lout::misc::StringBuffer form::Form::SelectionResourceDecorator::valueBuf
private

Definition at line 99 of file form.hh.

◆ values

const char** form::Form::SelectionResourceDecorator::values
private

Definition at line 98 of file form.hh.

Referenced by SelectionResourceDecorator().


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