Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Tools/Xabsl2/Xabsl2Engine/Xabsl2Agent.cpp

Go to the documentation of this file.

    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 }