kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDBRobotics::Stream Class Reference

Classes

struct  Private
 

Public Member Functions

 Stream (const Stream &_rhs)
 
Streamoperator= (const Stream &_rhs)
 
knowCore::Uri uri () const
 
QString identifier () const
 
knowCore::Uri datatype () const
 
knowCore::Uri contentType () const
 
knowCore::ReturnValue< bool > hasProperty (const knowCore::Uri &_property) const
 
knowCore::ReturnValue< knowCore::Valueproperty (const knowCore::Uri &_property) const
 
knowCore::ReturnVoid setProperty (const knowCore::Uri &_property, const knowCore::Value &_value) const
 
template<typename _T_ , std::enable_if_t< not std::is_base_of_v< knowCore::Value, _T_ >, bool > = true>
knowCore::ReturnVoid setProperty (const knowCore::Uri &_property, const _T_ &_value) const
 
bool operator== (const Stream &_rhs) const
 
bool isValid () const
 

Friends

class Agents
 

Member Function Documentation

◆ hasProperty()

knowCore::ReturnValue< bool > Stream::hasProperty ( const knowCore::Uri & _property) const
Returns
if the given property is set

◆ property()

knowCore::ReturnValue< knowCore::Value > Stream::property ( const knowCore::Uri & _property) const
Returns
a value for the given property

◆ setProperty() [1/2]

template<typename _T_ , std::enable_if_t< not std::is_base_of_v< knowCore::Value, _T_ >, bool > = true>
knowCore::ReturnVoid kDBRobotics::Stream::setProperty ( const knowCore::Uri & _property,
const _T_ & _value ) const
inline

Set the value for the given property

◆ setProperty() [2/2]

knowCore::ReturnVoid Stream::setProperty ( const knowCore::Uri & _property,
const knowCore::Value & _value ) const

Set the value for the given property


The documentation for this class was generated from the following files: