00001 #include "VariableRelation.h" 00002 00003 VariableRelation::VariableRelation() 00004 { 00005 } 00006 00007 VariableRelation::~VariableRelation(void) 00008 { 00009 } 00010 void VariableRelation::addSourceVar(SharedPointer<IVariable> var) 00011 { 00012 srcVars.push_back(var); 00013 } 00014 void VariableRelation::setDestVariable(SharedPointer<IVariable> var) 00015 { 00016 destVar = var; 00017 } 00018 vector<SharedPointer<IVariable> > VariableRelation::getSourceVars() 00019 { 00020 return srcVars; 00021 } 00022 SharedPointer<IVariable> VariableRelation::getDestVariable() 00023 { 00024 return destVar; 00025 }