Skip to content

cvedia::rt::api::identity::store

Functions

Name
expected< void > addEvent(Uuid const & id, std::chrono::milliseconds eventTime, std::string const & eventData)
expected< void > deleteEvents(Uuid const & id)
expected< std::vector< std::pair< std::chrono::milliseconds, std::string > > > getEvents(Uuid const & id, std::chrono::milliseconds startTime, std::chrono::milliseconds endTime)
expected< std::vector< std::pair< std::chrono::milliseconds, std::string > > > getEvents(Uuid const & id)
expected< void > setField(Uuid const & id, std::string const & key, std::string const & data)
expected< std::string > getField(Uuid const & id, std::string const & key)
expected< void > deleteField(Uuid const & id, std::string const & key)
expected< void > deleteFields(Uuid const & id)

Functions Documentation

function addEvent

expected< void > addEvent(
    Uuid const & id,
    std::chrono::milliseconds eventTime,
    std::string const & eventData
)

function deleteEvents

expected< void > deleteEvents(
    Uuid const & id
)

function getEvents

expected< std::vector< std::pair< std::chrono::milliseconds, std::string > > > getEvents(
    Uuid const & id,
    std::chrono::milliseconds startTime,
    std::chrono::milliseconds endTime
)

function getEvents

expected< std::vector< std::pair< std::chrono::milliseconds, std::string > > > getEvents(
    Uuid const & id
)

function setField

expected< void > setField(
    Uuid const & id,
    std::string const & key,
    std::string const & data
)

function getField

expected< std::string > getField(
    Uuid const & id,
    std::string const & key
)

function deleteField

expected< void > deleteField(
    Uuid const & id,
    std::string const & key
)

function deleteFields

expected< void > deleteFields(
    Uuid const & id
)