1 #ifndef SIPLASPLAS_REFLECTION_STATIC_SOURCEINFO_HPP 2 #define SIPLASPLAS_REFLECTION_STATIC_SOURCEINFO_HPP 4 #include <siplasplas/constexpr/string.hpp> 5 #include <siplasplas/constexpr/meta.hpp> 6 #include <siplasplas/utility/meta.hpp> 13 namespace static_reflection
82 static constexpr
const cpp::constexp::String<FullName::size + 1>&
fullName()
84 return cpp::constexp::SequenceToString<FullName>::str();
95 static constexpr
const cpp::constexp::String<Spelling::size + 1>&
spelling()
97 return cpp::constexp::SequenceToString<Spelling>::str();
116 return ::cpp::constexp::SequenceToString<DisplayName>::c_str();
133 static constexpr
const char*
file()
135 return ::cpp::constexp::SequenceToString<File>::c_str();
141 static constexpr std::size_t
line()
150 (std::is_enum<T>::value ? Kind::ENUM : Kind::CLASS),
151 ::cpp::meta::string<>,
152 ::cpp::meta::string<>,
153 ::cpp::meta::string<>,
154 ::cpp::meta::string<>,
164 #endif // SIPLASPLAS_REFLECTION_STATIC_SOURCEINFO_HPP Definition: canary_allocator.hpp:7
Kind
Represents the different types of entities (namespaces, classes, functions, etc) the library can coll...
Definition: sourceinfo.hpp:24