Skip to content

cvedia::rt::iface::IdentityProvider

Public Functions

Name
IdentityProvider() =default
virtual ~IdentityProvider() =default
IdentityProvider(IdentityProvider const & ) =delete
IdentityProvider & operator=(IdentityProvider const & ) =delete
virtual expected< void > deleteIdentity(Uuid const & id) =0
virtual expected< Uuid > insertVector(std::vector< float > const & feature) =0
virtual expected< Uuid > vectorLookup(std::vector< float > const & feature) =0
virtual expected< Uuid > stringLookup(std::string const & feature) =0
virtual expected< void > link(Uuid const & destId, Uuid const & srcId) =0
virtual expected< void > setConfigValue(std::string const & key, CValue const & val) =0
virtual expected< CValue > getConfigValue(std::string const & key) =0

Public Functions Documentation

function IdentityProvider

IdentityProvider() =default

function ~IdentityProvider

virtual ~IdentityProvider() =default

function IdentityProvider

IdentityProvider(
    IdentityProvider const & 
) =delete

function operator=

IdentityProvider & operator=(
    IdentityProvider const & 
) =delete

function deleteIdentity

virtual expected< void > deleteIdentity(
    Uuid const & id
) =0

function insertVector

virtual expected< Uuid > insertVector(
    std::vector< float > const & feature
) =0

function vectorLookup

virtual expected< Uuid > vectorLookup(
    std::vector< float > const & feature
) =0

function stringLookup

virtual expected< Uuid > stringLookup(
    std::string const & feature
) =0

virtual expected< void > link(
    Uuid const & destId,
    Uuid const & srcId
) =0

function setConfigValue

virtual expected< void > setConfigValue(
    std::string const & key,
    CValue const & val
) =0

function getConfigValue

virtual expected< CValue > getConfigValue(
    std::string const & key
) =0