FrontISTR
5.7.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
{
15
CONV_NO_ERROR
= 0,
16
CONV_UNKNOWN_ERROR
,
17
CONV_COORDINATE_ERROR
,
18
CONV_NO_SUPPORTED_ELEMENT
,
19
CONV_INVALID_ELEMENT_PROPERTY
,
20
CONV_NO_SUPPORTED_ELEM_PROP
21
};
22
23
class
CConvMessage
{
24
protected
:
25
static
char
msg
[256];
26
27
public
:
28
char
option_msg
[256];
29
int
no
;
30
CConvMessage
(
int
No = 0,
const
char
* op_msg =
""
, ...);
31
virtual
const
char
*
Msg
();
32
};
33
34
#endif
CConvMessage::no
int no
Definition:
CConvMessage.h:29
CConvMessage
Definition:
CConvMessage.h:23
CConvMessage::CConvMessage
CConvMessage(int No=0, const char *op_msg="",...)
Definition:
CConvMessage.cpp:18
CONV_COORDINATE_ERROR
@ CONV_COORDINATE_ERROR
Definition:
CConvMessage.h:20
CConvMessage::Msg
virtual const char * Msg()
Definition:
CConvMessage.cpp:30
CONV_NO_ERROR
@ CONV_NO_ERROR
Definition:
CConvMessage.h:18
CConvMessage::msg
static char msg[256]
Definition:
CConvMessage.h:25
CONV_NO_SUPPORTED_ELEMENT
@ CONV_NO_SUPPORTED_ELEMENT
Definition:
CConvMessage.h:21
CConvMessage::option_msg
char option_msg[256]
Definition:
CConvMessage.h:28
CONV_NO_SUPPORTED_ELEM_PROP
@ CONV_NO_SUPPORTED_ELEM_PROP
Definition:
CConvMessage.h:23
CONV_UNKNOWN_ERROR
@ CONV_UNKNOWN_ERROR
Definition:
CConvMessage.h:19
CONV_INVALID_ELEMENT_PROPERTY
@ CONV_INVALID_ELEMENT_PROPERTY
Definition:
CConvMessage.h:22
fistr1
tools
neu2fstr
converter
CConvMessage.h
Generated by
1.8.17