xo-reflect: + TypeDescr::lookup_by_name()

This commit is contained in:
Roland Conybeare 2024-06-18 17:15:08 -04:00
commit 6fc1fff9dc
2 changed files with 15 additions and 0 deletions

View file

@ -190,6 +190,8 @@ namespace xo {
std::unique_ptr<TypeDescrExtra> tdextra);
/* print table of reflected types to os */
/** lookup type by canonical name **/
static TypeDescr lookup_by_name(const std::string & canonical_name);
static void print_reflected_types(std::ostream & os);
TypeId id() const { return id_; }