8 #include <system/string.h>
9 #include <system/decimal.h>
10 #include <system/date_time.h>
13 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
14 #include "aspose.tasks.cpp/Duration.h"
20 namespace Connectivity
22 template <
typename>
class MpdField;
23 class MspExtendedAttribute;
24 class MspTaskExtendedAttributeReader;
26 enum class CustomFieldType;
27 class ExtendedAttributeCollection;
28 class ExtendedAttributeDefinition;
31 class ExtendedAttributeIdFilter;
33 class FormulaCalculator;
34 class FormulaOperatorToken;
35 class FormulaRelationalOperator;
36 class IExtendedAttributeParent;
41 class HtmlReadingUtils;
49 class CustomFieldTypeReader;
50 class ExtendedAttributeValueConverter;
51 class MPP12AssignmentExtendedAttributeReader;
52 class MPP12AssignmentExtendedAttributeWriter;
53 class MPP12ExtendedAttributeWriter;
54 class MPP12ResourceWriter;
55 class MPP12TaskWriter;
56 class MPP14ResourceWriter;
57 class MPP14TaskWriter;
58 class MPP9AssignmentExtendedAttributeWriter;
59 class MPP9ResourceWriter;
60 class MPPAssignmentExtendedAttributeReader;
61 class MPPAssignmentExtendedAttributeWriter;
62 class MPPExtendedAttributeReader;
72 class CustomFieldContainerWriter;
75 class ExtendedAttributeDefinitionToRawValuesMapper;
76 template <
typename>
class ExtendedAttributeParentEntityToRawValuesMapper;
77 template <
typename>
class ProjectCoreEntityMapperBase;
83 class PrimaveraExtendedAttributeBuilder;
87 class ExtendedAttributeFactory;
88 class ExtendedAttributeNodeReader;
89 class ExtendedAttributeNodeWriter;
90 class ResourceAssignmentNodeReader;
91 class ResourceAssignmentNodeWriter;
94 class ProjectIntegrityValidator;
97 class AverageFirstSublevelRollupCalculator;
98 class AverageRollupCalculator;
99 class ChildrenCountFirstSublevelRollupCalculator;
100 class ChildrenCountNonSummariesRollupCalculator;
101 class ChildrenCountRollupCalculator;
102 class DurationExtendedAttributeComparer;
103 class MinMaxRollupCalculator;
104 template <
typename>
class RollupCalculatorBase;
105 class SumRollupCalculator;
110 class MpxSavingUtils;
114 class ExtendedAttributeChecker;
117 class FieldHelperInternal;
120 namespace Visualization
122 template <
typename>
class FieldToColumnText;
141 typedef System::Object BaseType;
143 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
144 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
147 template<
typename FT0>
friend class Aspose::Tasks::Rollup::RollupCalculatorBase;
148 template<
typename FT0>
friend class Aspose::Tasks::Visualization::FieldToColumnText;
149 friend class Aspose::Tasks::Rollup::MinMaxRollupCalculator;
150 friend class Aspose::Tasks::Saving::HtmlUtils;
151 friend class Aspose::Tasks::Rollup::DurationExtendedAttributeComparer;
152 friend class Aspose::Tasks::IO::MSProject::MPP12TaskWriter;
153 friend class Aspose::Tasks::IO::MSProject::MPPAssignmentExtendedAttributeReader;
154 friend class Aspose::Tasks::IO::Html::HtmlReadingUtils;
155 friend class Aspose::Tasks::IO::MSProject::MPP12ResourceWriter;
156 template<
typename FT0>
friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ProjectCoreEntityMapperBase;
157 friend class Aspose::Tasks::IO::Xer::PrimaveraExtendedAttributeBuilder;
158 friend class FormulaRelationalOperator;
159 template<
typename FT0>
friend class Aspose::Tasks::Connectivity::MpdField;
160 friend class Aspose::Tasks::IO::MSProject::CustomFieldTypeReader;
161 friend class Aspose::Tasks::IO::MSProject::MPP12AssignmentExtendedAttributeWriter;
162 friend class ProjectIntegrityValidator;
163 friend class Aspose::Tasks::Saving::MpxSavingUtils;
164 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeFactory;
165 friend class Aspose::Tasks::IO::MSProject::MPP9AssignmentExtendedAttributeWriter;
167 friend class Aspose::Tasks::Util::ExtendedAttributeChecker;
168 friend class Aspose::Tasks::IO::MSProject::MPPExtendedAttributeReader;
169 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeNodeReader;
170 friend class Aspose::Tasks::IO::Mpx::MpxUtils;
171 friend class Aspose::Tasks::Rollup::ChildrenCountRollupCalculator;
172 friend class FormulaOperatorToken;
173 friend class Aspose::Tasks::Rollup::ChildrenCountFirstSublevelRollupCalculator;
174 friend class Aspose::Tasks::IO::Xml::ExtendedAttributeNodeWriter;
175 friend class FormulaCalculator;
176 friend class Aspose::Tasks::IO::MSProject::MPP14ResourceWriter;
177 friend class Aspose::Tasks::IO::Xml::ResourceAssignmentNodeReader;
178 friend class Aspose::Tasks::IO::MSProject::Writers::MPP9TaskWriter;
179 friend class Aspose::Tasks::IO::MSProject::MPPAssignmentExtendedAttributeWriter;
180 friend class Aspose::Tasks::Rollup::AverageFirstSublevelRollupCalculator;
181 friend class Aspose::Tasks::IO::Pwa::InternalApi::CustomFieldContainerWriter;
182 friend class Aspose::Tasks::Rollup::SumRollupCalculator;
183 friend class Aspose::Tasks::IO::Xml::ResourceAssignmentNodeWriter;
184 friend class Aspose::Tasks::IO::MSProject::MPP12ExtendedAttributeWriter;
185 template<
typename FT0>
friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeParentEntityToRawValuesMapper;
186 friend class Aspose::Tasks::IO::MSProject::ExtendedAttributeValueConverter;
187 friend class Aspose::Tasks::Connectivity::MspTaskExtendedAttributeReader;
188 friend class Aspose::Tasks::Rollup::ChildrenCountNonSummariesRollupCalculator;
189 friend class Aspose::Tasks::IO::MSProject::MPP14TaskWriter;
191 friend class Aspose::Tasks::IO::MSProject::MPP9ResourceWriter;
192 friend class Aspose::Tasks::IO::Pwa::InternalApi::Mapping::ExtendedAttributeDefinitionToRawValuesMapper;
193 friend class Aspose::Tasks::Util::Fields::FieldHelperInternal;
194 friend class Aspose::Tasks::IO::MSProject::MPP12AssignmentExtendedAttributeReader;
195 friend class Aspose::Tasks::Rollup::AverageRollupCalculator;
196 friend class Aspose::Tasks::Connectivity::MspExtendedAttribute;
198 friend class Aspose::Tasks::Filters::ExtendedAttributeIdFilter;
209 ASPOSE_TASKS_SHARED_API
const System::String&
get_FieldId()
const;
281 ASPOSE_TASKS_SHARED_API System::String
ToString()
const override;
288 ASPOSE_TASKS_SHARED_API
void set_AttributeDefinition(
const System::SharedPtr<ExtendedAttributeDefinition>& value);
292 ASPOSE_TASKS_SHARED_API
void set_FieldId(
const System::String& value);
299 ASPOSE_TASKS_SHARED_API
void set_ValueGuid(
const System::String& value);
300 ASPOSE_TASKS_SHARED_API
static System::SharedPtr<System::Object> get_ErrorValue();
304 ASPOSE_TASKS_SHARED_API System::String get_Value();
308 ASPOSE_TASKS_SHARED_API
void set_Value(
const System::String& value);
309 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<IExtendedAttributeParent>& get_Parent()
const;
310 ASPOSE_TASKS_SHARED_API
void set_Parent(
const System::SharedPtr<IExtendedAttributeParent>& value);
311 ASPOSE_TASKS_SHARED_API int32_t get_ValueId()
const;
312 ASPOSE_TASKS_SHARED_API
void set_ValueId(int32_t value);
313 ASPOSE_TASKS_SHARED_API
bool get_IsEmpty();
314 ASPOSE_TASKS_SHARED_API
bool get_IsNumeric();
321 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
ExtendedAttribute, CODEPORTING_ARGS());
323 ASPOSE_TASKS_SHARED_API
void CopyValueFrom(
const System::SharedPtr<ExtendedAttribute>& sourceAttribute);
325 ASPOSE_TASKS_SHARED_API
void SetFromCalculatedValue(
const System::SharedPtr<System::Object>& calculatedValue);
326 ASPOSE_TASKS_SHARED_API
static bool IsValueError(
const System::SharedPtr<System::Object>& val);
327 #ifdef ASPOSE_GET_SHARED_MEMBERS
328 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
334 static const System::String& ErrorValueDisplayText();
335 static System::SharedPtr<System::Object>& errorValue();
336 mutable System::String value;
338 System::Decimal numericValue;
339 System::DateTime dateValue;
341 System::SharedPtr<ExtendedAttributeDefinition> attributeDefinition;
342 System::String pr_FieldId;
343 System::String pr_ValueGuid;
344 System::SharedPtr<IExtendedAttributeParent> pr_Parent;
347 bool get_IsValueCalculated()
const;
348 bool get_HasFormula()
const;
349 bool get_HasRollup()
const;
351 System::String ToString_NonConst();
352 System::SharedPtr<System::Object> GetCalculatedValue()
const;
353 System::String GetCalculatedStringValue(
const System::SharedPtr<System::Object>& calculatedValue)
const;
354 System::Decimal GetCalculatedValueAsDecimal(
const System::SharedPtr<System::Object>& calculatedValue);
355 System::SharedPtr<System::Object> GetFormulaResult()
const;
356 void CheckDefinitionAndAttributeProperty(CustomFieldType expectedFieldType);
357 void CheckDefinitionAndAttributeProperty(CustomFieldType expectedFieldType1, CustomFieldType expectedFieldType2);
358 void CheckDefinitionAndAttributeProperty(CustomFieldType expectedFieldType1, CustomFieldType expectedFieldType2, CustomFieldType expectedFieldType3);
361 System::Decimal ParseNumeric(
const System::SharedPtr<System::Object>& val);
362 System::DateTime ParseDateTime(
const System::SharedPtr<System::Object>& val);
363 Duration ParseDuration(
const System::SharedPtr<System::Object>& val);
364 static System::String ValueAsString(
const System::SharedPtr<System::Object>& calculatedValue);
Represents duration in a project.
Definition: Duration.h:162
Represents a collection of ExtendedAttribute objects.
Definition: ExtendedAttributeCollection.h:80
Represents an extended attribute definition associated with a project.
Definition: ExtendedAttributeDefinition.h:182
Represents extended attributes.
Definition: ExtendedAttribute.h:139
void set_NumericValue(System::Decimal value)
Sets a value for attributes with numeric types (Cost, Number).
const System::String & get_ValueGuid() const
Gets the guid of a lookup value.
System::String get_TextValue()
Gets a value for attributes with 'Text' type.
System::Decimal get_NumericValue()
Gets a value for attributes with numeric types (Cost, Number).
System::DateTime get_DateValue()
Gets a value for attributes with date types (Date, Start, Finish).
Duration get_DurationValue()
Gets value for attributes with 'Duration' type.
const System::String & get_FieldId() const
Gets the id of a field.
void set_FlagValue(bool value)
Sets a value indicating whether a flag is set for an attribute with 'Flag' type.
bool get_FlagValue()
Gets a value indicating whether a flag is set for an attribute with 'Flag' type.
System::String ToString() const override
Returns short string representation of an extended attribute.
bool get_ValueReadOnly() const
Gets a value indicating whether a value of this ExtendedAttribute instance is read-only....
System::SharedPtr< ExtendedAttributeDefinition > get_AttributeDefinition() const
Gets the attribute definition.
bool get_IsErrorValue()
Gets whether calculation of extended attribute's value resulted in an error.
void set_TextValue(const System::String &value)
Sets a value for attributes with 'Text' type.
void set_DurationValue(Duration value)
Sets value for attributes with 'Duration' type.
void set_DateValue(System::DateTime value)
Sets a value for attributes with date types (Date, Start, Finish).
/27/10/2004 by Roman Korchagin
Definition: Asn.h:13