116 , m_is_integer(false)
117 , m_is_new_format(false)
120 m_f0 = m_f1 = m_f2 = m_f3 = m_f4 = m_f5 = 0;
123 m_probname[0] =
'\0';
124 m_objname [0] =
'\0';
132 m_f0 = m_f1 = m_f2 = m_f3 = m_f4 = m_f5 = 0;
212 m_section = p_section;
239 MSG_ERROR(std::cerr <<
"Syntax error in line " << m_lineno << std::endl;)
245 const char* what,
const char* what_name,
246 const char* entity,
const char* entity_name)
248 if(m_ignored < m_max_ignore)
250 MSG_ERROR(std::cerr <<
"Warning: line " << m_lineno <<
": " 251 << what <<
" \"" << what_name <<
"\"" 252 <<
" for " << entity <<
" \"" 253 << entity_name <<
"\" ignored" << std::endl;)
256 if(m_ignored == m_max_ignore)
257 MSG_ERROR(std::cerr <<
"Warning: This was the " << m_max_ignore
258 <<
" ignored entry. No further warnings on " 259 <<
"ignored entries will be given." << std::endl;)
271 bool second =
false);
275 #endif // _MPSINPUT_H_
Wrapper for different output streams and verbosity levels.
#define MSG_ERROR(x)
Prints out message x if the verbosity level is at least SPxOut::ERROR.
int spxSnprintf(char *t, size_t len, const char *s,...)
safe version of snprintf
Everything should be within this namespace.