Cheetah Software
1.0
|
Go to the source code of this file.
Enumerations | |
enum | PrintColor { PrintColor::Default, PrintColor::Red, PrintColor::Green, PrintColor::Yellow, PrintColor::Blue, PrintColor::Magenta, PrintColor::Cyan } |
Functions | |
template<typename T > | |
std::string | pretty_string (T vv) |
template<typename T > | |
void | pretty_print (DMat< T > const &mm, std::ostream &os, std::string const &title, std::string const &prefix="", bool vecmode=false, bool nonl=false) |
template<typename T > | |
void | pretty_print (Quat< T > const &vv, std::ostream &os, std::string const &title, std::string const &prefix="", bool nonl=false) |
template<typename T > | |
void | pretty_print (DVec< T > const &vv, std::ostream &os, std::string const &title, std::string const &prefix="", bool nonl=false) |
template<typename T > | |
void | pretty_print (D3Mat< T > const &vv, std::ostream &os, std::string const &title, std::string const &prefix="", bool nonl=false) |
template<typename T > | |
void | pretty_print (Mat3< T > const &vv, std::ostream &os, std::string const &title, std::string const &prefix="", bool nonl=false) |
template<typename T > | |
void | pretty_print (Mat6< T > const &vv, std::ostream &os, std::string const &title, std::string const &prefix="", bool nonl=false) |
template<typename T > | |
void | pretty_print (SVec< T > const &vv, std::ostream &os, std::string const &title, std::string const &prefix="", bool nonl=false) |
template<typename T > | |
void | pretty_print (Vec3< T > const &vv, std::ostream &os, std::string const &title, std::string const &prefix="", bool nonl=false) |
template<typename T > | |
void | pretty_print (Vec2< T > const &vv, std::ostream &os, std::string const &title, std::string const &prefix="", bool nonl=false) |
template<typename T > | |
void | pretty_print (const std::vector< T > &_vec, const char *title) |
template<typename T > | |
void | pretty_print (const T *_vec, const char *title, size_t size) |
void | printf_color (PrintColor color, const char *fmt,...) |
void | fprintf_color (PrintColor color, FILE *stream, const char *fmt,...) |
|
strong |
Enumerator | |
---|---|
Default | |
Red | |
Green | |
Yellow | |
Blue | |
Magenta | |
Cyan |
Definition at line 123 of file Utilities_print.h.
void fprintf_color | ( | PrintColor | color, |
FILE * | stream, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 13 of file Utilities_print.cpp.
void pretty_print | ( | DMat< T > const & | mm, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | vecmode = false , |
||
bool | nonl = false |
||
) |
Definition at line 24 of file Utilities_print.h.
References pretty_string().
void pretty_print | ( | Quat< T > const & | vv, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | nonl = false |
||
) |
Definition at line 57 of file Utilities_print.h.
References pretty_print().
void pretty_print | ( | DVec< T > const & | vv, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | nonl = false |
||
) |
Definition at line 63 of file Utilities_print.h.
References pretty_print().
void pretty_print | ( | D3Mat< T > const & | vv, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | nonl = false |
||
) |
Definition at line 69 of file Utilities_print.h.
References pretty_print().
void pretty_print | ( | Mat3< T > const & | vv, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | nonl = false |
||
) |
Definition at line 76 of file Utilities_print.h.
References pretty_print().
void pretty_print | ( | Mat6< T > const & | vv, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | nonl = false |
||
) |
Definition at line 82 of file Utilities_print.h.
References pretty_print().
void pretty_print | ( | SVec< T > const & | vv, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | nonl = false |
||
) |
Definition at line 88 of file Utilities_print.h.
References pretty_print().
void pretty_print | ( | Vec3< T > const & | vv, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | nonl = false |
||
) |
Definition at line 94 of file Utilities_print.h.
References pretty_print().
void pretty_print | ( | Vec2< T > const & | vv, |
std::ostream & | os, | ||
std::string const & | title, | ||
std::string const & | prefix = "" , |
||
bool | nonl = false |
||
) |
Definition at line 100 of file Utilities_print.h.
References pretty_print().
void pretty_print | ( | const std::vector< T > & | _vec, |
const char * | title | ||
) |
Definition at line 106 of file Utilities_print.h.
void pretty_print | ( | const T * | _vec, |
const char * | title, | ||
size_t | size | ||
) |
Definition at line 115 of file Utilities_print.h.
std::string pretty_string | ( | T | vv | ) |
void printf_color | ( | PrintColor | color, |
const char * | fmt, | ||
... | |||
) |