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

Allows to specify additional options when reading Primavera Xml or Primavera Xer files. More...

#include <PrimaveraReadOptions.h>

Inherits System::Object.

Public Member Functions

int32_t get_ProjectUid () const
 Gets the UID of a project to read from file containing multiple projects. More...
 
void set_ProjectUid (int32_t value)
 Sets the UID of a project to read from file containing multiple projects. More...
 
Aspose::Tasks::UndefinedConstraintHandlingBehavior get_UndefinedConstraintHandlingBehavior () const
 Specifies the behavior used to process tasks with undefined constraints read from XER format. More...
 
void set_UndefinedConstraintHandlingBehavior (Aspose::Tasks::UndefinedConstraintHandlingBehavior value)
 Specifies the behavior used to process tasks with undefined constraints read from XER format. More...
 
bool get_PreserveUids () const
 Gets a flag that specifies whether original unique identifiers of entities should be preserved. More...
 
void set_PreserveUids (bool value)
 Sets a flag that specifies whether original unique identifiers of entities should be preserved. More...
 
bool get_ReadBaselineProjects () const
 Gets a flag that specifies whether baseline projects should be loaded. The default value is true. More...
 
void set_ReadBaselineProjects (bool value)
 Sets a flag that specifies whether baseline projects should be loaded. The default value is true. More...
 
 PrimaveraReadOptions ()
 Initializes a new instance of the PrimaveraReadOptions class. More...
 

Detailed Description

Allows to specify additional options when reading Primavera Xml or Primavera Xer files.

Constructor & Destructor Documentation

◆ PrimaveraReadOptions()

Aspose::Tasks::PrimaveraReadOptions::PrimaveraReadOptions ( )

Initializes a new instance of the PrimaveraReadOptions class.

Member Function Documentation

◆ get_PreserveUids()

bool Aspose::Tasks::PrimaveraReadOptions::get_PreserveUids ( ) const

Gets a flag that specifies whether original unique identifiers of entities should be preserved.

◆ get_ProjectUid()

int32_t Aspose::Tasks::PrimaveraReadOptions::get_ProjectUid ( ) const

Gets the UID of a project to read from file containing multiple projects.

◆ get_ReadBaselineProjects()

bool Aspose::Tasks::PrimaveraReadOptions::get_ReadBaselineProjects ( ) const

Gets a flag that specifies whether baseline projects should be loaded. The default value is true.

The flag is applicable to Primavera XML files containing baseline projects (baselines are not supported by XER format). The option can be set to false to speed up loading of a large project with baselines when baseline data is not needed.

◆ get_UndefinedConstraintHandlingBehavior()

Aspose::Tasks::UndefinedConstraintHandlingBehavior Aspose::Tasks::PrimaveraReadOptions::get_UndefinedConstraintHandlingBehavior ( ) const

Specifies the behavior used to process tasks with undefined constraints read from XER format.

◆ set_PreserveUids()

void Aspose::Tasks::PrimaveraReadOptions::set_PreserveUids ( bool  value)

Sets a flag that specifies whether original unique identifiers of entities should be preserved.

◆ set_ProjectUid()

void Aspose::Tasks::PrimaveraReadOptions::set_ProjectUid ( int32_t  value)

Sets the UID of a project to read from file containing multiple projects.

◆ set_ReadBaselineProjects()

void Aspose::Tasks::PrimaveraReadOptions::set_ReadBaselineProjects ( bool  value)

Sets a flag that specifies whether baseline projects should be loaded. The default value is true.

The flag is applicable to Primavera XML files containing baseline projects (baselines are not supported by XER format). The option can be set to false to speed up loading of a large project with baselines when baseline data is not needed.

◆ set_UndefinedConstraintHandlingBehavior()

void Aspose::Tasks::PrimaveraReadOptions::set_UndefinedConstraintHandlingBehavior ( Aspose::Tasks::UndefinedConstraintHandlingBehavior  value)

Specifies the behavior used to process tasks with undefined constraints read from XER format.