HDK
|
Utility routines to output nicely-formatted numeric values. More...
#include <iosfwd>
#include <sstream>
#include <string>
#include <openvdb/version.h>
#include <openvdb/Platform.h>
Go to the source code of this file.
Classes | |
class | openvdb::OPENVDB_VERSION_NAME::util::FormattedInt< IntT > |
I/O manipulator that formats integer values with thousands separators. More... | |
Namespaces | |
openvdb | |
openvdb::OPENVDB_VERSION_NAME | |
openvdb::OPENVDB_VERSION_NAME::util | |
Functions | |
OPENVDB_API int | openvdb::OPENVDB_VERSION_NAME::util::printBytes (std::ostream &os, uint64_t bytes, const std::string &head="", const std::string &tail="\n", bool exact=false, int width=8, int precision=3) |
OPENVDB_API int | openvdb::OPENVDB_VERSION_NAME::util::printNumber (std::ostream &os, uint64_t number, const std::string &head="", const std::string &tail="\n", bool exact=true, int width=8, int precision=3) |
OPENVDB_API int | openvdb::OPENVDB_VERSION_NAME::util::printTime (std::ostream &os, double milliseconds, const std::string &head="", const std::string &tail="\n", int width=4, int precision=1, int verbose=0) |
template<typename IntT > | |
std::ostream & | openvdb::OPENVDB_VERSION_NAME::util::operator<< (std::ostream &os, const FormattedInt< IntT > &n) |
template<typename IntT > | |
FormattedInt< IntT > | openvdb::OPENVDB_VERSION_NAME::util::formattedInt (IntT n) |
Utility routines to output nicely-formatted numeric values.
Definition in file Formats.h.