#include "singleton.hh"
#include "dripline_api.hh"
#include "member_variables.hh"
#include "version_semantic.hh"
#include <map>
#include <memory>
Go to the source code of this file.
|
template<typename x_version > |
std::shared_ptr< version_store_adder< x_version > > | add_version (const std::string &a_name) |
|
void | add_version (const std::string &a_name, scarab::version_semantic_ptr_t a_version_ptr) |
|
◆ ADD_VERSION
#define ADD_VERSION |
( |
|
version_name, |
|
|
|
version_type |
|
) |
| static ::dripline::version_store_adder< version_type > s_version_adder_##version_name( TOSTRING(version_name) ); |
Macro for adding version classes at static initialization.
- Author
- N.S. Oblath
Definition at line 110 of file version_store.hh.