Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 685 for code/branches/FICN


Ignore:
Timestamp:
Dec 26, 2007, 3:24:14 PM (17 years ago)
Author:
landauf
Message:

commented the type-specific overloaded non-member << operators out, the template works for them too (i hope this solves a problem on windows with non-g++ compilers)

Location:
code/branches/FICN/src/orxonox/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/OutputHandler.cc

    r684 r685  
    116116        @param output The value that should be shown in the console
    117117        @return A reference to the OutputHandler itself
    118     */
     118    *//*
    119119    OutputHandler& operator<<(OutputHandler& out, char c)
    120120    {
     
    123123        out.getLogfile().flush();
    124124        return out;
    125     }
     125    }*/
    126126
    127127    /**
     
    129129        @param output The value that should be shown in the console
    130130        @return A reference to the OutputHandler itself
    131     */
     131    *//*
    132132    OutputHandler& operator<<(OutputHandler& out, signed char c)
    133133    {
     
    136136        out.getLogfile().flush();
    137137        return out;
    138     }
     138    }*/
    139139
    140140    /**
     
    142142        @param output The value that should be shown in the console
    143143        @return A reference to the OutputHandler itself
    144     */
     144    *//*
    145145    OutputHandler& operator<<(OutputHandler& out, unsigned char c)
    146146    {
     
    149149        out.getLogfile().flush();
    150150        return out;
    151     }
     151    }*/
    152152
    153153    /**
     
    155155        @param output The value that should be shown in the console
    156156        @return A reference to the OutputHandler itself
    157     */
     157    *//*
    158158    OutputHandler& operator<<(OutputHandler& out, const char* s)
    159159    {
     
    162162        out.getLogfile().flush();
    163163        return out;
    164     }
     164    }*/
    165165
    166166    /**
     
    168168        @param output The value that should be shown in the console
    169169        @return A reference to the OutputHandler itself
    170     */
     170    *//*
    171171    OutputHandler& operator<<(OutputHandler& out, const signed char* s)
    172172    {
     
    175175        out.getLogfile().flush();
    176176        return out;
    177     }
     177    }*/
    178178
    179179    /**
     
    181181        @param output The value that should be shown in the console
    182182        @return A reference to the OutputHandler itself
    183     */
     183    *//*
    184184    OutputHandler& operator<<(OutputHandler& out, const unsigned char* s)
    185185    {
     
    188188        out.getLogfile().flush();
    189189        return out;
    190     }
     190    }*/
    191191 }
  • code/branches/FICN/src/orxonox/core/OutputHandler.h

    r684 r685  
    109109        return *this;
    110110    }
     111/*
     112    _CoreExport OutputHandler& operator<<(OutputHandler& out, char c);
     113    _CoreExport OutputHandler& operator<<(OutputHandler& out, signed char c);
     114    _CoreExport OutputHandler& operator<<(OutputHandler& out, unsigned char c);
    111115
    112     OutputHandler& operator<<(OutputHandler& out, char c);
    113     OutputHandler& operator<<(OutputHandler& out, signed char c);
    114     OutputHandler& operator<<(OutputHandler& out, unsigned char c);
    115 
    116     OutputHandler& operator<<(OutputHandler& out, const char* s);
    117     OutputHandler& operator<<(OutputHandler& out, const signed char* s);
    118     OutputHandler& operator<<(OutputHandler& out, const unsigned char* s);
    119 
     116    _CoreExport OutputHandler& operator<<(OutputHandler& out, const char* s);
     117    _CoreExport OutputHandler& operator<<(OutputHandler& out, const signed char* s);
     118    _CoreExport OutputHandler& operator<<(OutputHandler& out, const unsigned char* s);
     119*/
    120120    /**
    121121        @brief Overloading of the non-member << operator to redirect the output of classes with self defined '<< to std::ostream' operators to the console and the logfile.
     
    132132        return out;
    133133    }
     134
    134135}
    135136
Note: See TracChangeset for help on using the changeset viewer.