1 #ifndef SIPLASPLAS_REFLECTION_DYNAMIC_SOURCEINFO_HPP 2 #define SIPLASPLAS_REFLECTION_DYNAMIC_SOURCEINFO_HPP 5 #include <siplasplas/reflection/static/sourceinfo.hpp> 11 namespace dynamic_reflection
23 const std::string& spelling,
24 const std::string& displayName,
25 const std::string& file,
30 template<
typename Entity>
34 Entity::SourceInfo::SourceInfo::fullName().str(),
35 Entity::SourceInfo::kind(),
36 Entity::SourceInfo::spelling().str(),
37 Entity::SourceInfo::displayName(),
38 Entity::SourceInfo::file(),
39 Entity::SourceInfo::line()
43 const std::string& spelling()
const;
44 const std::string& displayName()
const;
45 const std::string& file()
const;
46 std::size_t line()
const;
48 const std::string& name()
const;
49 const std::string& fullName()
const;
51 const Scope& scope()
const;
52 const Kind& kind()
const;
57 std::string _spelling;
58 std::string _displayName;
67 #endif // SIPLASPLAS_REFLECTION_DYNAMIC_SOURCEINFO_HPP Definition: messaging.hpp:8
Kind
Represents the different types of entities (namespaces, classes, functions, etc) the library can coll...
Definition: sourceinfo.hpp:24
Definition: sourceinfo.hpp:16