- Basic RTTI type data with inheritance.
This commit is contained in:
@@ -20,14 +20,17 @@
|
||||
#define FENNEC_TEST_PRINTING_H
|
||||
|
||||
#include <iostream>
|
||||
#include <fennec/langproc/filesystem/path.h>
|
||||
#include <fennec/langproc/strings/string.h>
|
||||
|
||||
#include <fennec/lang/filesystem/path.h>
|
||||
#include <fennec/lang/strings/string.h>
|
||||
|
||||
#include <fennec/math/common.h>
|
||||
#include <fennec/math/matrix.h>
|
||||
#include <fennec/math/relational.h>
|
||||
#include <fennec/math/ext/quaternion.h>
|
||||
|
||||
#include <fennec/rtti/type.h>
|
||||
|
||||
namespace fennec
|
||||
{
|
||||
|
||||
@@ -73,6 +76,11 @@ inline std::ostream& operator<<(std::ostream& os, const path& str) {
|
||||
return os << str.str();
|
||||
}
|
||||
|
||||
// Helper for printing types
|
||||
inline std::ostream& operator<<(std::ostream& os, const type& t) {
|
||||
return os << t.name();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user