Skip to content

cvedia::rt::internal::ModelUriMatcher

Protected Classes

Name
struct SimpleModelUriDecomposition

Public Functions

Name
ModelUriMatcher(std::string const & modelUri)
bool match(std::string const & modelUriPattern) const
bool isInitialized() const

Protected Functions

Name
expected< SimpleModelUriDecomposition > _decomposeUri(std::string const & modelUri)
bool _matchToken(std::string const & pattern, std::string const & token)

Protected Attributes

Name
SimpleModelUriDecomposition modelUriDecomposed_
bool initialized_

Public Functions Documentation

function ModelUriMatcher

ModelUriMatcher(
    std::string const & modelUri
)

function match

bool match(
    std::string const & modelUriPattern
) const

function isInitialized

bool isInitialized() const

Protected Functions Documentation

function _decomposeUri

static expected< SimpleModelUriDecomposition > _decomposeUri(
    std::string const & modelUri
)

function _matchToken

static bool _matchToken(
    std::string const & pattern,
    std::string const & token
)

Protected Attributes Documentation

variable modelUriDecomposed_

SimpleModelUriDecomposition modelUriDecomposed_;

variable initialized_

bool initialized_ = false;