Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AIDA_DevEvaluatorFactory.cpp

Go to the documentation of this file.
00001 #include "AIDA_DevEvaluatorFactory.h"
00002 #include "CompiledExpressionManager.h"
00003 #include "AIDA_Evaluator.h"
00004 
00005 Anaphe::AIDA_Tuple_native::AIDA_DevEvaluatorFactory::AIDA_DevEvaluatorFactory():
00006   m_mgr( 0 )
00007 {
00008   m_mgr = new Anaphe::AIDA_Tuple_native::CompiledExpressionManager;
00009 }
00010 
00011 Anaphe::AIDA_Tuple_native::AIDA_DevEvaluatorFactory::~AIDA_DevEvaluatorFactory()
00012 {
00013   if ( m_mgr ) delete m_mgr;
00014 }
00015 
00016 AIDA::IEvaluator*
00017 Anaphe::AIDA_Tuple_native::AIDA_DevEvaluatorFactory::createScripted( const std::string & expression )
00018 {
00019   return new Anaphe::AIDA_Tuple_native::AIDA_Evaluator( *m_mgr, expression );
00020 }

Generated on Tue Feb 18 17:51:19 2003 for AIDA_Tuple_native by doxygen1.2.16