Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 8:42:26 PM (13 years ago)
Author:
landauf
Message:

removed COUT, CCOUT, and DOUT macros. COUT is now defined as a deprecated function.

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

Legend:

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

    r8729 r8812  
    4949#include <vector>
    5050#include "Super.h"
    51 
    52 /**
    53 @def CCOUT
    54     Acts almost exactly like COUT(x), but prepends "ClassName: "
    55 */
    56 #define CCOUT(level) \
    57     COUT(level) << this->getIdentifier()->getName() << ": "
    5851
    5952namespace orxonox
  • code/branches/output/src/libraries/util/Output.h

    r8808 r8812  
    4949        return orxout(level, context());
    5050    }
     51
     52    // COUT() is deprecated, please use orxout()
     53    inline __DEPRECATED__(OutputStream& COUT(int level));
     54
     55    inline OutputStream& COUT(int)
     56    {
     57        return orxout();
     58    }
    5159}
    5260
    53 #define COUT(level) orxonox::orxout()
    54 #define DOUT orxonox::orxout()
    55 
    5661#endif /* _Output_H__ */
Note: See TracChangeset for help on using the changeset viewer.