8 #include <system/object.h>
9 #include <system/enumerator_adapter.h>
10 #include <system/details/pointer_collection_helpers.h>
11 #include <system/collections/list.h>
14 #include "aspose.tasks.cpp/Util/ICondition.h"
33 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
34 RTTI_INFO_TEMPLATE_CLASS(
ThisType, ThisTypeBaseTypesInfo);
48 this->conditions = conditions;
56 bool Check(
const T& el)
override
58 for (
auto&& cond : this->conditions)
69 void SetTemplateWeakPtr(uint32_t argument)
override
81 #ifdef ASPOSE_GET_SHARED_MEMBERS
82 void GetSharedMembers(System::Object::shared_members_type& result)
const override
84 System::Object::GetSharedMembers(result);
86 result.Add(
"Aspose::Tasks::Util::AndAllCondition::conditions", this->conditions);
94 System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<ICondition<T>>>> conditions;
Applies logical AND to all conditions. For example: cond1 AND cond2 AND cond3...
Definition: AndAllCondition.h:29
AndAllCondition(const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< ICondition< T >>>> &conditions)
Initializes a new instance of the AndAllCondition<T> class.
Definition: AndAllCondition.h:46
bool Check(const T &el) override
Returns true if the specified object satisfy the conditions.
Definition: AndAllCondition.h:56
Represents a condition which can be used by filters or search methods.
Definition: ICondition.h:22