Aspose.Tasks for C++
Aspose::Tasks::Util::ChildTasksCollector Class Reference

Collects all child tasks. More...

#include <ChildTasksCollector.h>

Inherits Aspose::Tasks::Util::TreeAlgorithmBase< System::SharedPtr< Aspose::Tasks::Task > >.

Public Member Functions

System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Task > > > get_Tasks () const
 Gets a list collected child objects (tasks). More...
 
 ChildTasksCollector ()
 Initializes a new instance of the ChildTasksCollector class. More...
 
void Alg (System::SharedPtr< Task > el, int32_t level) override
 Processes the specified object. More...
 
- Public Member Functions inherited from Aspose::Tasks::Util::TreeAlgorithmBase< System::SharedPtr< Aspose::Tasks::Task > >
void PreAlg (System::SharedPtr< Aspose::Tasks::Task > el, int32_t level) override
 Called before processing of a node of a tree. More...
 
void Alg (System::SharedPtr< Aspose::Tasks::Task > el, int32_t level) override=0
 Processes a node of a tree. More...
 
void PostAlg (System::SharedPtr< Aspose::Tasks::Task > el, int32_t level) override
 Called after processing of a node of a tree. More...
 

Detailed Description

Collects all child tasks.

Constructor & Destructor Documentation

◆ ChildTasksCollector()

Aspose::Tasks::Util::ChildTasksCollector::ChildTasksCollector ( )

Initializes a new instance of the ChildTasksCollector class.

Member Function Documentation

◆ Alg()

void Aspose::Tasks::Util::ChildTasksCollector::Alg ( System::SharedPtr< Task el,
int32_t  level 
)
override

Processes the specified object.

Parameters
elObject to process.
levelTree node level.

◆ get_Tasks()

System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Task> > > Aspose::Tasks::Util::ChildTasksCollector::get_Tasks ( ) const

Gets a list collected child objects (tasks).