00001 #include "RuleParser/RuleFactory.h"
00002 #include "RuleParser/ParameterDescription.h"
00003
00004 using namespace RuleParser;
00005
00006 RuleParser::ParameterDescription::ParameterDescription(
00007 unsigned int id,
00008 const std::string& name,
00009 const std::type_info& type,
00010 const std::vector<std::string>& operators,
00011 const boost::shared_ptr<RuleFactory>& ruleFactory
00012 )
00013 : m_id(id)
00014 , m_name(name)
00015 , m_type(type.name())
00016 , m_operators(operators)
00017 , m_factory(ruleFactory)
00018 {}
00019
00020 RuleParser::ParameterDescription::ParameterDescription(
00021 unsigned int id,
00022 const std::string& name,
00023 const std::type_info& type,
00024 const std::vector<std::string>& operators,
00025 RuleFactory* ruleFactory
00026 )
00027 : m_id(id)
00028 , m_name(name)
00029 , m_type(type.name())
00030 , m_operators(operators)
00031 , m_factory(ruleFactory)
00032 {}
00033
00034
00035
00036 RuleParser::ParameterDescription::ParameterDescription(
00037 unsigned int id,
00038 const std::string& name,
00039 const std::type_info& type
00040 )
00041 : m_id(id)
00042 , m_name(name)
00043 , m_type(type.name())
00044 , m_operators()
00045 , m_factory()
00046 {}
00047
00048
00049 RuleParser::ParameterDescription::~ParameterDescription()
00050 {
00051 };
00052