00001 /** 00002 * @file Xabsl2Agent.cpp 00003 * 00004 * Implementation of class Xabsl2Agent 00005 * 00006 * @author Martin Lötzsch 00007 */ 00008 00009 #include "Xabsl2Agent.h" 00010 00011 Xabsl2Agent::Xabsl2Agent(const char* name, Xabsl2Option* rootOption, 00012 Xabsl2ErrorHandler& errorHandler) 00013 : Xabsl2NamedItem(name), rootOption(rootOption), errorHandler(errorHandler) 00014 { 00015 XABSL2_DEBUG_INIT(errorHandler.message("created agent \"%s\" with root option \"%s\"", n, rootOption->n)); 00016 } 00017 00018 Xabsl2Option* Xabsl2Agent::getRootOption() const 00019 { 00020 return rootOption; 00021 } 00022 00023 /* 00024 * Change Log: 00025 * 00026 * $Log: Xabsl2Agent.cpp,v $ 00027 * Revision 1.1.1.1 2004/05/22 17:37:52 cvsadm 00028 * created new repository GT2004_WM 00029 * 00030 * Revision 1.1 2003/10/07 10:13:25 cvsadm 00031 * Created GT2004 (M.J.) 00032 * 00033 * Revision 1.1.1.1 2003/07/02 09:40:29 cvsadm 00034 * created new repository for the competitions in Padova from the 00035 * tamara CVS (Tuesday 2:00 pm) 00036 * 00037 * removed unused solutions 00038 * 00039 * Revision 1.2 2003/01/11 14:41:42 loetzsch 00040 * continued creation of the option tree 00041 * 00042 * Revision 1.1 2003/01/09 17:28:33 loetzsch 00043 * introduced Xabsl2Agent, continued Xabsl2Option 00044 * 00045 */