Aspose.Tasks for C++
|
Helper class which provides useful operations with tasks. More...
#include <TaskUtils.h>
Static Public Member Functions | |
static void | Apply (const System::SharedPtr< Task > &root, const System::SharedPtr< ITreeAlgorithm< System::SharedPtr< Task >>> &alg, int32_t level) |
Applies specified algorithm to each task of a tree. More... | |
static System::SharedPtr< Task > | Filter (const System::SharedPtr< Task > &root, const System::SharedPtr< ICondition< System::SharedPtr< Task >>> &cond) |
Builds new tree of tasks which satisfy the condition. More... | |
static System::SharedPtr< Task > | Find (const System::SharedPtr< Task > &root, const System::SharedPtr< ICondition< System::SharedPtr< Task >>> &cond) |
Finds a task which satisfy the condition in a tree of tasks. More... | |
static int32_t | TaskChildrenCount (const System::SharedPtr< Task > &task) |
Recursively calculates a number of task's children tasks through all levels. More... | |
Helper class which provides useful operations with tasks.
|
static |
Applies specified algorithm to each task of a tree.
root | Root of the tree |
alg | Applied algorithm. |
level | Level of the root task. |
|
static |
Builds new tree of tasks which satisfy the condition.
root | Root of the tree. |
cond | Applied condition. |
|
static |
Finds a task which satisfy the condition in a tree of tasks.
root | Root of the tree. |
cond | Applied condition. |
|
static |
Recursively calculates a number of task's children tasks through all levels.
task | The task which children calculate. |