Commit 7babe30d authored by Mathias Goldau's avatar Mathias Goldau

[STYLE] Removed trailing newlines after modifiers like private, protected and public

parent f1bc88bc
......@@ -85,7 +85,6 @@ public:
boost::signals2::connection subscribeSignal( t_ConditionNotifierType notifier ) const;
protected:
/**
* Type used for condition notification.
*/
......
......@@ -41,7 +41,6 @@ class OWCOMMON_EXPORT WConditionOneShot: public WCondition
{
friend class WConditionOneShot_test;
public:
/**
* Default constructor.
*/
......@@ -63,7 +62,6 @@ public:
virtual void notify();
protected:
/**
* Locked as long the condition was not fired.
*/
......
......@@ -43,7 +43,6 @@ class OWCOMMON_EXPORT WConditionSet: public WCondition
{
friend class WConditionSetTest;
public:
/**
* Shared pointer to instance of this class.
*/
......@@ -111,7 +110,6 @@ public:
bool isResetable();
protected:
/**
* Flag denoting whether the condition set should act like a one shot condition.
*/
......
......@@ -44,7 +44,6 @@ class OWCOMMON_EXPORT WException: public std::exception
friend class WExceptionTest;
public:
/**
* Default constructor.
* \param msg Exception description.
......@@ -105,7 +104,6 @@ protected:
*/
static bool noBacktrace;
private:
/**
* Color used for the "trace:" label.
*/
......
......@@ -185,7 +185,6 @@ public:
virtual bool changed( bool reset = false );
protected:
/**
* The condition to be used for waiting/notifying. Please note, that it gets deleted during destruction.
*/
......
......@@ -53,7 +53,6 @@ template < typename T >
class OWCOMMON_EXPORT WFlagForwarder // NOLINT
{
public:
/**
* Default constructor.
*
......@@ -75,7 +74,6 @@ public:
void forward( boost::shared_ptr< WFlag< T > > to );
protected:
/**
* The source property to which all other properties are synced to.
*/
......@@ -97,7 +95,6 @@ protected:
void sourceChanged();
private:
/**
* Disallow copy construction.
*
......
......@@ -117,7 +117,6 @@ public:
virtual std::pair< double, double > getIntervalForIndex( size_t index ) const = 0;
protected:
/**
* The smallest value
*/
......
......@@ -112,7 +112,6 @@ public:
virtual void insert( double value );
protected:
private:
/**
* Bins to associate with the values. Each bin has the width of m_intervalWidth;
......
......@@ -35,7 +35,6 @@
class OWCOMMON_EXPORT WItemSelectionItem // NOLINT
{
public:
/**
* Constructs a new item with the specified values.
*
......@@ -81,7 +80,6 @@ public:
bool operator==( const WItemSelectionItem& other ) const;
protected:
/**
* Item name.
*/
......
......@@ -53,7 +53,6 @@ class OWCOMMON_EXPORT WItemSelector // NOLINT
{
friend class WItemSelection;
public:
/**
* The type used for storing index lists. It is a list of integer correlating with the elements in the managed WItemSelection class.
*/
......@@ -236,7 +235,6 @@ public:
IndexList getIndexList() const;
protected:
/**
* Constructor creates an selector for the specified selection of items. Noting is selected after construction.
*
......@@ -261,7 +259,6 @@ protected:
boost::signals2::connection m_invalidateSignalConnection;
private:
/**
* Creates a new selector instance using the specified index list. Handles all needed signal subscription stuff.
*
......
......@@ -56,7 +56,6 @@ LogLevel logLevelFromString( const std::string& str );
class OWCOMMON_EXPORT WLogEntry // NOLINT
{
public:
/**
* Creates a new log message.
*
......
......@@ -102,7 +102,6 @@ public:
bool isColored() const;
private:
/**
* Disallow copy.
*
......
......@@ -130,7 +130,6 @@ public:
boost::signals2::connection subscribeSignal( LogEvent event, LogEntryCallback callback );
protected:
private:
/**
* Constructor. The logger is created using the static method startup.
......
......@@ -43,7 +43,6 @@
class OWCOMMON_EXPORT WPathHelper // NOLINT
{
public:
/**
* Destructor.
*/
......@@ -189,14 +188,12 @@ public:
static boost::filesystem::path getConfigPath();
protected:
/**
* Constructors are protected because this is a Singleton.
*/
WPathHelper();
private:
/**
* Application path. NOT the path of the binary. The application path is the directory in which the binary is placed.
* The binary path is m_appPath+"/openwalnut".
......
......@@ -93,7 +93,6 @@ namespace WPredicateHelper
};
private:
/**
* The string to check against.
*/
......@@ -132,7 +131,6 @@ namespace WPredicateHelper
};
private:
/**
* The string to check against.
*/
......@@ -218,7 +216,6 @@ namespace WPredicateHelper
};
private:
/**
* The predicate to use for checking
*/
......
......@@ -42,7 +42,6 @@ class OWCOMMON_EXPORT WProgress // NOLINT
{
friend class WProgressTest;
public:
/**
* Creates a new progress instance as child of the specified progress. The instance is instantly marked "running".
*
......@@ -118,7 +117,6 @@ public:
virtual bool isDetermined();
protected:
/**
* Progress name. Can be set only once (during construction).
*/
......
......@@ -41,7 +41,6 @@ class OWCOMMON_EXPORT WProgressCombiner: public WProgress
{
friend class WProgressCombinerTest;
public:
/**
* Default constructor. It creates a empty combiner.
*
......@@ -109,7 +108,6 @@ public:
std::string getCombinedNames() const;
protected:
/**
* The name of the combiner.
*/
......
......@@ -36,7 +36,6 @@
class OWCOMMON_EXPORT WProjectFileIO // NOLINT
{
public:
/**
* Default constructor.
*/
......@@ -71,7 +70,6 @@ public:
virtual void save( std::ostream& output ) = 0; // NOLINT
protected:
private:
};
......
......@@ -296,7 +296,6 @@ public:
typedef boost::function<void ( boost::shared_ptr< WPropertyBase > )> PropertyChangeNotifierType;
protected:
/**
* Name of the property.
*/
......
......@@ -50,7 +50,6 @@ class OWCOMMON_EXPORT WPropertyGroup: public WPropertyGroupBase
{
friend class WPropertiesTest;
public:
// the following typedefs are for convenience.
typedef boost::shared_ptr< WPropertyGroup > SPtr; //!< shared pointer to object of this type
typedef boost::shared_ptr< const WPropertyGroup > ConstSPtr; //!< const shared pointer to object of this type
......@@ -888,7 +887,6 @@ public:
WPropertyBase::PropertyChangeNotifierType notifier, bool hide = false );
protected:
private:
};
......
......@@ -53,7 +53,6 @@
class OWCOMMON_EXPORT WPropertyGroupBase: public WPropertyBase
{
public:
/**
* For shortening: a type defining a shared vector of WSubject pointers.
*/
......
......@@ -172,7 +172,6 @@ public:
}
protected:
private:
};
......
......@@ -91,9 +91,7 @@ public:
static boost::shared_ptr< WPropertyObserver > create();
protected:
private:
/**
* Disallow copy construction.
*
......
......@@ -200,7 +200,6 @@ class WPropertyStruct: public WPropertyGroupBase
{
friend class WPropertyStructTest;
public:
/**
* The type of this template instantiation.
*/
......@@ -449,9 +448,7 @@ public:
}
protected:
private:
/**
* How many elements are in this WPropertyStruct?
*/
......
......@@ -176,7 +176,6 @@ public:
class PropertyConstraint
{
public:
/**
* Default constructor.
*/
......@@ -412,7 +411,6 @@ public:
virtual bool setRecommendedValue( const T& value );
protected:
/**
* The connection used for notification.
*/
......@@ -444,7 +442,6 @@ protected:
boost::shared_ptr< ConstraintContainerType > m_constraints;
private:
/**
* This is true, if the user did not set a value until now using \ref set.
*/
......
......@@ -37,7 +37,6 @@
class OWCOMMON_EXPORT WPrototyped // NOLINT
{
public:
/**
* Default constructor. Creates a instance of the class. This not necessarily mean that the instance is fully usable. This is
* required for type checking and inheritance checking.
......
......@@ -39,7 +39,6 @@
class OWCOMMON_EXPORT WRealtimeTimer: public WTimer
{
public:
/**
* Convenience typedef for a shared_ptr
*/
......@@ -73,7 +72,6 @@ public:
virtual double elapsed() const;
private:
/**
* The osg timer is used here.
*/
......
......@@ -37,7 +37,6 @@
class OWCOMMON_EXPORT WRequirement // NOLINT
{
public:
/**
* Default constructor.
*/
......@@ -63,7 +62,6 @@ public:
virtual std::string getDescription() const = 0;
protected:
private:
};
......
......@@ -52,7 +52,6 @@ public:
}
protected:
private:
class SingletonTranslator
{
......@@ -80,7 +79,6 @@ private:
class OWCOMMON_EXPORT WSegmentationFault: public WException
{
public:
/**
* Default constructor.
* \param msg name of the exception. mostly the default "Segmentation Fault"
......@@ -105,7 +103,6 @@ public:
static void installSignalHandler() throw();
protected:
private:
};
......
......@@ -48,7 +48,6 @@
class OWCOMMON_EXPORT WSharedLib // NOLINT
{
public:
/**
* Constructor. Loads the specified library.
*
......@@ -139,9 +138,7 @@ public:
static std::string getSystemLibPath();
protected:
private:
//! neutral function pointer type
typedef void (*func_ptr_type)(void);
......
......@@ -41,7 +41,6 @@ template < typename T >
class WSharedObject
{
public:
/**
* Default constructor.
*/
......@@ -101,7 +100,6 @@ public:
boost::shared_ptr< WCondition > getChangeCondition() const;
protected:
/**
* The object wrapped by this class. This member is mutable as the \ref getReadTicket and \ref getWriteTicket functions are const but need a
* non-const reference to m_object.
......
......@@ -45,7 +45,6 @@ class WSharedObjectTicket
// the shared object class needs protected access to create new instances
friend class WSharedObject< Data >;
public:
/**
* Destroys the ticket and releases the lock.
*/
......@@ -68,7 +67,6 @@ public:
}
protected:
/**
* Create a new instance. It is protected to avoid someone to create them. It locks the mutex.
*
......
......@@ -40,7 +40,6 @@ class WSharedObjectTicketRead: public WSharedObjectTicket< Data >
// the shared object class needs protected access to create new instances
friend class WSharedObject< Data >;
public:
/**
* Destroys the ticket and releases the lock.
*/
......@@ -63,7 +62,6 @@ public:
};
protected:
/**
* Create a new instance. It is protected to avoid someone to create them. It locks the mutex for read.
*
......
......@@ -40,7 +40,6 @@ class WSharedObjectTicketWrite: public WSharedObjectTicket< Data >
// the shared object class needs protected access to create new instances
friend class WSharedObject< Data >;
public:
/**
* Destroys the ticket and releases the lock.
*/
......@@ -61,7 +60,6 @@ public:
};
protected:
/**
* Create a new instance. It is protected to avoid someone to create them. It locks the mutex for write.
*
......
......@@ -39,7 +39,6 @@ template < typename S >
class WSharedSequenceContainer: public WSharedObject< S >
{
public:
// Some helpful typedefs
/**
......@@ -237,7 +236,6 @@ public:
typename WSharedSequenceContainer< S >::ConstIterator find( const typename S::value_type& value );
protected:
private:
};
......
<
......@@ -36,7 +36,6 @@ class OWCOMMON_EXPORT WTerminalColor // NOLINT
{
friend class WTerminalColorTest;
public:
/**
* Define possible attributes.
*/
......@@ -157,7 +156,6 @@ public:
bool isEnabled() const;
protected:
/**
* The string actually containing the control sequence to enable colors on the console.
*/
......@@ -184,7 +182,6 @@ protected: