Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
EvilPack::EvilBase< T > Class Template Referenceabstract

Evil base class that people often write with a factory function to all of the subclasses in the interface. More...

#include <EvilBase_decl.hpp>

Inheritance diagram for EvilPack::EvilBase< T >:
Inheritance graph
[legend]

Public Member Functions

virtual ~EvilBase ()
 . Required virtual destructor. More...
 
virtual void soundOff (const T &obj) const =0
 The virtual function. More...
 

Static Public Member Functions

static RCP< EvilBase< T > > createEvil (const std::string &concreteEvilName)
 The factory in the interface. More...
 

Detailed Description

template<class T>
class EvilPack::EvilBase< T >

Evil base class that people often write with a factory function to all of the subclasses in the interface.

Definition at line 62 of file EvilBase_decl.hpp.

Constructor & Destructor Documentation

template<class T >
EvilPack::EvilBase< T >::~EvilBase ( )
virtual

. Required virtual destructor.

Definition at line 61 of file EvilBase_def.hpp.

Member Function Documentation

template<class T >
virtual void EvilPack::EvilBase< T >::soundOff ( const T &  obj) const
pure virtual

The virtual function.

Implemented in EvilPack::AEvil< T >, and EvilPack::BEvil< T >.

template<class T >
RCP< EvilBase< T > > EvilPack::EvilBase< T >::createEvil ( const std::string &  concreteEvilName)
static

The factory in the interface.

Definition at line 67 of file EvilBase_def.hpp.


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