8 #include <system/collections/icollection.h>
9 #include <system/array.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
29 class TemplateProjectLoader;
33 namespace Visualization
45 template <
typename>
class IEnumerator;
46 template <
typename>
class List;
47 template <
typename,
typename>
class SortedList;
60 class ASPOSE_TASKS_SHARED_CLASS
TableCollection :
public System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Tasks::Table>>
63 typedef System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Tasks::Table>> BaseType;
65 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
66 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
69 friend class Aspose::Tasks::Saving::TemplateProjectLoader;
71 friend class Aspose::Tasks::IO::MSProject::MppViewWriter;
79 ASPOSE_TASKS_SHARED_API int32_t get_Count()
const override;
83 ASPOSE_TASKS_SHARED_API
bool get_IsReadOnly()
const override;
89 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<Table>>> GetEnumerator()
override;
94 ASPOSE_TASKS_SHARED_API
void Add(
const System::SharedPtr<Table>& item)
override;
98 ASPOSE_TASKS_SHARED_API
void Clear()
override;
104 ASPOSE_TASKS_SHARED_API
bool Contains(
const System::SharedPtr<Table>& item)
const override;
110 ASPOSE_TASKS_SHARED_API
void CopyTo(System::ArrayPtr<System::SharedPtr<Table>> array, int32_t arrayIndex)
override;
116 ASPOSE_TASKS_SHARED_API
bool Remove(
const System::SharedPtr<Table>& item)
override;
121 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Table>>> ToList();
130 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(TableCollection, CODEPORTING_ARGS());
137 ASPOSE_TASKS_SHARED_API System::SharedPtr<Table> GetByNameAndType(
const System::String& name, ItemType itemType);
138 ASPOSE_TASKS_SHARED_API System::SharedPtr<Table> GetByType(ItemType itemType);
139 ASPOSE_TASKS_SHARED_API int32_t GetLastUid();
141 virtual ASPOSE_TASKS_SHARED_API ~TableCollection();
143 #ifdef ASPOSE_GET_SHARED_MEMBERS
144 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
150 System::SharedPtr<System::Collections::Generic::SortedList<int32_t, System::SharedPtr<Table>>> tables;
Contains a list of Table objects. Implements ICollection<Table> interface.
Definition: TableCollection.h:60
Represents a project.
Definition: Project.h:551
Project's view class
Definition: ProjectView.h:57
Represents a view in Project.
Definition: View.h:99