A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-analysislistmodel.html below:

AnalysisListModel Class | ArcGIS Maps SDK for Qt

Member Function Documentation [override virtual noexcept] AnalysisListModel::~AnalysisListModel()

Destructor.

void AnalysisListModel::append(Esri::ArcGISRuntime::Analysis *analysis)

Appends an analysis to the analysis list model.

[override virtual] Esri::ArcGISRuntime::Analysis *AnalysisListModel::at(int index) const

Returns the analysis at the specified index.

void AnalysisListModel::clear()

Removes all analyses from the list model.

List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.

bool AnalysisListModel::contains(Esri::ArcGISRuntime::Analysis *analysis) const

Returns true if the list model contains the specified analysis.

[override virtual] QVariant AnalysisListModel::data(const QModelIndex &index, int role = Qt::DisplayRole) const

Reimplements: QAbstractItemModel::data(const QModelIndex &index, int role) const.

Returns the data stored under the given role for the analysis referred to by the index.

An empty value is returned if the specified index is out of range.

[signal] void AnalysisListModel::errorOccurred(const Esri::ArcGISRuntime::Error &error)

Signal emitted when an error occurs.

Esri::ArcGISRuntime::Analysis *AnalysisListModel::first() const

Returns the first analysis in the list model.

int AnalysisListModel::indexOf(Esri::ArcGISRuntime::Analysis *analysis) const

Returns the index of the analysis specified.

void AnalysisListModel::insert(int index, Esri::ArcGISRuntime::Analysis *analysis)

Inserts an analysis at a specified index in the list model.

This method will append to the list if the index is greater than the current size of the list model.

bool AnalysisListModel::isEmpty() const

Returns true if the list model contains no analyses.

[signal, since Esri::ArcGISRuntime 100.15] void AnalysisListModel::itemAdded(int index)

Signal emitted when an item is added to the list model.

This function was introduced in Esri::ArcGISRuntime 100.15.

[signal, since Esri::ArcGISRuntime 100.15] void AnalysisListModel::itemRemoved(int index)

Signal emitted when an item is removed from the list model.

This function was introduced in Esri::ArcGISRuntime 100.15.

Esri::ArcGISRuntime::Analysis *AnalysisListModel::last() const

Returns the last analysis in the list model.

void AnalysisListModel::move(int from, int to)

Moves one analysis from an index in the list model to a different index.

void AnalysisListModel::removeAt(int index)

Removes an analysis at the specified index.

No analysis will be removed if the specified index is out of range.

List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.

void AnalysisListModel::removeOne(Esri::ArcGISRuntime::Analysis *analysis)

Removes the specified analysis from the list model.

List models do not take ownership of the objects they contain. Therefore, removing or clearing objects from the list model will not delete those objects. An RAII technique should be used to ensure that memory is properly deallocated.

[override virtual] int AnalysisListModel::size() const

Returns the number of analyses contained in the list model.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4