|
kDB: Knowledge DataBase
|
#include <Agent.h>
Classes | |
| struct | Private |
Public Member Functions | |
| Agent () | |
| Agent (const Agent &_rhs) | |
| Agent & | operator= (const Agent &_rhs) |
| knowCore::Uri | uri () const |
| knowCore::Uri | type () const |
| QString | name () const |
| knowCore::ReturnVoid | addStream (const Stream &_stream) |
| knowCore::ReturnValue< QList< Stream > > | streams () const |
| knowCore::ReturnValue< bool > | hasProperty (const knowCore::Uri &_property) const |
| knowCore::ReturnValue< knowCore::Value > | property (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 Agent &_rhs) const |
| bool | isValid () const |
Friends | |
| class | Agents |
This class allow to handle a manage a agent
| Agent::Agent | ( | ) |
Create an invalid agent
| knowCore::ReturnValue< bool > Agent::hasProperty | ( | const knowCore::Uri & | _property | ) | const |
| QString Agent::name | ( | ) | const |
| knowCore::ReturnValue< knowCore::Value > Agent::property | ( | const knowCore::Uri & | _property | ) | const |
|
inline |
Set the value for the given property
| knowCore::ReturnVoid Agent::setProperty | ( | const knowCore::Uri & | _property, |
| const knowCore::Value & | _value ) const |
Set the value for the given property
| knowCore::Uri Agent::type | ( | ) | const |
| knowCore::Uri Agent::uri | ( | ) | const |