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"
41 using Vector = std::vector<LogEntry*>;
56 bool isWarningError()
const
61 void assignVerbosity(
const AnyString& pS);
71 Yuni::CString<32, false>
date;
86 using Ptr = std::shared_ptr<LogEntryContainer>;
121 virtual int height()
const;
125 virtual wxString
rowCaption(
int rowIndx)
const;
127 virtual wxString
cellValue(
int x,
int y)
const;
131 virtual bool cellValue(
int x,
int y,
const Yuni::String& value);
133 virtual void resetColors(
int,
int, wxColour&, wxColour&)
const
138 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:53
YString filename
Full filename.
Definition logfile.h:96
uint lines
The total number of lines.
Definition logfile.h:100
uint longestLine
The longest line.
Definition logfile.h:106
uint64_t size
Size.
Definition logfile.h:102
std::shared_ptr< LogEntryContainer > Ptr
The most suitable smart pointer for the class.
Definition logfile.h:86
YString barefilename
The bare filename.
Definition logfile.h:98
LogEntry::Vector entries
All entries.
Definition logfile.h:104
uint maxCharForALine
The maximum number of char found for a single line.
Definition logfile.h:108
Yuni::CString< 32, false > application
Application.
Definition logfile.h:73
wxString message
The message itself.
Definition logfile.h:77
Yuni::CString< 32, false > date
Date.
Definition logfile.h:71
bool highlight
Highlight.
Definition logfile.h:79
Yuni::CString< 16, false > verbosity
Verbosity.
Definition logfile.h:75
VerbosityType
Verbosity type.
Definition logfile.h:44
uint line
Line in the file.
Definition logfile.h:67
std::vector< LogEntry * > Vector
Vector of log entries.
Definition logfile.h:41
VerbosityType verbosityType
Type of the verbosity.
Definition logfile.h:65
virtual int cellAlignment(int x, int y) const
Get the alignment of a cell (-1: left, 0: center, +1: right)
Definition logfile.cpp:228
virtual wxString rowCaption(int rowIndx) const
Get the caption of a row.
Definition logfile.cpp:125
virtual wxString cellValue(int x, int y) const
Get the string representation of a Cell.
Definition logfile.cpp:146
virtual wxString columnCaption(int colIndx) const
Get the caption of a column.
Definition logfile.cpp:110
virtual void hintForColumnWidth(int x, wxString &out) const
String to use.
Definition logfile.cpp:244
virtual int width() const
The effective width of the grid.
Definition logfile.h:117
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:233
virtual double cellNumericValue(int x, int y) const
Get the floating value of a Cell.
Definition logfile.cpp:141
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:216
virtual int height() const
The effective height of the grid.
Definition logfile.cpp:105
virtual uint maxWidthResize() const
The most suitable column count.
Definition logfile.h:143