Aspose.Tasks for C++
RateByDateCollection.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="RateByDateCollection.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2025 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 #include <system/details/pointer_collection_helpers.h>
10 #include <system/date_time.h>
11 #include <system/collections/sorted_dictionary.h>
12 #include <cstdint>
13 
14 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
15 #include "aspose.tasks.cpp/Rate.h"
16 
17 namespace Aspose
18 {
19 namespace Tasks
20 {
21 class RateCollection;
22 } // namespace Tasks
23 } // namespace Aspose
24 
25 namespace Aspose {
26 
27 namespace Tasks {
28 
29 /// <summary>
30 /// Represents a collection which mappings of <see cref="DateTime"></see> to <see cref="Rate"></see> objects.
31 /// </summary>
32 class ASPOSE_TASKS_SHARED_CLASS RateByDateCollection : public System::Collections::Generic::SortedDictionary<System::DateTime, System::SharedPtr<Rate>>
33 {
35  typedef System::Collections::Generic::SortedDictionary<System::DateTime, System::SharedPtr<Rate>> BaseType;
36 
37  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
38  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
39 
40  friend class RateCollection;
41  friend class Rate;
42 
43 public:
44 
45  ASPOSE_TASKS_SHARED_API void SetTemplateWeakPtr(uint32_t argument) override;
46 
47 protected:
48 
49  ASPOSE_TASKS_SHARED_API System::SharedPtr<Rate> GetFirst();
50  ASPOSE_TASKS_SHARED_API void ConvertToMaterial();
51 
52  ASPOSE_TASKS_SHARED_API virtual ~RateByDateCollection();
53 
54 };
55 
56 } // namespace Tasks
57 } // namespace Aspose
58 
59 
Represents a collection which mappings of DateTime to Rate objects.
Definition: RateByDateCollection.h:33
Represents a collection which contains Rate objects.
Definition: RateCollection.h:81
Represents a definition of a time period and rates applicable for a resource during that period.
Definition: Rate.h:64
Aspose.
Definition: Asn.h:13