nx_cloud_storage_sdk  1.0
Cloud Storage SDK
Public Member Functions | List of all members
nx::sdk::Attribute Class Reference
Inheritance diagram for nx::sdk::Attribute:
nx::sdk::RefCountable< IAttribute > nx::sdk::IAttribute nx::sdk::Interface< IAttribute > nx::sdk::IRefCountable

Public Member Functions

 Attribute (Type type, std::string name, std::string value, float confidence=1.0)
 
 Attribute (std::string name, std::string value, float confidence=1.0)
 
 Attribute (const nx::sdk::Ptr< const IAttribute > &attribute)
 
virtual Type type () const override
 
virtual const char * name () const override
 
virtual const char * value () const override
 
virtual float confidence () const override
 
void setValue (std::string value)
 
- Public Member Functions inherited from nx::sdk::RefCountable< IAttribute >
 RefCountable (const RefCountable &)=delete
 
 RefCountable (RefCountable &&)=delete
 
RefCountableoperator= (const RefCountable &)=delete
 
RefCountableoperator= (RefCountable &&)=delete
 
virtual int addRef () const override
 
virtual int releaseRef () const override
 
int refCount () const
 
- Public Member Functions inherited from nx::sdk::Interface< IAttribute >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< RefCountablequeryInterface ()
 
Ptr< const RefCountablequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::IRefCountable
virtual ~IRefCountable ()=default
 
template<class RefCountable >
Ptr< RefCountablequeryInterface ()
 
template<class RefCountable >
Ptr< const RefCountablequeryInterface () const
 
int refCountThreadUnsafe () const
 

Additional Inherited Members

- Public Types inherited from nx::sdk::IAttribute
enum  Type : int { undefined, number, boolean, string }
 
- Static Public Member Functions inherited from nx::sdk::IAttribute
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IRefCountable
static auto interfaceId ()
 
- Protected Member Functions inherited from nx::sdk::Interface< IAttribute >
virtual IRefCountablequeryInterface (const IRefCountable::InterfaceId *id) override
 
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Static Protected Member Functions inherited from nx::sdk::IRefCountable
template<int len>
static constexpr const InterfaceIdmakeId (const char(&charArray)[len])
 
template<class TemplateInstance , class TemplateArg , int len>
static const InterfaceIdmakeIdForTemplate (const char(&baseIdCharArray)[len])
 
- Static Protected Attributes inherited from nx::sdk::IRefCountable
template<typename RefCountable >
static constexpr bool hasAlternativeInterfaceId = HasAlternativeInterfaceId<RefCountable>::value
 

Member Function Documentation

◆ name()

const char * nx::sdk::Attribute::name ( ) const
overridevirtual

See the specification for Attribute names in Attributes with pre-defined behavior.

Implements nx::sdk::IAttribute.


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