Aspose.Tasks for C++
Aspose::Tasks::Util::Not< T > Class Template Reference

Applies logical NOT to the specified condition. More...

#include <Not.h>

Inherits Aspose::Tasks::Util::ICondition< T >.

Public Member Functions

 Not (const System::SharedPtr< ICondition< T >> &condition)
 Initializes a new instance of the Not<T> class. More...
 
bool Check (const T &el) override
 Returns true if the specified object satisfy the condition. More...
 

Detailed Description

template<typename T>
class Aspose::Tasks::Util::Not< T >

Applies logical NOT to the specified condition.

Template Parameters
TThe type of object to apply method interface to.

Constructor & Destructor Documentation

◆ Not()

template<typename T >
Aspose::Tasks::Util::Not< T >::Not ( const System::SharedPtr< ICondition< T >> &  condition)
inline

Initializes a new instance of the Not<T> class.

Parameters
conditionSpecified condition.

Member Function Documentation

◆ Check()

template<typename T >
bool Aspose::Tasks::Util::Not< T >::Check ( const T &  el)
inlineoverridevirtual

Returns true if the specified object satisfy the condition.

Parameters
elThe object to check.
Returns
True if the object satisfy the condition.

Implements Aspose::Tasks::Util::ICondition< T >.