Aspose.Tasks for C++
SaveTemplateOptions.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="SaveTemplateOptions.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
11 
12 namespace Aspose {
13 
14 namespace Tasks {
15 
16 namespace Saving {
17 
18 /// <summary>
19 /// Allows to specify additional options when saving a project as a template.
20 /// </summary>
21 class ASPOSE_TASKS_SHARED_CLASS SaveTemplateOptions : public System::Object
22 {
24  typedef System::Object BaseType;
25 
26  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
27  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
28 
29 public:
30 
31  /// <summary>
32  /// Gets a value indicating whether all actual values from a project template should be removed.
33  /// </summary>
34  ASPOSE_TASKS_SHARED_API bool get_RemoveActualValues() const;
35  /// <summary>
36  /// Sets a value indicating whether all actual values from a project template should be removed.
37  /// </summary>
38  ASPOSE_TASKS_SHARED_API void set_RemoveActualValues(bool value);
39  /// <summary>
40  /// Gets a value indicating whether all baseline values from a project template should be removed.
41  /// </summary>
42  ASPOSE_TASKS_SHARED_API bool get_RemoveBaselineValues() const;
43  /// <summary>
44  /// Sets a value indicating whether all baseline values from a project template should be removed.
45  /// </summary>
46  ASPOSE_TASKS_SHARED_API void set_RemoveBaselineValues(bool value);
47  /// <summary>
48  /// Gets a value indicating whether all fixed costs from a project template should be removed.
49  /// </summary>
50  ASPOSE_TASKS_SHARED_API bool get_RemoveFixedCosts() const;
51  /// <summary>
52  /// Sets a value indicating whether all fixed costs from a project template should be removed.
53  /// </summary>
54  ASPOSE_TASKS_SHARED_API void set_RemoveFixedCosts(bool value);
55  /// <summary>
56  /// Gets a value indicating whether resource rates from a project template should be removed.
57  /// </summary>
58  ASPOSE_TASKS_SHARED_API bool get_RemoveResourceRates() const;
59  /// <summary>
60  /// Sets a value indicating whether resource rates from a project template should be removed.
61  /// </summary>
62  ASPOSE_TASKS_SHARED_API void set_RemoveResourceRates(bool value);
63 
64  ASPOSE_TASKS_SHARED_API SaveTemplateOptions();
65 
66 private:
67 
68  bool pr_RemoveActualValues;
69  bool pr_RemoveBaselineValues;
70  bool pr_RemoveFixedCosts;
71  bool pr_RemoveResourceRates;
72 
73 };
74 
75 } // namespace Saving
76 } // namespace Tasks
77 } // namespace Aspose
78 
79 
Allows to specify additional options when saving a project as a template.
Definition: SaveTemplateOptions.h:21