CParserFactory Class Reference

#include <parser_factory.h>

List of all members.

Static Public Member Functions

static CSmartPtr< IParserCreate (const std::string &FileName)


Detailed Description

Definition at line 29 of file parser_factory.h.


Member Function Documentation

static CSmartPtr<IParser> CParserFactory::Create ( const std::string &  FileName  )  [inline, static]

Definition at line 32 of file parser_factory.h.

00033         {
00034                 std::string Extension;
00035                 Extension.assign(CFile(FileName).Extension());
00036 
00037                 if( Extension.compare("xml") == 0 )
00038                         return CParserXML::Create(FileName);
00039                 else
00040                         return NULL;
00041         }


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

Generated on Tue Aug 30 02:36:55 2011 for Smacky by  doxygen 1.5.8