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

Ran script to remove trailing spaces and tabs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/NodeCallback

    r5829 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*/ 
     
    2626 
    2727    public : 
    28      
     28 
    2929 
    3030        NodeCallback(){} 
     
    3333            _nestedCallback(nc._nestedCallback) {} 
    3434 
    35          
     35 
    3636        META_Object(osg,NodeCallback); 
    37          
    38          
     37 
     38 
    3939        /** Callback method called by the NodeVisitor when visiting a node.*/ 
    4040        virtual void operator()(Node* node, NodeVisitor* nv) 
    41         {  
     41        { 
    4242            // note, callback is responsible for scenegraph traversal so 
    4343            // they must call traverse(node,nv) to ensure that the 
     
    4545            traverse(node,nv); 
    4646        } 
    47          
     47 
    4848        /** Call any nested callbacks and then traverse the scene graph. */ 
    4949        void traverse(Node* node,NodeVisitor* nv); 
    50          
     50 
    5151        void setNestedCallback(NodeCallback* nc) { _nestedCallback = nc; } 
    5252        NodeCallback* getNestedCallback() { return _nestedCallback.get(); } 
    5353        const NodeCallback* getNestedCallback() const { return _nestedCallback.get(); } 
    54          
     54 
    5555        inline void addNestedCallback(NodeCallback* nc) 
    5656        { 
     
    6868            } 
    6969        } 
    70          
     70 
    7171        inline void removeNestedCallback(NodeCallback* nc) 
    7272        { 
     
    8383            } 
    8484        } 
    85          
     85 
    8686    public: 
    8787 
    8888        ref_ptr<NodeCallback> _nestedCallback; 
    89          
     89 
    9090    protected: 
    91      
     91 
    9292        virtual ~NodeCallback() {} 
    9393};