Show
Ignore:
Timestamp:
03/21/12 18:36:20 (2 years ago)
Author:
robert
Message:

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgDB/StreamOperator

    r13011 r13041  
    1919    OutputIterator() : _out(0) {} 
    2020    virtual ~OutputIterator() {} 
    21      
     21 
    2222    void setStream( std::ostream* ostream ) { _out = ostream; } 
    2323    std::ostream* getStream() { return _out; } 
     
    2525 
    2626    virtual bool isBinary() const = 0; 
    27      
     27 
    2828    virtual void writeBool( bool b ) = 0; 
    2929    virtual void writeChar( char c ) = 0; 
     
    4040    virtual void writeStream( std::ostream& (*fn)(std::ostream&) ) = 0; 
    4141    virtual void writeBase( std::ios_base& (*fn)(std::ios_base&) ) = 0; 
    42      
     42 
    4343    virtual void writeGLenum( const ObjectGLenum& value ) = 0; 
    4444    virtual void writeProperty( const ObjectProperty& prop ) = 0; 
     
    4646    virtual void writeCharArray( const char* s, unsigned int size ) = 0; 
    4747    virtual void writeWrappedString( const std::string& str ) = 0; 
    48      
     48 
    4949    virtual void flush() { _out->flush(); } 
    50      
     50 
    5151protected: 
    5252    // Return true if the manipulator is std::endl 
     
    7272    InputIterator() : _in(0), _inputStream(0), _byteSwap(0), _failed(false) {} 
    7373    virtual ~InputIterator() {} 
    74      
     74 
    7575    void setStream( std::istream* istream ) { _in = istream; } 
    7676    std::istream* getStream() { return _in; } 
     
    8686    void checkStream() const { if (_in->rdstate()&_in->failbit) _failed = true; } 
    8787    bool isFailed() const { return _failed; } 
    88      
     88 
    8989    virtual bool isBinary() const = 0; 
    90      
     90 
    9191    virtual void readBool( bool& b ) = 0; 
    9292    virtual void readChar( char& c ) = 0; 
     
    104104    virtual void readStream( std::istream& (*fn)(std::istream&) ) = 0; 
    105105    virtual void readBase( std::ios_base& (*fn)(std::ios_base&) ) = 0; 
    106      
     106 
    107107    virtual void readGLenum( ObjectGLenum& value ) = 0; 
    108108    virtual void readProperty( ObjectProperty& prop ) = 0; 
     
    110110    virtual void readCharArray( char* s, unsigned int size ) = 0; 
    111111    virtual void readWrappedString( std::string& str ) = 0; 
    112      
     112 
    113113    virtual bool matchString( const std::string& /*str*/ ) { return false; } 
    114114    virtual void advanceToCurrentEndBracket() {}