initial implementation

This commit is contained in:
Roland Conybeare 2023-10-09 13:49:08 -04:00
commit effbbf22d9
9 changed files with 798 additions and 0 deletions

View file

@ -0,0 +1,32 @@
/* file init_printjson.cpp
*
* author: Roland Conybeare, Sep 2022
*/
#include "init_printjson.hpp"
#include "xo/reflect/init_reflect.hpp"
#include "xo/subsys/Subsystem.hpp"
namespace xo {
void
InitSubsys<S_printjson_tag>::init()
{
/* placeholder -- expecting there to be non-trivial content soon */
} /*init*/
InitEvidence
InitSubsys<S_printjson_tag>::require()
{
InitEvidence retval;
/* subsystem dependencies for printjson/ */
retval ^= InitSubsys<S_reflect_tag>::require();
/* printjson/'s own initialization code */
retval ^= Subsystem::provide<S_printjson_tag>("printjson", &init);
return retval;
} /*require*/
} /*namespace xo*/
/* end init_printjson.cpp */