Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
TextGeneratorFactory Class Reference

Public Member Functions

TextGeneratorIntfcreate (FTextStream &ts, const QCString &relPath)
 

Static Public Member Functions

static TextGeneratorFactoryinstance ()
 

Private Member Functions

 TextGeneratorFactory ()
 
virtual ~TextGeneratorFactory ()
 

Detailed Description

Definition at line 3813 of file context.cpp.

Constructor & Destructor Documentation

TextGeneratorFactory::TextGeneratorFactory ( )
inlineprivate

Definition at line 3836 of file context.cpp.

3836 {}
virtual TextGeneratorFactory::~TextGeneratorFactory ( )
inlineprivatevirtual

Definition at line 3837 of file context.cpp.

3837 {}

Member Function Documentation

TextGeneratorIntf* TextGeneratorFactory::create ( FTextStream ts,
const QCString relPath 
)
inline

Definition at line 3822 of file context.cpp.

3823  {
3824  switch (g_globals.outputFormat)
3825  {
3827  return new TextGeneratorHtml(ts,relPath);
3829  return new TextGeneratorLatex(ts);
3830  default:
3831  break;
3832  }
3833  return 0;
3834  }
ContextOutputFormat outputFormat
Definition: context.cpp:71
struct ContextGlobals g_globals
static TextGeneratorFactory* TextGeneratorFactory::instance ( )
inlinestatic

Definition at line 3816 of file context.cpp.

3817  {
3818  static TextGeneratorFactory *instance = 0;
3819  if (instance==0) instance = new TextGeneratorFactory;
3820  return instance;
3821  }
static TextGeneratorFactory * instance()
Definition: context.cpp:3816

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