API Reference
On this page
Classes | |
| struct | RouteEntry |
| struct | DefaultRouteEntry |
| struct | RedirectEntry |
Public Member Functions | |
| virtual void | navigateTo (::std::string const &route, ::OreUI::RouteHistoryAction action) const |
| virtual::std::string | redirectIfNeeded (::std::string const &route) const |
| virtual bool | isSupported (::std::string const &route) const |
| virtual bool | areCompatible (::std::string const &routeA, ::std::string const &routeB) const |
| virtual ::std::optional<::std::string > | getDefaultRouteForFile (::std::string const &file) const |
| virtual::OreUI::RouteType | getRouteType (::std::string const &route) const |
| virtual::OreUI::RouteMode | getRouteMode (::std::string const &route) const |
| virtual::OreUI::RoutePrerequisite | getRoutePrerequisite (::std::string const &route) const |
| MCAPI ::std::optional<::OreUI::RouteMatcher::RedirectEntry > | _matchRedirect (::std::string const &route) const |
| MCAPI ::std::optional<::OreUI::RouteMatcher::RouteEntry > | _matchRoute (::std::string const &route) const |
| MCAPI void | addRedirect (::std::string const &path, ::std::function< bool()> isActiveCallback, ::std::function<::std::string(::std::string const &)> composer) |
| MCAPI void | addRoute (::std::string const &baseScreenId, ::std::string const &pattern, ::OreUI::RouteType type, ::OreUI::RouteMode mode, ::OreUI::RoutePrerequisite prerequisite, ::std::function< bool()> isActiveCallback, ::std::function< void(::std::string const &, ::OreUI::RouteHistoryAction)> matchCallback) |
| MCAPI void | $navigateTo (::std::string const &route, ::OreUI::RouteHistoryAction action) const |
| MCAPI::std::string | $redirectIfNeeded (::std::string const &route) const |
| MCAPI bool | $isSupported (::std::string const &route) const |
| MCAPI bool | $areCompatible (::std::string const &routeA, ::std::string const &routeB) const |
| MCAPI ::std::optional<::std::string > | $getDefaultRouteForFile (::std::string const &file) const |
| MCAPI::OreUI::RouteType | $getRouteType (::std::string const &route) const |
| MCAPI::OreUI::RouteMode | $getRouteMode (::std::string const &route) const |
| MCAPI::OreUI::RoutePrerequisite | $getRoutePrerequisite (::std::string const &route) const |
Public Attributes | |
| ::ll::TypedStorage< 8, 24, ::std::vector<::OreUI::RouteMatcher::RouteEntry > > | mRoutes |
| ::ll::TypedStorage< 8, 24, ::std::vector<::OreUI::RouteMatcher::DefaultRouteEntry > > | mDefaultRoutes |
| ::ll::TypedStorage< 8, 24, ::std::vector<::OreUI::RouteMatcher::RedirectEntry > > | mRedirects |
|
virtual |
Implements OreUI::IRouteMatcher.
|
virtual |
Implements OreUI::IRouteMatcher.
|
virtual |
Implements OreUI::IRouteMatcher.
|
virtual |
Implements OreUI::IRouteMatcher.
|
virtual |
Implements OreUI::IRouteMatcher.
|
virtual |
Implements OreUI::IRouteMatcher.
|
virtual |
Implements OreUI::IRouteMatcher.
|
virtual |
Implements OreUI::IRouteMatcher.
| MCAPI ::std::optional<::OreUI::RouteMatcher::RedirectEntry > OreUI::RouteMatcher::_matchRedirect | ( | ::std::string const & | route | ) | const |
| MCAPI ::std::optional<::OreUI::RouteMatcher::RouteEntry > OreUI::RouteMatcher::_matchRoute | ( | ::std::string const & | route | ) | const |
| MCAPI void OreUI::RouteMatcher::addRedirect | ( | ::std::string const & | path, |
| ::std::function< bool()> | isActiveCallback, | ||
| ::std::function<::std::string(::std::string const &)> | composer ) |
| MCAPI void OreUI::RouteMatcher::$navigateTo | ( | ::std::string const & | route, |
| ::OreUI::RouteHistoryAction | action ) const |
| MCAPI::std::string OreUI::RouteMatcher::$redirectIfNeeded | ( | ::std::string const & | route | ) | const |
| MCAPI bool OreUI::RouteMatcher::$isSupported | ( | ::std::string const & | route | ) | const |
| MCAPI bool OreUI::RouteMatcher::$areCompatible | ( | ::std::string const & | routeA, |
| ::std::string const & | routeB ) const |
| MCAPI ::std::optional<::std::string > OreUI::RouteMatcher::$getDefaultRouteForFile | ( | ::std::string const & | file | ) | const |
| MCAPI::OreUI::RouteType OreUI::RouteMatcher::$getRouteType | ( | ::std::string const & | route | ) | const |
| MCAPI::OreUI::RouteMode OreUI::RouteMatcher::$getRouteMode | ( | ::std::string const & | route | ) | const |
| MCAPI::OreUI::RoutePrerequisite OreUI::RouteMatcher::$getRoutePrerequisite | ( | ::std::string const & | route | ) | const |