ImFusion C++ SDK 4.4.0
ImFusion::TagValues Class Reference
Inheritance diagram for ImFusion::TagValues:

Public Member Functions

 TagValues (const TagSystem &tagSystem)
TagType type (size_t index) const
 Return the type of the TagValue as defined in the TagSystem.
bool setTag (size_t index, TagValue value)
bool setBool (size_t index, bool boolValue)
bool setEnum (size_t index, size_t enumValue)
bool setFloat (size_t index, float floatValue)
TagValue getTag (size_t index, bool *ok) const
bool getBool (size_t index, bool *ok) const
size_t getEnum (size_t index, bool *ok) const
QString getEnumName (size_t index, bool *ok) const
float getFloat (size_t index, bool *ok) const
bool areValuesDefault () const
bool setValues (std::vector< TagValue > values)
const std::vector< TagValue > & values () const
void configuration (Properties *p) const override
 Serialize the current object configuration into the given Properties object.
void configure (const Properties *p) override
 Configure this object instance by de-serializing the given Properties.
void configureFromRemote (const QJsonArray &)
bool operator== (const TagValues &) const
bool operator!= (const TagValues &) const
Public Member Functions inherited from ImFusion::Configurable
virtual void configureDefaults ()
 Retrieve the properties of this object, replaces values with their defaults and sets it again.
void registerParameter (ParameterBase *param)
 Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
void unregisterParameter (const ParameterBase *param)
 Remove the given Parameter or SubProperty from the list of registered parameters.
 Configurable (const Configurable &rhs)
 Configurable (Configurable &&rhs) noexcept
Configurable & operator= (const Configurable &)
Configurable & operator= (Configurable &&) noexcept

Additional Inherited Members

Public Attributes inherited from ImFusion::Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
Protected Attributes inherited from ImFusion::Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.

Member Function Documentation

◆ configuration()

void ImFusion::TagValues::configuration ( Properties * p) const
overridevirtual

Serialize the current object configuration into the given Properties object.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configure() for the inverse functionality

Reimplemented from ImFusion::Configurable.

◆ configure()

void ImFusion::TagValues::configure ( const Properties * p)
overridevirtual

Configure this object instance by de-serializing the given Properties.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configuration() for the inverse functionality

Reimplemented from ImFusion::Configurable.


The documentation for this class was generated from the following file:
  • ImFusionLabels/lib/include/ImFusion/Labels/Core/TagSystem.h
Search Tab / S to search, Esc to close