Aspose.Tasks for C++
Aspose::Tasks::PrimaveraXmlReader Class Reference

Represents a reader which allows to retrieve Project UIDs from Primavera Xml file. More...

#include <PrimaveraXmlReader.h>

Inherits Aspose::Tasks::PrimaveraBaseReader.

Public Member Functions

 PrimaveraXmlReader (const System::String &templatePath)
 Initializes a new instance of the PrimaveraXmlReader class. More...
 
 PrimaveraXmlReader (const System::SharedPtr< System::IO::Stream > &stream)
 Initializes a new instance of the PrimaveraXmlReader class. More...
 
- Public Member Functions inherited from Aspose::Tasks::PrimaveraBaseReader
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 reader which allows to retrieve Project UIDs from Primavera Xml file.

Constructor & Destructor Documentation

◆ PrimaveraXmlReader() [1/2]

Aspose::Tasks::PrimaveraXmlReader::PrimaveraXmlReader ( const System::String &  templatePath)

Initializes a new instance of the PrimaveraXmlReader class.

Parameters
templatePathPath to template where Primavera Xml project or projects are located

◆ PrimaveraXmlReader() [2/2]

Aspose::Tasks::PrimaveraXmlReader::PrimaveraXmlReader ( const System::SharedPtr< System::IO::Stream > &  stream)

Initializes a new instance of the PrimaveraXmlReader class.

Parameters
streamStream containing Primavera Xml content.