125 , m_is_integer(false)
126 , m_is_new_format(false)
129 m_f0 = m_f1 = m_f2 = m_f3 = m_f4 = m_f5 = 0;
132 m_probname[0] =
'\0';
133 m_objname [0] =
'\0';
141 m_f0 = m_f1 = m_f2 = m_f3 = m_f4 = m_f5 = 0;
221 m_section = p_section;
248 SPX_MSG_ERROR(std::cerr <<
"Syntax error in line " << m_lineno << std::endl;)
254 const char* what,
const char* what_name,
255 const char* entity,
const char* entity_name)
257 if(m_ignored < m_max_ignore)
259 SPX_MSG_ERROR(std::cerr <<
"Warning: line " << m_lineno <<
": " 260 << what <<
" \"" << what_name <<
"\"" 261 <<
" for " << entity <<
" \"" 262 << entity_name <<
"\" ignored" << std::endl;)
265 if(m_ignored == m_max_ignore)
266 SPX_MSG_ERROR(std::cerr <<
"Warning: This was the " << m_max_ignore
267 <<
" ignored entry. No further warnings on " 268 <<
"ignored entries will be given." << std::endl;)
280 bool second =
false);
284 #endif // _MPSINPUT_H_
#define SPX_MSG_ERROR(x)
Prints out message x if the verbosity level is at least SPxOut::ERROR.
Wrapper for different output streams and verbosity levels.
int spxSnprintf(char *t, size_t len, const char *s,...)
safe version of snprintf
Everything should be within this namespace.