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

at::Factory_Base< w_KeyType > Class Template Reference
[Generic Factories]

#include <at_factory.h>

Inheritance diagram for at::Factory_Base< w_KeyType >:

Inheritance graph
[legend]
Collaboration diagram for at::Factory_Base< w_KeyType >:

Collaboration graph
[legend]
List of all members.

Public Methods

 Factory_Base (w_KeyType i_key, const char *i_filename, int i_lineno, const char *i_description)
virtual int Size ()=0
const w_KeyType & GetKey () const

Public Attributes

const char * m_description
w_KeyType m_factory_key

Detailed Description

template<typename w_KeyType>
class at::Factory_Base< w_KeyType >

Factory_Base is the base type for a factory. type. For each implementation, a factory derived from this one is created that implements the respective Create method.


Constructor & Destructor Documentation

template<typename w_KeyType>
at::Factory_Base< w_KeyType >::Factory_Base w_KeyType    i_key,
const char *    i_filename,
int    i_lineno,
const char *    i_description
[inline]
 


Member Function Documentation

template<typename w_KeyType>
const w_KeyType& at::Factory_Base< w_KeyType >::GetKey   const [inline]
 

GetKey returns a const reference to the key for this factory

template<typename w_KeyType>
virtual int at::Factory_Base< w_KeyType >::Size   [pure virtual]
 

This will return the size of the object created - this is to support the PIMPL idiom.

Returns:
size of object

Implemented in at::CreatorImpl0P< w_ImplementorType, w_InterfaceType, w_KeyType >, at::CreatorImpl1P< w_ImplementorType, w_InterfaceType, w_KeyType, w_arg_1 >, at::CreatorImpl2P< w_ImplementorType, w_InterfaceType, w_KeyType, w_arg_1, w_arg_2 >, and at::CreatorImpl3P< w_ImplementorType, w_InterfaceType, w_KeyType, w_arg_1, w_arg_2, w_arg_3 >.


Member Data Documentation

template<typename w_KeyType>
const char* at::Factory_Base< w_KeyType >::m_description
 

factory description

template<typename w_KeyType>
w_KeyType at::Factory_Base< w_KeyType >::m_factory_key
 

m_factory_key contains the key for this factory.


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

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004