FrontISTR  5.8.0
Large-scale structural analysis program with finit element method
CConvMessage.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 /* CConvMessage class Ver. 3.6 */
6 
7 #ifndef CConvMessageH
8 #define CConvMessageH
9 
10 #include <stdarg.h>
11 #include <stdio.h>
12 #include <string.h>
13 
14 enum {
21 };
22 
23 #define CONV_OPTION_MSG_SIZE 256
24 #define CONV_MSG_SIZE 512
25 
26 class CConvMessage {
27  protected:
28  static char msg[CONV_MSG_SIZE];
29 
30  public:
32  int no;
33  CConvMessage(int No = 0, const char* op_msg = "", ...);
34  virtual const char* Msg();
35 };
36 
37 #endif
@ CONV_UNKNOWN_ERROR
Definition: CConvMessage.h:16
@ CONV_INVALID_ELEMENT_PROPERTY
Definition: CConvMessage.h:19
@ CONV_NO_ERROR
Definition: CConvMessage.h:15
@ CONV_COORDINATE_ERROR
Definition: CConvMessage.h:17
@ CONV_NO_SUPPORTED_ELEMENT
Definition: CConvMessage.h:18
@ CONV_NO_SUPPORTED_ELEM_PROP
Definition: CConvMessage.h:20
#define CONV_MSG_SIZE
Definition: CConvMessage.h:24
#define CONV_OPTION_MSG_SIZE
Definition: CConvMessage.h:23
virtual const char * Msg()
static char msg[CONV_MSG_SIZE]
Definition: CConvMessage.h:28
CConvMessage(int No=0, const char *op_msg="",...)
char option_msg[CONV_OPTION_MSG_SIZE]
Definition: CConvMessage.h:31