Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8849 for code/branches


Ignore:
Timestamp:
Aug 21, 2011, 4:50:36 PM (13 years ago)
Author:
landauf
Message:

function argument was ignored in CommandExecutor::execute()
added CoreIncludes.h to Identifier doxygen group
OutputStream sends remaining output to OutputManager before destruction

Location:
code/branches/output/src/libraries
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/core/CoreIncludes.h

    r8788 r8849  
    3434/**
    3535    @file
    36     @ingroup Object Factory
     36    @ingroup Object Factory Class Identifier
    3737    @brief Defines several very important macros used to register objects, create factories, and to work with identifiers.
    3838
  • code/branches/output/src/libraries/core/command/CommandExecutor.cc

    r8836 r8849  
    7373        int error;
    7474        CommandExecutor::queryMT(command, &error, useTcl);
    75         if (error)
     75        if (error && printErrors)
    7676            orxout(user_error) << "Can't execute \"" << command << "\", " << CommandExecutor::getErrorDescription(error) << ". (execute)" << endl;
    7777        return error;
  • code/branches/output/src/libraries/util/output/OutputStream.cc

    r8848 r8849  
    5555
    5656    /**
     57        @brief Destructor, sends remaining output to OutputManager (if any).
     58    */
     59    OutputStream::~OutputStream()
     60    {
     61        if (this->str() != "")
     62            *this << " [missing endl]" << std::endl;
     63    }
     64
     65    /**
    5766        @brief Sends the buffered message to OutputManager together with the stored level and context.
    5867        Additionally empties the buffer.
  • code/branches/output/src/libraries/util/output/OutputStream.h

    r8848 r8849  
    7878            _UtilExport OutputStream();
    7979            _UtilExport OutputStream(OutputLevel level, const OutputContextContainer& context);
     80            _UtilExport ~OutputStream();
    8081
    8182            void _UtilExport setOutputAttributes(OutputLevel level, const OutputContextContainer& context);
Note: See TracChangeset for help on using the changeset viewer.