|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
Router registry for dispatching paths to appropriate routers. More...
#include <resource_router.hpp>
Public Member Functions | |
| RouterRegistry (std::shared_ptr< reusex::ProjectDB > db) | |
| Create routers for all resource types. | |
| ResourceRouter & | get_router (std::string_view collection) |
| Get router for a collection. | |
Router registry for dispatching paths to appropriate routers.
Definition at line 89 of file resource_router.hpp.
|
explicit |
Create routers for all resource types.
| ResourceRouter & rux::database::RouterRegistry::get_router | ( | std::string_view | collection | ) |
Get router for a collection.
| collection | Collection name |
| std::runtime_error | if collection not found |