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/osg/ApplicationUsage

    r10504 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        static ApplicationUsage* instance(); 
    3030 
     
    3434 
    3535        typedef std::map<std::string,std::string> UsageMap; 
    36          
     36 
    3737 
    3838        /** The ApplicationName is often displayed when logging errors, and frequently incorporated into the Description (below). */ 
     
    5353            HELP_ALL = KEYBOARD_MOUSE_BINDING|ENVIRONMENTAL_VARIABLE|COMMAND_LINE_OPTION 
    5454        }; 
    55          
     55 
    5656        void addUsageExplanation(Type type,const std::string& option,const std::string& explanation); 
    57          
     57 
    5858        void setCommandLineUsage(const std::string& explanation) { _commandLineUsage=explanation; } 
    5959        const std::string& getCommandLineUsage() const { return _commandLineUsage; } 
     
    6161 
    6262        void addCommandLineOption(const std::string& option,const std::string& explanation, const std::string &defaultValue = ""); 
    63          
     63 
    6464        void setCommandLineOptions(const UsageMap& usageMap) { _commandLineOptions=usageMap; } 
    6565        const UsageMap& getCommandLineOptions() const { return _commandLineOptions; } 
     
    7070 
    7171        void addEnvironmentalVariable(const std::string& option,const std::string& explanation, const std::string& defaultValue = ""); 
    72          
     72 
    7373        void setEnvironmentalVariables(const UsageMap& usageMap) { _environmentalVariables=usageMap; } 
    7474        const UsageMap& getEnvironmentalVariables() const { return _environmentalVariables; } 
     
    8787 
    8888        void write(std::ostream& output,const UsageMap& um,unsigned int widthOfOutput=80,bool showDefaults=false,const UsageMap& ud=UsageMap()); 
    89          
     89 
    9090        void write(std::ostream& output,unsigned int type=COMMAND_LINE_OPTION, unsigned int widthOfOutput=80,bool showDefaults=false); 
    9191 
     
    9393 
    9494    protected: 
    95      
     95 
    9696        virtual ~ApplicationUsage() {} 
    9797 
     
    104104        UsageMap    _environmentalVariablesDefaults; 
    105105        UsageMap    _commandLineOptionsDefaults; 
    106          
     106 
    107107}; 
    108108 
    109109class ApplicationUsageProxy 
    110 {    
     110{ 
    111111    public: 
    112112