Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
29 changes: 24 additions & 5 deletions english/cpp/_index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
---
title: Aspose.Tasks for C++
title: "Aspose.Tasks for C++"
linktitle: "Aspose.Tasks for C++"
articleTitle: "Aspose.Tasks for C++"
description: "Aspose.Tasks for C++ enables developers to create, read, modify, and export Microsoft Project and Primavera files directly within native C++ applications."
type: docs
weight: 12
weight: 10
url: /cpp/
keywords:
description:
keywords: "Aspose.Tasks for C++, Aspose.Tasks, Aspose API Reference"
is_root: true
---
---

The API offers a rich object model for handling Project XML, MPX, MPP, and Primavera XER formats, supporting tasks, resources, assignments, calendars, and custom fields. Its functionality is organized into nine namespaces: Aspose::Tasks for core entities, Connectivity for file I/O, Leveling for resource leveling, Primavera for Primavera‑specific objects, Properties for extended attributes, RiskAnalysis for Monte‑Carlo risk modeling, Saving for export options, Util for helper utilities, and Visualization for Gantt chart and report rendering.

## Namespaces

| Namespace | Description |
| --- | --- |
| [Aspose::Tasks](./aspose.tasks/) | The Aspose::Tasks namespace provides core classes and enumerations for managing project data, resources, assignments, and baseline information in C++. |
| [Aspose::Tasks::Connectivity](./aspose.tasks.connectivity/) | The Aspose::Tasks::Connectivity namespace supplies classes that define settings for connecting to various project‑management databases. |
| [Aspose::Tasks::Leveling](./aspose.tasks.leveling/) | The Aspose::Tasks::Leveling namespace offers classes for configuring and executing resource leveling in project schedules. |
| [Aspose::Tasks::Primavera](./aspose.tasks.primavera/) | Provides types for handling Primavera project data within Aspose.Tasks for C++. |
| [Aspose::Tasks::Properties](./aspose.tasks.properties/) | The Aspose::Tasks::Properties namespace provides classes and collections for managing built‑in and custom project properties in Aspose.Tasks for C++. |
| [Aspose::Tasks::RiskAnalysis](./aspose.tasks.riskanalysis/) | Provides classes and enums for performing Monte‑Carlo risk analysis on project schedules. |
| [Aspose::Tasks::Saving](./aspose.tasks.saving/) | The Aspose::Tasks::Saving namespace offers classes and interfaces for configuring and controlling the saving of Project files in various formats. |
| [Aspose::Tasks::Util](./aspose.tasks.util/) | The Aspose::Tasks::Util namespace offers utility classes, algorithms, and condition helpers for task tree traversal and evaluation. |
| [Aspose::Tasks::Visualization](./aspose.tasks.visualization/) | Provides visualization components for rendering Gantt charts, gridlines, fonts, and assignment view columns in Aspose.Tasks. |

25 changes: 25 additions & 0 deletions english/cpp/aspose.tasks.connectivity/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Aspose::Tasks::Connectivity namespace"
linktitle: "Aspose::Tasks::Connectivity"
articleTitle: "Aspose::Tasks::Connectivity"
second_title: "Aspose.Tasks for C++"
description: "The Aspose::Tasks::Connectivity namespace supplies classes that define settings for connecting to various project‑management databases."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/
---

## Aspose::Tasks::Connectivity namespace

Use these types to configure connections to Microsoft Project Server databases (MspDbSettings), Primavera databases (PrimaveraDbSettings), MPD files (MpdSettings), or generic database sources (DbSettings). The namespace centralizes connectivity configuration for seamless integration with Aspose.Tasks data extraction and manipulation features.


## Classes

| Name | Description |
| --- | --- |
| [DbSettings](./dbsettings/) | Allows to specify settings to read from project database. |
| [MpdSettings](./mpdsettings/) | Allows to set necessary options to read project data from MPD format (MS Access |
| [MspDbSettings](./mspdbsettings/) | Allows to set necessary options to read project data from MS Project Server data |
| [PrimaveraDbSettings](./primaveradbsettings/) | Allows to set necessary options to read project data from Primavera database. |

24 changes: 24 additions & 0 deletions english/cpp/aspose.tasks.connectivity/dbsettings/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Aspose::Tasks::Connectivity::DbSettings class"
linktitle: "DbSettings"
articleTitle: "DbSettings"
second_title: "Aspose.Tasks for C++"
description: "Allows to specify settings to read from project database."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/dbsettings/
---

## DbSettings class

Allows to specify settings to read from project database.

## Methods

| Name | Description |
| --- | --- |
| [get_ConnectionString](./get_connectionstring/) | Gets the connection string. |
| [get_ProviderInvariantName](./get_providerinvariantname/) | Gets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class. |
| [set_ConnectionString](./set_connectionstring/) | Sets the connection string. |
| [set_ProviderInvariantName](./set_providerinvariantname/) | Sets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class. |

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Tasks::Connectivity::DbSettings::get_ConnectionString method"
linktitle: "get_ConnectionString"
articleTitle: "get_ConnectionString"
second_title: "Aspose.Tasks for C++"
description: "Gets the connection string."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/dbsettings/get_connectionstring/
---

## get_ConnectionString {#get_connectionstring}

Gets the connection string.

**Returns:** System::String Aspose::Tasks::Connectivity::

```cpp
get_ConnectionString()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Tasks::Connectivity::DbSettings::get_ProviderInvariantName method"
linktitle: "get_ProviderInvariantName"
articleTitle: "get_ProviderInvariantName"
second_title: "Aspose.Tasks for C++"
description: "Gets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class."
type: docs
weight: 20
url: /cpp/aspose.tasks.connectivity/dbsettings/get_providerinvariantname/
---

## get_ProviderInvariantName {#get_providerinvariantname}

Gets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class.

**Returns:** System::String Aspose::Tasks::Connectivity::

```cpp
get_ProviderInvariantName()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Aspose::Tasks::Connectivity::DbSettings::set_ConnectionString method"
linktitle: "set_ConnectionString"
articleTitle: "set_ConnectionString"
second_title: "Aspose.Tasks for C++"
description: "Sets the connection string."
type: docs
weight: 30
url: /cpp/aspose.tasks.connectivity/dbsettings/set_connectionstring/
---

## set_ConnectionString {#set_connectionstring}

Sets the connection string.

**Returns:** void Aspose::Tasks::Connectivity::

```cpp
set_ConnectionString(const System::String & value)
```

| Parameter | Description |
| --- | --- |
| value | |

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Aspose::Tasks::Connectivity::DbSettings::set_ProviderInvariantName method"
linktitle: "set_ProviderInvariantName"
articleTitle: "set_ProviderInvariantName"
second_title: "Aspose.Tasks for C++"
description: "Sets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class."
type: docs
weight: 40
url: /cpp/aspose.tasks.connectivity/dbsettings/set_providerinvariantname/
---

## set_ProviderInvariantName {#set_providerinvariantname}

Sets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class.

**Returns:** void Aspose::Tasks::Connectivity::

```cpp
set_ProviderInvariantName(const System::String & value)
```

| Parameter | Description |
| --- | --- |
| value | |

29 changes: 29 additions & 0 deletions english/cpp/aspose.tasks.connectivity/mpdsettings/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "Aspose::Tasks::Connectivity::MpdSettings class"
linktitle: "MpdSettings"
articleTitle: "MpdSettings"
second_title: "Aspose.Tasks for C++"
description: "Allows to set necessary options to read project data from MPD format (MS Access database file format)."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/mpdsettings/
---

## MpdSettings class

**Inherits:** Aspose::Tasks::Connectivity::DbSettings

Allows to set necessary options to read project data from MPD format (MS Access database file format).

## Constructors

| Name | Description |
| --- | --- |
| [MpdSettings](./mpdsettings/) | Initializes a new instance of the MpdSettings class. |

## Methods

| Name | Description |
| --- | --- |
| [get_ProjectId](./get_projectid/) | Gets id of the project to read. |

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Tasks::Connectivity::MpdSettings::get_ProjectId method"
linktitle: "get_ProjectId"
articleTitle: "get_ProjectId"
second_title: "Aspose.Tasks for C++"
description: "Gets id of the project to read."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/mpdsettings/get_projectid/
---

## get_ProjectId {#get_projectid}

Gets id of the project to read.

**Returns:** int32_t Aspose::Tasks::Connectivity::

```cpp
get_ProjectId()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: "Aspose::Tasks::Connectivity::MpdSettings::MpdSettings constructor"
linktitle: "MpdSettings"
articleTitle: "MpdSettings"
second_title: "Aspose.Tasks for C++"
description: "Initializes a new instance of the MpdSettings class."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/mpdsettings/mpdsettings/
---

## MpdSettings {#mpdsettings}

Initializes a new instance of the MpdSettings class.

**Returns:** Aspose::Tasks::Connectivity::

```cpp
MpdSettings(const System::String & connectionString, int32_t projectId)
```

| Parameter | Description |
| --- | --- |
| connectionString | the specified connection string. |
| projectId | the specified id of a project to read. |

31 changes: 31 additions & 0 deletions english/cpp/aspose.tasks.connectivity/mspdbsettings/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "Aspose::Tasks::Connectivity::MspDbSettings class"
linktitle: "MspDbSettings"
articleTitle: "MspDbSettings"
second_title: "Aspose.Tasks for C++"
description: "Allows to set necessary options to read project data from MS Project Server database."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/mspdbsettings/
---

## MspDbSettings class

**Inherits:** Aspose::Tasks::Connectivity::DbSettings

Allows to set necessary options to read project data from MS Project Server database.

## Constructors

| Name | Description |
| --- | --- |
| [MspDbSettings](./mspdbsettings/) | Initializes a new instance of the MspDbSettings class. |

## Methods

| Name | Description |
| --- | --- |
| [get_ProjectGuid](./get_projectguid/) | Gets the guid of the project to read. |
| [get_Schema](./get_schema/) | Gets the schema of the MS Project Server. The default value is "pub". |
| [set_Schema](./set_schema/) | Sets the schema of the MS Project Server. The default value is "pub". |

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Tasks::Connectivity::MspDbSettings::get_ProjectGuid method"
linktitle: "get_ProjectGuid"
articleTitle: "get_ProjectGuid"
second_title: "Aspose.Tasks for C++"
description: "Gets the guid of the project to read."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/mspdbsettings/get_projectguid/
---

## get_ProjectGuid {#get_projectguid}

Gets the guid of the project to read.

**Returns:** System::Guid Aspose::Tasks::Connectivity::

```cpp
get_ProjectGuid()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Aspose::Tasks::Connectivity::MspDbSettings::get_Schema method"
linktitle: "get_Schema"
articleTitle: "get_Schema"
second_title: "Aspose.Tasks for C++"
description: "Gets the schema of the MS Project Server."
type: docs
weight: 20
url: /cpp/aspose.tasks.connectivity/mspdbsettings/get_schema/
---

## get_Schema {#get_schema}

Gets the schema of the MS Project Server. The default value is "pub".

**Returns:** System::String Aspose::Tasks::Connectivity::

```cpp
get_Schema()
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: "Aspose::Tasks::Connectivity::MspDbSettings::MspDbSettings constructor"
linktitle: "MspDbSettings"
articleTitle: "MspDbSettings"
second_title: "Aspose.Tasks for C++"
description: "Initializes a new instance of the MspDbSettings class."
type: docs
weight: 10
url: /cpp/aspose.tasks.connectivity/mspdbsettings/mspdbsettings/
---

## MspDbSettings {#mspdbsettings}

Initializes a new instance of the MspDbSettings class.

**Returns:** Aspose::Tasks::Connectivity::

```cpp
MspDbSettings(const System::String & connectionString, System::Guid projectGuid)
```

| Parameter | Description |
| --- | --- |
| connectionString | the specified connection string. |
| projectGuid | the specified guid of a project to read. |

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Aspose::Tasks::Connectivity::MspDbSettings::set_Schema method"
linktitle: "set_Schema"
articleTitle: "set_Schema"
second_title: "Aspose.Tasks for C++"
description: "Sets the schema of the MS Project Server."
type: docs
weight: 30
url: /cpp/aspose.tasks.connectivity/mspdbsettings/set_schema/
---

## set_Schema {#set_schema}

Sets the schema of the MS Project Server. The default value is "pub".

**Returns:** void Aspose::Tasks::Connectivity::

```cpp
set_Schema(const System::String & value)
```

| Parameter | Description |
| --- | --- |
| value | |

Loading
Loading