![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/DatasetLicenseComponent.h>
Structure holding the information for one element. More...
Structure holding the information for one element.
Public Member Functions | |
DatasetInfo (const std::string &name, const std::string &authors, const std::string &website, const std::string &license, bool attributionRequired, bool commercialUseAllowed) | |
bool | operator== (const DatasetInfo &other) const |
bool | operator!= (const DatasetInfo &other) const |
![]() | |
virtual void | configure (const Properties *p) |
Configure this object instance by de-serializing the given Properties. | |
virtual void | configuration (Properties *p) const |
Serialize the current object configuration into the given Properties object. | |
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 |
Public Attributes | |
Parameter< std::string > | p_name = {"name", "", this} |
Name of the dataset. | |
Parameter< std::string > | p_authors = {"authors", "", this} |
Authors and affiliation. | |
Parameter< std::string > | p_website = {"website", "", this} |
Link to the dataset website. | |
Parameter< std::string > | p_license = {"license", "", this} |
Full license text (or link) | |
Parameter< bool > | p_attributionRequired |
Whether attribution to the dataset in the acknowledgments is required. | |
Parameter< bool > | p_commercialUseAllowed |
Whether the dataset can be used for commercial applications. | |
![]() | |
Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Additional Inherited Members | |
![]() | |
std::vector< Param > | m_params |
List of all registered Parameter and SubProperty instances. | |
Parameter<bool> p_attributionRequired |
Whether attribution to the dataset in the acknowledgments is required.
Parameter<bool> p_commercialUseAllowed |
Whether the dataset can be used for commercial applications.