8 #include <system/iequatable.h>
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
17 enum class ApplicationInfo;
18 enum class FileFormat;
25 class InternalApiProjectReader;
30 class ProjectNodeWriter;
34 class ProjectFormatDetector;
36 class TaskFieldsFormulaParser;
49 class ASPOSE_TASKS_SHARED_CLASS
ProjectFileInfo final :
public System::IEquatable<System::SharedPtr<Aspose::Tasks::ProjectFileInfo>>
52 typedef System::IEquatable<System::SharedPtr<Aspose::Tasks::ProjectFileInfo>> BaseType;
54 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
55 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
57 friend class Aspose::Tasks::TaskFieldsFormulaParser;
59 friend class Aspose::Tasks::IO::Pwa::InternalApi::InternalApiProjectReader;
60 friend class Aspose::Tasks::IO::Xml::ProjectNodeWriter;
61 friend class Aspose::Tasks::ProjectReader;
62 friend class Aspose::Tasks::ProjectFormatDetector;
93 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<ProjectFileInfo> other)
override;
99 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
103 ASPOSE_TASKS_SHARED_API
bool get_IsEmpty();
107 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
ProjectFileInfo, CODEPORTING_ARGS(FileFormat fileFormat));
109 ASPOSE_TASKS_SHARED_API
ProjectFileInfo(FileFormat projectFileFormat, ApplicationInfo projectApplicationInfo);
111 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
ProjectFileInfo, CODEPORTING_ARGS(FileFormat projectFileFormat, ApplicationInfo projectApplicationInfo));
113 ASPOSE_TASKS_SHARED_API
ProjectFileInfo(FileFormat projectFileFormat, ApplicationInfo projectApplicationInfo,
bool isPasswordProtected);
115 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
ProjectFileInfo, CODEPORTING_ARGS(FileFormat projectFileFormat, ApplicationInfo projectApplicationInfo,
bool isPasswordProtected));
116 ASPOSE_TASKS_SHARED_API int32_t ToSaveVersion();
117 #ifdef ASPOSE_GET_SHARED_MEMBERS
118 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
124 FileFormat projectFileFormat;
125 ApplicationInfo projectApplicationInfo;
131 ASPOSE_TASKS_SHARED_API
void set_CanRead(
bool value);
133 bool pr_IsPasswordProtected;
138 ASPOSE_TASKS_SHARED_API
void set_IsPasswordProtected(
bool value);
The class instance contains information about project file format and version of Microsoft Project wh...
Definition: ProjectFileInfo.h:50
bool get_IsPasswordProtected() const
Gets a value indicating whether a project is password protected.
int32_t GetHashCode() const override
Returns a hash code value for the instance of the ProjectFileInfo class.
bool Equals(System::SharedPtr< System::Object > obj) override
Returns a value indicating whether this instance is equal to a specified object.
FileFormat get_ProjectFileFormat() const
Gets project file format.
ApplicationInfo get_ProjectApplicationInfo() const
Gets project file application info.
bool get_CanRead() const
Gets a value indicating whether defines can Aspose.Tasks process the project file.
bool Equals(System::SharedPtr< ProjectFileInfo > other) override
Returns a value indicating whether this instance is equal to a specified object.
Represents a project.
Definition: Project.h:552