---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/diagnosticentry
---

# DiagnosticEntry

## Overview

`DiagnosticEntry` is a class in Aspose.Cells FOSS for C++.

Represents diagnostic entry.

This class declares 11 methods for DiagnosticEntry objects in C++ programs.
Available methods include: `DiagnosticSeverity`, `GetCode`, `GetDataLossRisk`, `GetMessage`, `GetRepairApplied`, `GetSeverity`, `SetCode`, `SetDataLossRisk`, `SetMessage`, `SetRepairApplied`, `SetSeverity`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Accessor methods: `DiagnosticSeverity`.

## Accessor Methods

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `DiagnosticSeverity` | `DiagnosticSeverity` | Read | Gets the diagnostic severity. |

## Methods

| Signature | Description |
|-----------|-------------|
| `DiagnosticSeverity()` → `DiagnosticSeverity` | Gets or sets the severity. |
| `GetCode()` → `std::string` | Gets or sets the code. |
| `SetCode(value: std::string)` | Sets the code value. |
| `GetSeverity()` → `DiagnosticSeverity` | Gets or sets the severity. |
| `SetSeverity(value: DiagnosticSeverity)` | Sets the severity value. |
| `GetMessage()` → `std::string` | Gets or sets the message. |
| `SetMessage(value: std::string)` | Sets the message value. |
| `GetRepairApplied()` → `bool` | Gets or sets a value indicating whether repair applied. |
| `SetRepairApplied(value: bool)` | Sets the repair applied value. |
| `GetDataLossRisk()` → `bool` | Gets or sets a value indicating whether data loss risk. |
| `SetDataLossRisk(value: bool)` | Sets the data loss risk value. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)