[ Lit Window Library at SourceForge[ Lit Window Productions Homepage ]  [ wxWidgets Tips&Tricks ]  [  wxVisualSetup ]

Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

typed_accessor Class Template Reference
[Data adapters]

typed_accessor is an accessor with additional type information and get/set functions. More...

Inheritance diagram for typed_accessor:

Inheritance graph
[legend]
Collaboration diagram for typed_accessor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

accessor get_accessor () const
 get an accessor from the typed_accessor.
Value * get_ptr () const
 get a pointer to the object.
Value & get_ref () const
 Get a reference to the object.
void set (const Value &v)
 assign a new value to the object pointed to by this accessor.
 typed_accessor (const accessor &a)

Detailed Description

template<class Value>
class litwindow::typed_accessor< Value >

Used with dynamic_cast_accessor.


Constructor & Destructor Documentation

typed_accessor const accessor a  ) 
 


Member Function Documentation

accessor get_accessor  )  const
 

Value* get_ptr  )  const
 

See typed_const_accessor::get_ptr

Reimplemented from typed_const_accessor.

Value& get_ref  )  const
 

See typed_const_accessor::get_ref

Reimplemented from typed_const_accessor.

void set const Value &  v  ) 
 


Copyright 2004, Hajo Kirchhoff, Lit Window Productions