Aspose.Tasks for C++
Aspose::Tasks::PrimaveraBaseReader Class Referenceabstract

Represents a base reader which can be used to read Project UIDs from multi project Primavera XER or XML files. More...

#include <PrimaveraBaseReader.h>

Inherits System::Object.

Inherited by Aspose::Tasks::PrimaveraXerReader, and Aspose::Tasks::PrimaveraXmlReader.

Public Member Functions

System::SharedPtr< System::Collections::Generic::List< int32_t > > GetProjectUids ()
 Return a list of the projects' unique identifiers. More...
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Primavera::PrimaveraProjectInfo > > > GetProjectInfos ()
 Return a list of the project's short info objects. More...
 
System::SharedPtr< ProjectLoadProject (int32_t projectUid)
 Loads the project with the specified unique identifier. More...
 

Detailed Description

Represents a base reader which can be used to read Project UIDs from multi project Primavera XER or XML files.

Member Function Documentation

◆ GetProjectInfos()

System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Primavera::PrimaveraProjectInfo> > > Aspose::Tasks::PrimaveraBaseReader::GetProjectInfos ( )

Return a list of the project's short info objects.

◆ GetProjectUids()

System::SharedPtr<System::Collections::Generic::List<int32_t> > Aspose::Tasks::PrimaveraBaseReader::GetProjectUids ( )

Return a list of the projects' unique identifiers.

Returns
List of projects' unique identifiers.

◆ LoadProject()

System::SharedPtr<Project> Aspose::Tasks::PrimaveraBaseReader::LoadProject ( int32_t  projectUid)

Loads the project with the specified unique identifier.

Parameters
projectUidUnique identifier of the project to load.
Returns
Project with specified unique identifier from the specified multi project file. Null if project doesn't exist.