-// Copyright (C) 2014-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2024 CEA, EDF, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
public:
static PVViewer_OutputWindow* New();
- vtkTypeMacro(PVViewer_OutputWindow, vtkOutputWindow);
+ vtkTypeMacro(PVViewer_OutputWindow, vtkOutputWindow)
//! Returns the number of text messages received
- const unsigned int getTextCount();
+ unsigned int getTextCount() const;
//! Returns the number of error messages received
- const unsigned int getErrorCount();
+ unsigned int getErrorCount() const;
//! Returns the number of warning messages received
- const unsigned int getWarningCount();
+ unsigned int getWarningCount() const;
//! Returns the number of generic warning messages received
- const unsigned int getGenericWarningCount();
+ unsigned int getGenericWarningCount() const;
//! Returns the number of debug messages received
- const unsigned int getDebugCount();
+ unsigned int getDebugCount() const;
private:
PVViewer_OutputWindow();
QMap<MessageTypes, int> myCounter;
void DisplayText(const char*);
- int count(const MessageTypes&);
+ int count(const MessageTypes&) const;
};
#endif // PVVIEWER_OUTPUTWINDOW_H