Commit 7b9d085a authored by kraus's avatar kraus
Browse files

further cleaning up mslang

parent 4c3f47fd
......@@ -34,11 +34,6 @@ namespace mslang {
const std::string Function::UInt = "([0-9]+)";
const std::string Function::FCall = "([a-z_]*)\\((.*)";
std::ostream & operator<< (std::ostream &out, const BoundingBox &bb) {
bb.print(out);
return out;
}
bool parse(std::string str, Function* &fun) {
iterator it = str.begin();
iterator end = str.end();
......@@ -136,6 +131,5 @@ namespace mslang {
}
return (it == end);
}
}
\ No newline at end of file
......@@ -20,10 +20,6 @@ namespace mslang {
return euclidean_norm(v);
}
std::ostream & operator<< (std::ostream &out, const BoundingBox &bb);
struct Base;
struct Function {
......@@ -75,7 +71,6 @@ namespace mslang {
}
};
bool parse(std::string str, Function* &fun);
}
......
......@@ -46,4 +46,9 @@ namespace mslang {
<< std::setw(18) << center_m[1] + 0.5 * height_m
<< std::endl;
}
std::ostream & operator<< (std::ostream &out, const BoundingBox &bb) {
bb.print(out);
return out;
}
}
\ No newline at end of file
......@@ -37,6 +37,8 @@ namespace mslang {
virtual void writeGnuplot(std::ofstream &out) const;
void print(std::ostream &out) const;
};
std::ostream & operator<< (std::ostream &out, const BoundingBox &bb);
}
#endif
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment