11 #include "RoadError.h"
19 using std::ostringstream;
29 toString(
const char *tag,
int code)
const
41 const char *
s= format_string;
54 os <<
" ERROR_three_%d_in_format ";
62 if(firstExtraCode(os, c, &extraCode)){
68 os <<
" ERROR_two_%f_in_format ";
74 if(firstExtraCode(os, c, &extraCode)){
79 if(firstExtraCode(os, c, &extraCode)){
84 if(firstExtraCode(os, c, &extraCode)){
85 os <<
"0x" << std::hex << int64_1 << std::dec;
89 if(firstExtraCode(os, c, &extraCode)){
97 os <<
" ERROR_%" << c <<
"_not_defined_in_format";
112 firstExtraCode(std::ostream &os,
char c,
char *extraCode){
114 os <<
" ERROR_%" << *extraCode <<
"_and_%" << c <<
"_in_format ";
std::set< std::string > & s
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.