21 #ifndef __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_MC_PLAYLIST_H__
22 #define __ANTARES_TOOLBOX_COMPONENT_DATAGRID_RENDERER_MC_PLAYLIST_H__
24 #include "../renderer.h"
25 #include "../../../../application/study.h"
29 namespace Antares::Component::Datagrid::Renderer
35 using Vector = std::vector<LogEntry*>;
51 bool isWarningError()
const
56 void assignVerbosity(
const AnyString& pS);
66 Yuni::CString<32, false>
date;
81 using Ptr = std::shared_ptr<LogEntryContainer>;
120 virtual int height()
const;
124 virtual wxString
rowCaption(
int rowIndx)
const;
126 virtual wxString
cellValue(
int x,
int y)
const;
130 virtual bool cellValue(
int x,
int y,
const Yuni::String& value);
132 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
137 virtual bool valid()
const
147 virtual IRenderer::CellStyle cellStyle(
int col,
int row)
const;
149 virtual wxColour cellBackgroundColor(
int,
int)
const;
150 virtual wxColour cellTextColor(
int,
int)
const;
154 void control(wxWindow* control)
Data provider for Datagrids.
Definition: renderer.h:50
YString filename
Full filename.
Definition: logfile.h:94
uint lines
The total number of lines.
Definition: logfile.h:98
uint longestLine
The longest line.
Definition: logfile.h:104
uint64_t size
Size.
Definition: logfile.h:100
std::shared_ptr< LogEntryContainer > Ptr
The most suitable smart pointer for the class.
Definition: logfile.h:81
YString barefilename
The bare filename.
Definition: logfile.h:96
LogEntry::Vector entries
All entries.
Definition: logfile.h:102
uint maxCharForALine
The maximum number of char found for a single line.
Definition: logfile.h:106
Yuni::CString< 32, false > application
Application.
Definition: logfile.h:68
wxString message
The message itself.
Definition: logfile.h:72
Yuni::CString< 32, false > date
Date.
Definition: logfile.h:66
bool highlight
Highlight.
Definition: logfile.h:74
Yuni::CString< 16, false > verbosity
Verbosity.
Definition: logfile.h:70
VerbosityType
Verbosity type.
Definition: logfile.h:39
uint line
Line in the file.
Definition: logfile.h:62
std::vector< LogEntry * > Vector
Vector of log entries.
Definition: logfile.h:35
VerbosityType verbosityType
Type of the verbosity.
Definition: logfile.h:60
Definition: logfile.h:110
virtual int cellAlignment(int x, int y) const
Get the alignment of a cell (-1: left, 0: center, +1: right)
Definition: logfile.cpp:241
virtual wxString rowCaption(int rowIndx) const
Get the caption of a row.
Definition: logfile.cpp:124
virtual wxString cellValue(int x, int y) const
Get the string representation of a Cell.
Definition: logfile.cpp:147
virtual wxString columnCaption(int colIndx) const
Get the caption of a column.
Definition: logfile.cpp:109
virtual void hintForColumnWidth(int x, wxString &out) const
String to use.
Definition: logfile.cpp:257
virtual int width() const
The effective width of the grid.
Definition: logfile.h:115
virtual int columnWidthCustom(int x) const
Get how the a column must resize (0: auto, >0: specific width, <0: use custom string)
Definition: logfile.cpp:246
virtual double cellNumericValue(int x, int y) const
Get the floating value of a Cell.
Definition: logfile.cpp:142
LogEntryContainer::Ptr logs
Logs.
Definition: logfile.h:167
virtual wxColour verticalBorderColor(int x, int y) const
Get the color of the vertical right border.
Definition: logfile.cpp:223
virtual int height() const
The effective height of the grid.
Definition: logfile.cpp:104
virtual uint maxWidthResize() const
The most suitable column count.
Definition: logfile.h:142