1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-06-22 16:52:02 +01:00

LatCore compatibility

This commit is contained in:
2015-02-23 18:11:37 +00:00
parent 2ff01209f9
commit 232c9b7948
21 changed files with 89 additions and 5914 deletions

View File

@ -31,22 +31,3 @@ const string Env::msgPrefix = "[" + strFrom(PACKAGE_NAME) + " v"
void Env::function(void)
{}
ostream & Latan::operator<<(ostream &out, const ProgressBar &&bar)
{
const Index nTick = bar.nCol_*bar.current_/bar.total_;
out << "[";
for (Index i = 0; i < nTick; ++i)
{
out << "=";
}
for (Index i = nTick; i < bar.nCol_; ++i)
{
out << " ";
}
out << "] " << bar.current_ << "/" << bar.total_;
out.flush();
return out;
}