Aspose.Tasks for C++
PrimaveraXmlSaveOptions.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="PrimaveraXmlSaveOptions.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include "aspose.tasks.cpp/Saving/SimpleSaveOptions.h"
9 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
10 
11 namespace Aspose
12 {
13 namespace Tasks
14 {
15 class IWriter;
16 } // namespace Tasks
17 } // namespace Aspose
18 
19 namespace Aspose {
20 
21 namespace Tasks {
22 
23 namespace Saving {
24 
25 /// <summary>
26 /// Allows to specify additional options when saving project to Primavera xml format.
27 /// </summary>
28 class ASPOSE_TASKS_SHARED_CLASS PrimaveraXmlSaveOptions : public Aspose::Tasks::Saving::SimpleSaveOptions
29 {
32 
33  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
34  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
35 
36 public:
37 
38  /// <summary>
39  /// Gets a value indicating whether to save a root task or not.
40  /// </summary>
41  ASPOSE_TASKS_SHARED_API bool get_SaveRootTask() const;
42  /// <summary>
43  /// Sets a value indicating whether to save a root task or not.
44  /// </summary>
45  ASPOSE_TASKS_SHARED_API void set_SaveRootTask(bool value);
46 
47  /// <summary>
48  /// Initializes a new instance of the <see cref="PrimaveraXmlSaveOptions"></see> class.
49  /// </summary>
50  ASPOSE_TASKS_SHARED_API PrimaveraXmlSaveOptions();
51 
52 protected:
53 
54  ASPOSE_TASKS_SHARED_API System::SharedPtr<IWriter> GetWriter() override;
55 
56  virtual ASPOSE_TASKS_SHARED_API ~PrimaveraXmlSaveOptions();
57 
58 private:
59 
60  bool pr_SaveRootTask;
61 
62 };
63 
64 } // namespace Saving
65 } // namespace Tasks
66 } // namespace Aspose
67 
68 
Allows to specify additional options when saving project to Primavera xml format.
Definition: PrimaveraXmlSaveOptions.h:29
bool get_SaveRootTask() const
Gets a value indicating whether to save a root task or not.
PrimaveraXmlSaveOptions()
Initializes a new instance of the PrimaveraXmlSaveOptions class.
void set_SaveRootTask(bool value)
Sets a value indicating whether to save a root task or not.
This is an abstract base class that allow the user to specify basic options when saving a project int...
Definition: SimpleSaveOptions.h:52
Definition: Asn.h:13