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/ReaderWriter

    r11763 r13041  
    1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield  
     1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 
    22 * 
    3  * This library is open source and may be redistributed and/or modified under   
    4  * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or  
     3 * This library is open source and may be redistributed and/or modified under 
     4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 
    55 * (at your option) any later version.  The full license is in LICENSE file 
    66 * included with this distribution, and on the openscenegraph.org website. 
    7  *  
     7 * 
    88 * This library is distributed in the hope that it will be useful, 
    99 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
     10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1111 * OpenSceneGraph Public License for more details. 
    1212*/ 
     
    3939{ 
    4040    public: 
    41      
    42      
     41 
     42 
    4343        ReaderWriter(): 
    4444            osg::Object(true) {} 
    45              
     45 
    4646        ReaderWriter(const ReaderWriter& rw,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY): 
    4747            osg::Object(rw,copyop) {} 
     
    7171            FEATURE_NONE               = 0, 
    7272            FEATURE_READ_OBJECT        = 1<<0, 
    73             FEATURE_READ_IMAGE         = 1<<1,  
     73            FEATURE_READ_IMAGE         = 1<<1, 
    7474            FEATURE_READ_HEIGHT_FIELD  = 1<<2, 
    75             FEATURE_READ_NODE          = 1<<3,  
    76             FEATURE_READ_SHADER        = 1<<4,  
     75            FEATURE_READ_NODE          = 1<<3, 
     76            FEATURE_READ_SHADER        = 1<<4, 
    7777            FEATURE_WRITE_OBJECT       = 1<<5, 
    7878            FEATURE_WRITE_IMAGE        = 1<<6, 
     
    8989                                         FEATURE_WRITE_HEIGHT_FIELD | 
    9090                                         FEATURE_WRITE_NODE         | 
    91                                          FEATURE_WRITE_SHADER        
    92         };     
     91                                         FEATURE_WRITE_SHADER 
     92        }; 
    9393        /** Return available features*/ 
    9494        virtual Features supportedFeatures() const; 
     
    118118                ReadResult(const std::string& m):_status(ERROR_IN_READING_FILE),_message(m) {} 
    119119                ReadResult(osg::Object* obj, ReadStatus status=FILE_LOADED):_status(status),_object(obj) {} 
    120                  
     120 
    121121                ReadResult(const ReadResult& rr):_status(rr._status),_message(rr._message),_object(rr._object) {} 
    122122                ReadResult& operator = (const ReadResult& rr) { if (this==&rr) return *this; _status=rr._status; _message=rr._message;_object=rr._object; return *this; } 
    123                  
     123 
    124124                osg::Object* getObject(); 
    125125                osg::Image* getImage(); 
     
    155155 
    156156            protected: 
    157              
     157 
    158158                ReadStatus                  _status; 
    159159                std::string                 _message; 
     
    176176                WriteResult(WriteStatus status=FILE_NOT_HANDLED):_status(status) {} 
    177177                WriteResult(const std::string& m):_status(ERROR_IN_WRITING_FILE),_message(m) {} 
    178                  
     178 
    179179                WriteResult(const WriteResult& rr):_status(rr._status),_message(rr._message) {} 
    180180                WriteResult& operator = (const WriteResult& rr) { if (this==&rr) return *this; _status=rr._status; _message=rr._message; return *this; } 
    181                  
     181 
    182182                std::string& message() { return _message; } 
    183183                const std::string& message() const { return _message; } 
     
    189189 
    190190            protected: 
    191              
     191 
    192192                WriteStatus                 _status; 
    193193                std::string                 _message;