DesignForms
TEWN Class Reference

Class EWN (Error, Warning, Note) contains functions for handling run-time errors, warnings and notes More...

Public Member Functions

object TraceEWN (string Code)
 Trace error, warning or note to the log. More...
 
object TraceEWN (string Code, string Param)
 Trace error, warning or note to the log. More...
 
object TraceEWN (string Code, bool PrintDescription, bool PrintSolution)
 Trace error, warning or note to the log. More...
 
object TraceEWN (string Code, bool PrintDescription, bool PrintSolution, string Param)
 Trace error, warning or note to the log. More...
 
object TraceEWN (string Code, double Width)
 Trace error, warning or note to the log. More...
 
object TraceEWN (string Code, double Width, string Param)
 Trace error, warning or note to the log. More...
 
object TraceEWN (string Code, bool PrintType, bool PrintDescription, bool PrintSolution, double Width)
 Trace error, warning or note to the log. More...
 
object TraceEWN (string Code, bool PrintType, bool PrintDescription, bool PrintSolution, double Width, string Param)
 Trace error, warning or note to the log. More...
 
object TraceRectEWN (string Code, double Width)
 Trace error, warning or note to the log. More...
 
object TraceRectEWN (string Code, double Width, string Param)
 Trace error, warning or note to the log. More...
 
object TraceRectEWN (string Code, bool PrintType, bool PrintDescription, bool PrintSolution, double Width)
 Trace error, warning or note to the log. More...
 
object TraceRectEWN (string Code, bool PrintType, bool PrintDescription, bool PrintSolution, double Width, string Param)
 Trace error, warning or note to the log. More...
 
string GetType (string Code)
 Return type of the EWN item More...
 
string GetDescription (string Code)
 Returns description of EWN with given code. More...
 
string GetDescription (string Code, string LangCode)
 Returns description of EWN with given code. More...
 
string GetSolution (string Code)
 Returns solution of EWN with given code. More...
 
string GetSolution (string Code, string LangCode)
 Returns solution of EWN with given code. More...
 
TTable DrawTable ()
 Draw table of errors, warnings and notes More...
 
TTable DrawTable (int Count)
 Draw table of errors, warnings and notes More...
 
TTable DrawTable (int From, int To)
 Draw table of errors, warnings and notes More...
 
TTable DrawTable (bool PrintNum, bool PrintTyp, bool PrintDes, bool PrintSol)
 Draw table of errors, warnings and notes More...
 
TTable DrawTable (int From, int To, bool PrintNum, bool PrintTyp, bool PrintDes, bool PrintSol)
 Draw table of errors, warnings and notes More...
 
TTable GetTable ()
 Return table of errors, warnings and notes More...
 
TTable GetTable (int Count)
 Return table of errors, warnings and notes More...
 
TTable GetTable (int From, int To)
 Return table of errors, warnings and notes More...
 
TTable GetTable (bool PrintNum, bool PrintTyp, bool PrintDes, bool PrintSol)
 Returns table of errors, warnings and notes More...
 
TTable GetTable (int From, int To, bool PrintNum, bool PrintTyp, bool PrintDes, bool PrintSol)
 Return table of errors, warnings and notes More...
 

Detailed Description

Class EWN (Error, Warning, Note) contains functions for handling run-time errors, warnings and notes

Member Function Documentation

TTable DrawTable ( )

Draw table of errors, warnings and notes

Returns
Table of errors, warnings and notes
TTable DrawTable ( int  Count)

Draw table of errors, warnings and notes

Parameters
CountNumber of EWN which are going to be exported to the table (counting from the back).
Returns
Table of errors, warnings and notes
TTable DrawTable ( int  From,
int  To 
)

Draw table of errors, warnings and notes

Parameters
FromIndex of first EWN which is going to be exported to the table
ToIndex of last EWN which is going to be exported to the table
Returns
Table of errors, warnings and notes
TTable DrawTable ( bool  PrintNum,
bool  PrintTyp,
bool  PrintDes,
bool  PrintSol 
)

Draw table of errors, warnings and notes

Parameters
PrintNumSet TRUE to add index column.
PrintTypSet TRUE to add EWN type column.
PrintDesSet TRUE to add EWN description column.
PrintSolSet TRUE to add EWN solution column.
Returns
Table of errors, warnings and notes
TTable DrawTable ( int  From,
int  To,
bool  PrintNum,
bool  PrintTyp,
bool  PrintDes,
bool  PrintSol 
)

Draw table of errors, warnings and notes

Parameters
FromIndex of first EWN which is going to be exported to the table
ToIndex of last EWN which is going to be exported to the table
PrintNumSet TRUE to add index column.
PrintTypSet TRUE to add EWN type column.
PrintDesSet TRUE to add EWN description column.
PrintSolSet TRUE to add EWN solution column.
Returns
Table of errors, warnings and notes
string GetDescription ( string  Code)

Returns description of EWN with given code.

Parameters
CodeCode of the error, warning or note
Returns
Description of EWN with given code
string GetDescription ( string  Code,
string  LangCode 
)

Returns description of EWN with given code.

Parameters
CodeCode of the error, warning or note
LangCodeWindows code of required language
Returns
Description of EWN with given code
string GetSolution ( string  Code)

Returns solution of EWN with given code.

Parameters
CodeCode of the error, warning or note
Returns
Solution of EWN with given code
string GetSolution ( string  Code,
string  LangCode 
)

Returns solution of EWN with given code.

Parameters
CodeCode of the error, warning or note
LangCodeWindows code of required language
Returns
Solution of EWN with given code
TTable GetTable ( )

Return table of errors, warnings and notes

Returns
Table of errors, warnings and notes
TTable GetTable ( int  Count)

Return table of errors, warnings and notes

Parameters
CountNumber of EWN which are going to be exported to the table (counting from the back).
Returns
Table of errors, warnings and notes
TTable GetTable ( int  From,
int  To 
)

Return table of errors, warnings and notes

Parameters
FromIndex of first EWN which is going to be exported to the table
ToIndex of last EWN which is going to be exported to the table
Returns
Table of errors, warnings and notes
TTable GetTable ( bool  PrintNum,
bool  PrintTyp,
bool  PrintDes,
bool  PrintSol 
)

Returns table of errors, warnings and notes

Parameters
PrintNumSet TRUE to add index column.
PrintTypSet TRUE to add EWN type column.
PrintDesSet TRUE to add EWN description column.
PrintSolSet TRUE to add EWN solution column.
Returns
Table of errors, warnings and notes
TTable GetTable ( int  From,
int  To,
bool  PrintNum,
bool  PrintTyp,
bool  PrintDes,
bool  PrintSol 
)

Return table of errors, warnings and notes

Parameters
FromIndex of first EWN which is going to be exported to the table
ToIndex of last EWN which is going to be exported to the table
PrintNumSet TRUE to add index column.
PrintTypSet TRUE to add EWN type column.
PrintDesSet TRUE to add EWN description column.
PrintSolSet TRUE to add EWN solution column.
Returns
Table of errors, warnings and notes
string GetType ( string  Code)

Return type of the EWN item

Parameters
CodeCode of the EWN item.
Returns
Type of the EWN item.
object TraceEWN ( string  Code)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
Returns
Internal return value
object TraceEWN ( string  Code,
string  Param 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
ParamParameter defining inline string placed to the message
Returns
Internal return value
object TraceEWN ( string  Code,
bool  PrintDescription,
bool  PrintSolution 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
PrintDescriptionSet TRUE to print EWN description
PrintSolutionSet TRUE to print EWN solution
Returns
Internal return value
object TraceEWN ( string  Code,
bool  PrintDescription,
bool  PrintSolution,
string  Param 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
PrintDescriptionSet TRUE to print EWN description
PrintSolutionSet TRUE to print EWN solution
ParamParameter defining inline string placed to the message
Returns
Internal return value
object TraceEWN ( string  Code,
double  Width 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
WidthWidth of the bounding rectangle.
Returns
Internal return value.
object TraceEWN ( string  Code,
double  Width,
string  Param 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
WidthWidth of the bounding rectangle.
ParamParameter defining inline string placed to the message
Returns
Internal return value.
object TraceEWN ( string  Code,
bool  PrintType,
bool  PrintDescription,
bool  PrintSolution,
double  Width 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
PrintTypeSet TRUE to print type of EWN item.
PrintDescriptionSet TRUE to print EWN description
PrintSolutionSet TRUE to print EWN solution
WidthWidth of the bounding rectangle.
Returns
Internal return value
object TraceEWN ( string  Code,
bool  PrintType,
bool  PrintDescription,
bool  PrintSolution,
double  Width,
string  Param 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
PrintTypeSet TRUE to print type of EWN item.
PrintDescriptionSet TRUE to print EWN description
PrintSolutionSet TRUE to print EWN solution
WidthWidth of the bounding rectangle.
ParamParameter defining inline string placed to the message
Returns
Internal return value
object TraceRectEWN ( string  Code,
double  Width 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
WidthWidth of the bounding rectangle.
Returns
Internal return value.
object TraceRectEWN ( string  Code,
double  Width,
string  Param 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
WidthWidth of the bounding rectangle.
ParamParameter defining inline string placed to the message
Returns
Internal return value.
object TraceRectEWN ( string  Code,
bool  PrintType,
bool  PrintDescription,
bool  PrintSolution,
double  Width 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
PrintTypeSet TRUE to print type of EWN item.
PrintDescriptionSet TRUE to print EWN description
PrintSolutionSet TRUE to print EWN solution
WidthWidth of the bounding rectangle.
Returns
Internal return value
object TraceRectEWN ( string  Code,
bool  PrintType,
bool  PrintDescription,
bool  PrintSolution,
double  Width,
string  Param 
)

Trace error, warning or note to the log.

Parameters
CodeCode of the error, warning or note
PrintTypeSet TRUE to print type of EWN item.
PrintDescriptionSet TRUE to print EWN description
PrintSolutionSet TRUE to print EWN solution
WidthWidth of the bounding rectangle.
ParamParameter defining inline string placed to the message
Returns
Internal return value