template class CCL::TFormatterFactory

Template for formatter factory class.

#include <iformatter.h>

template <class FormatterClass>
class TFormatterFactory: public CCL::FormatterFactory
{
public:
    // construction

    TFormatterFactory (CStringPtr name);

    // methods

    virtual IFormatter* create ();
};

Inherited Members

public:
    // methods

    static void add (FormatterFactory* factory);
    static IFormatter* create (StringID name);
    static IFormatter* create (const Core::Formatter& formatter);
    static IFormatter* createInt ();
    static IFormatter* createFloat ();