- Basic RTTI type data with inheritance.

This commit is contained in:
2025-11-28 12:58:23 -05:00
parent b9026ec8da
commit fe8c3a4602
126 changed files with 2158 additions and 979 deletions

View File

@@ -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();
}
}
}