📄 rsesmessage.cpp
字号:
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Global function used by the RSES library.
// Comments......:
// Revisions.....:
//===================================================================
#include <stdafx.h> // Precompiled headers.
#include <copyright.h>
#include <kernel/basic/string.h>
#include <kernel/basic/message.h>
//-------------------------------------------------------------------
// Method........: Message (global)
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Global function used by the RSES library.
// Comments......: Excerpt from the RSES library technical documentation:
//
// It has to be written the definition of function
// void Message(char *text, char *status) that is
// used by some methods to give description what is
// actually being done. This function is called in
// many different ways:
//
// text NOT NULL, status NULL: it is general
// description about what is being done e.g.
// "Calculating reducts".
//
// text NOT NULL, status NOT NULL: more descriptive
// information with additional information about
// kind of progress of performed operation e.g.
// text="Found reducts:", status="20".
//
// text NULL, status NOT NULL: the information about
// progress is passed only e.g. "17%".
//
// According to the needs function Message may take
// advantage of passed information. It may display
// messages in different windows, etc.
//
// This function may additionally control the predefined
// variable MESSAGE_LEVEL that is used to filter the
// passed information. It is made the assumption that
// (1) MESSAGE_LEVEL=0 means that none information is displayed,
// (2) MESSAGE_LEVEL=1 means that all information is displayed.
// It can be implemented that for example if MESSAGE_LEVEL=2
// then only status variable is displayed and if MESSAGE_LEVEL=3
// than only the character
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -