Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::PtrAdapter< Type, InterfacePtr > Class Template Reference

#include <PtrAdapter.h>

Inheritance diagram for FastShower::PtrAdapter< Type, InterfacePtr >:

Inheritance graph
[legend]
Collaboration diagram for FastShower::PtrAdapter< Type, InterfacePtr >:

Collaboration graph
[legend]
List of all members.

Public Methods

Type * adapt (Type *ptr, const std::string &name) const

template<class Type, class InterfacePtr>
class FastShower::PtrAdapter< Type, InterfacePtr >


Member Function Documentation

template<class Type, class InterfacePtr>
Type* FastShower::PtrAdapter< Type, InterfacePtr >::adapt Type *    ptr,
const std::string &    name
const [inline, virtual]
 

Implements FastShower::IPtrAdapter< Type >.

Definition at line 19 of file PtrAdapter.h.

00019                                                        {
00020       Type* interfacePtr =  new InterfacePtr(ptr, name);
00021       return interfacePtr;
00022     }

The documentation for this class was generated from the following file:
Generated on Tue Mar 18 11:56:54 2003 for FastShowerUtils by doxygen1.3-rc1