8 #include <system/string.h>
9 #include <system/collections/icomparer.h>
11 #include "aspose.tasks.cpp/NullableBool.h"
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
18 namespace Connectivity
20 class MpdOutlineCodeDefinitionMapper;
22 class ExtendedAttributeDefinition;
27 class CustomFieldTypeReader;
28 class MPP12OutlineCodeDefinitionReader;
30 class MPP14OutlineCodeDefinitionReader;
32 class MPP9OutlineCodeDefinitionReader;
33 class MPP9OutlineCodeDefinitionWriter;
34 class MPPOutlineCodeDefinitionWriter;
36 namespace PrimaveraXml
38 class PrimaveraActivityCodeValueNodeReader;
46 class ExtendedAttributeDefinitionMapper;
47 class ExtendedAttributeDefinitionToRawValuesMapper;
53 class PrimaveraExtendedAttributeLookupBuilder;
57 class ExtendedAttributeNodeReader;
58 class OutlineCodeDefinitionReader;
59 class OutlineCodeDefinitionXml;
65 class OutlineCodesSynchronizer;
66 class OutlineMaskCollection;
67 class OutlineValueCollection;
69 namespace Visualization
71 template <
typename>
class FieldToColumnText;
86 typedef System::Object BaseType;
88 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
89 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
91 friend class Aspose::Tasks::IO::PrimaveraXml::PrimaveraActivityCodeValueNodeReader;
92 friend class Aspose::Tasks::IO::Xer::PrimaveraExtendedAttributeLookupBuilder;
93 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionToRawValuesMapper;
94 friend class Aspose::Tasks::Connectivity::MpdOutlineCodeDefinitionMapper;
95 friend class Aspose::Tasks::IO::MSProject::CustomFieldTypeReader;
96 friend class Aspose::Tasks::IO::MSProject::MPP12Reader;
97 friend class Aspose::Tasks::IO::MSProject::MPP14OutlineCodeDefinitionReader;
98 friend class Aspose::Tasks::IO::MSProject::MPP14Reader;
99 friend class Aspose::Tasks::IO::MSProject::MPPOutlineCodeDefinitionWriter;
100 friend class Aspose::Tasks::IO::MSProject::MPP9OutlineCodeDefinitionWriter;
101 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionMapper;
102 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeNodeReader;
103 friend class Aspose::Tasks::IO::Xml::OutlineCodeDefinitionReader;
104 friend class Aspose::Tasks::IO::Xml::OutlineCodeDefinitionXml;
105 friend class Aspose::Tasks::IO::Xml::XmlReader;
106 friend class Aspose::Tasks::IO::Xml::XmlWriter;
108 friend class Aspose::Tasks::OutlineCodesSynchronizer;
109 template<
typename FT0>
friend class Aspose::Tasks::Visualization::FieldToColumnText;
110 friend class Aspose::Tasks::IO::MSProject::MPP9OutlineCodeDefinitionReader;
111 friend class Aspose::Tasks::IO::MSProject::MPP12OutlineCodeDefinitionReader;
115 class ASPOSE_TASKS_SHARED_CLASS OutlineCodeDefComparer :
public System::Collections::Generic::IComparer<System::SharedPtr<Aspose::Tasks::OutlineCodeDefinition>>
117 typedef OutlineCodeDefComparer
ThisType;
118 typedef System::Collections::Generic::IComparer<System::SharedPtr<Aspose::Tasks::OutlineCodeDefinition>> BaseType;
120 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
121 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
125 ASPOSE_TASKS_SHARED_API int32_t Compare(
const System::SharedPtr<OutlineCodeDefinition>& x,
const System::SharedPtr<OutlineCodeDefinition>& y)
const override;
135 ASPOSE_TASKS_SHARED_API System::String
get_Guid()
const;
139 ASPOSE_TASKS_SHARED_API
void set_Guid(
const System::String& value);
147 ASPOSE_TASKS_SHARED_API
void set_FieldId(
const System::String& value);
159 ASPOSE_TASKS_SHARED_API System::String
get_Alias()
const;
163 ASPOSE_TASKS_SHARED_API
void set_Alias(
const System::String& value);
176 ASPOSE_TASKS_SHARED_API System::SharedPtr<OutlineValueCollection>
get_Values()
const;
234 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<OutlineMaskCollection>&
get_Masks()
const;
259 ASPOSE_TASKS_SHARED_API
void set_Values(
const System::SharedPtr<OutlineValueCollection>& value);
265 ASPOSE_TASKS_SHARED_API
void set_Masks(
const System::SharedPtr<OutlineMaskCollection>& value);
266 ASPOSE_TASKS_SHARED_API
NullableBool get_NullableShowIndent()
const;
267 ASPOSE_TASKS_SHARED_API
void set_NullableShowIndent(
NullableBool value);
269 static ASPOSE_TASKS_SHARED_API
void CopyFromOutlineCode(
const System::SharedPtr<Project>& project,
const System::SharedPtr<ExtendedAttributeDefinition>& attr);
270 ASPOSE_TASKS_SHARED_API System::String GetOutlineValuesDisplayText(int32_t valueId);
271 static ASPOSE_TASKS_SHARED_API
void FixCostValues(
const System::SharedPtr<Project>& project,
const System::SharedPtr<ExtendedAttributeDefinition>& attr);
272 #ifdef ASPOSE_GET_SHARED_MEMBERS
273 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
279 System::SharedPtr<OutlineValueCollection> values;
281 System::String pr_Guid;
282 System::String pr_FieldId;
283 System::String pr_FieldName;
284 System::String pr_Alias;
285 System::String pr_PhoneticAlias;
287 int32_t pr_EnterpriseOutlineCodeAlias;
288 bool pr_ResourceSubstitutionEnabled;
290 bool pr_AllLevelsRequired;
291 bool pr_OnlyTableValuesAllowed;
292 System::SharedPtr<OutlineMaskCollection> pr_Masks;
294 static System::SharedPtr<OutlineCodeDefinition> GetOutlineCode(
const System::SharedPtr<Project>& project,
const System::SharedPtr<ExtendedAttributeDefinition>& attr);
A class for boolean values with possibility to check whether the value was defined or not.
Definition: NullableBool.h:22
Represents an outline code definition.
Definition: OutlineCodeDefinition.h:84
bool get_ResourceSubstitutionEnabled() const
Gets a value indicating whether the custom outline code can be used by the Resource Substitution Wiza...
void set_FieldId(const System::String &value)
Sets the field number of an outline code.
System::SharedPtr< OutlineValueCollection > get_Values() const
Gets OutlineValueCollection object. The values of the table associated with this outline code.
System::String get_Alias() const
Gets the alias of a custom outline code.
void set_Guid(const System::String &value)
Sets the Guid of an outline code.
bool get_Enterprise() const
Gets a value indicating whether a custom outline code is an enterprise custom outline code.
int32_t get_EnterpriseOutlineCodeAlias() const
Gets a reference to another custom field for which this outline code definition is an alias.
void set_PhoneticAlias(const System::String &value)
Sets the phonetic pronunciation of the alias of the custom outline code.
void set_LeafOnly(bool value)
Sets a value indicating whether the values specified in this outline code field must be leaf values.
System::String get_FieldName() const
Gets the name of a custom outline code.
void set_AllLevelsRequired(bool value)
Sets a value indicating whether the new codes must have all levels. Not available for Enterprise Code...
bool get_OnlyTableValuesAllowed() const
Gets a value indicating whether the values specified must come from values table.
void set_EnterpriseOutlineCodeAlias(int32_t value)
Sets a reference to another custom field for which this outline code definition is an alias.
bool get_AllLevelsRequired() const
Gets a value indicating whether the new codes must have all levels. Not available for Enterprise Code...
void set_ResourceSubstitutionEnabled(bool value)
Sets a value indicating whether the custom outline code can be used by the Resource Substitution Wiza...
const System::SharedPtr< OutlineMaskCollection > & get_Masks() const
Gets the OutlineMaskCollection object. The table of entries that define the outline code mask....
System::String get_PhoneticAlias() const
Gets the phonetic pronunciation of the alias of the custom outline code.
bool get_LeafOnly() const
Gets a value indicating whether the values specified in this outline code field must be leaf values.
void set_ShowIndent(bool value)
Sets a value indicating whether the indents of this outline code must be shown.
OutlineCodeDefinition()
Initializes a new instance of the OutlineCodeDefinition class.
void set_Enterprise(bool value)
Sets a value indicating whether a custom outline code is an enterprise custom outline code.
bool get_ShowIndent()
Gets a value indicating whether the indents of this outline code must be shown.
void set_Alias(const System::String &value)
Sets the alias of a custom outline code.
void set_FieldName(const System::String &value)
Sets the name of a custom outline code.
System::String get_FieldId() const
Gets the field number of an outline code.
System::String get_Guid() const
Gets the Guid of an outline code.
void set_OnlyTableValuesAllowed(bool value)
Sets a value indicating whether the values specified must come from values table.
Represents a value of an outline code.
Definition: OutlineCode.h:35