12#include "IException.h"
57 QString message =
"Name [" + name +
"] is wider than width";
70 QString message =
"Width is insufficient to contain name[";
85 QString message =
"Integer or string type is not sensible if ";
86 message +=
"alignment is Decimal.";
104 QString message =
"Decimal alignment does not make sense for ";
105 message +=
"integer or string values.";
122 QString message =
"Setting precision only makes sense for Decimal Alignment";
QString Name() const
Get the Column's name.
Align
Alignment of data in the Column.
@ Decimal
decimal alignment
unsigned int p_width
Width of the Column.
void SetName(QString name)
Sets the Column name, or header.
Column::Type DataType() const
Returns the type of data this column will contain.
unsigned int Precision() const
Get the Column's precision.
Column::Align p_align
Alignment of the data in the Column.
unsigned int p_precision
Precision of the data in the Column.
QString p_name
Name of the Column.
Column::Align Alignment() const
Get the Column's alignment.
unsigned int Width() const
Get the Column's width.
void SetWidth(unsigned int width)
Sets the width of the Column, in text columns.
void SetPrecision(unsigned int precision)
Sets the precision of the Column, for real number values.
void SetType(Column::Type type)
Sets the data type of the Column.
Type
Type of data in the Column.
Column::Type p_type
Type of the data in the Column.
void SetAlignment(Column::Align alignment)
Sets the alignment of the Column.
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
@ Programmer
This error is for when a programmer made an API call that was illegal.
This is free and unencumbered software released into the public domain.