8 #include <system/details/pointer_collection_helpers.h>
11 #include "aspose.tasks.cpp/Util/ICondition.h"
29 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
30 RTTI_INFO_TEMPLATE_CLASS(
ThisType, ThisTypeBaseTypesInfo);
42 this->condition = condition;
50 bool Check(
const T& el)
override
52 return !this->condition->Check(el);
55 void SetTemplateWeakPtr(uint32_t argument)
override
60 System::Details::CollectionHelpers::SetWeakPointer(0, condition);
68 #ifdef ASPOSE_GET_SHARED_MEMBERS
69 void GetSharedMembers(System::Object::shared_members_type& result)
const override
71 System::Object::GetSharedMembers(result);
73 result.Add(
"Aspose::Tasks::Util::Not::condition", this->condition);
81 System::SharedPtr<ICondition<T>> condition;
Represents a condition which can be used by filters or search methods.
Definition: ICondition.h:22
Applies logical NOT to the specified condition.
Definition: Not.h:25
Not(const System::SharedPtr< ICondition< T >> &condition)
Initializes a new instance of the Not<T> class.
Definition: Not.h:40
bool Check(const T &el) override
Returns true if the specified object satisfy the condition.
Definition: Not.h:50