My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 3828 of file context.cpp.

Constructor & Destructor Documentation

TextGeneratorFactory::TextGeneratorFactory ( )
inlineprivate

Definition at line 3851 of file context.cpp.

Referenced by instance().

{}
virtual TextGeneratorFactory::~TextGeneratorFactory ( )
inlineprivatevirtual

Definition at line 3852 of file context.cpp.

{}

Member Function Documentation

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

Definition at line 3837 of file context.cpp.

References ContextOutputFormat_Html, ContextOutputFormat_Latex, g_globals, and ContextGlobals::outputFormat.

Referenced by createLinkedText().

{
{
return new TextGeneratorHtml(ts,relPath);
return new TextGeneratorLatex(ts);
default:
break;
}
return 0;
}
static TextGeneratorFactory* TextGeneratorFactory::instance ( )
inlinestatic

Definition at line 3831 of file context.cpp.

References TextGeneratorFactory().

Referenced by createLinkedText().

{
if (instance==0) instance = new TextGeneratorFactory;
return instance;
}

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