Ran script to remove trailing spaces and tabs

This commit is contained in:
Robert Osfield
2012-03-21 17:36:20 +00:00
parent 1e35f8975d
commit 14a563dc9f
1495 changed files with 21873 additions and 21873 deletions

View File

@@ -1,13 +1,13 @@
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this distribution, and on the openscenegraph.org website.
*
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
@@ -32,8 +32,8 @@ class UserDataContainer;
#define ADDQUOTES(def) _ADDQUOTES(def)
/** META_Object macro define the standard clone, isSameKindAs and className methods.
* Use when subclassing from Object to make it more convenient to define
* the standard pure virtual clone, isSameKindAs and className methods
* Use when subclassing from Object to make it more convenient to define
* the standard pure virtual clone, isSameKindAs and className methods
* which are required for all Object subclasses.*/
#define META_Object(library,name) \
virtual osg::Object* cloneType() const { return new name (); } \
@@ -42,7 +42,7 @@ class UserDataContainer;
virtual const char* libraryName() const { return #library; }\
virtual const char* className() const { return #name; }
/** Base class/standard interface for objects which require IO support,
/** Base class/standard interface for objects which require IO support,
cloning and reference counting.
Based on GOF Composite, Prototype and Template Method patterns.
*/
@@ -106,7 +106,7 @@ class OSG_EXPORT Object : public Referenced
STATIC,
UNSPECIFIED
};
/** Set the data variance of this object.
* Can be set to either STATIC for values that do not change over the lifetime of the object,
* or DYNAMIC for values that vary over the lifetime of the object. The DataVariance value
@@ -116,7 +116,7 @@ class OSG_EXPORT Object : public Referenced
/** Get the data variance of this object.*/
inline DataVariance getDataVariance() const { return _dataVariance; }
/** Compute the DataVariance based on an assessment of callback etc.*/
virtual void computeDataVariance() {}
@@ -137,7 +137,7 @@ class OSG_EXPORT Object : public Referenced
/**
* Set user data, data must be subclassed from Referenced to allow
* automatic memory handling. If your own data isn't directly
* automatic memory handling. If your own data isn't directly
* subclassed from Referenced then create an adapter object
* which points to your own object and handles the memory addressing.
*/
@@ -148,7 +148,7 @@ class OSG_EXPORT Object : public Referenced
/** Get const user data.*/
virtual const Referenced* getUserData() const;
/** Convinience method that casts the named UserObject to osg::TemplateValueObject<T> and gets the value.
@@ -162,7 +162,7 @@ class OSG_EXPORT Object : public Referenced
template<typename T>
void setUserValue(const std::string& name, const T& value);
/** Resize any per context GLObject buffers to specified size. */
virtual void resizeGLObjectBuffers(unsigned int /*maxSize*/) {}
@@ -182,7 +182,7 @@ class OSG_EXPORT Object : public Referenced
forcing all nodes to be created on the heap i.e Node* node
= new Node().*/
virtual ~Object();
std::string _name;
DataVariance _dataVariance;
@@ -261,7 +261,7 @@ T* cloneType(const T* t)
return 0;
}
}
}
#endif