ImFusion SDK 4.3
DatasetLicenseComponent::DatasetInfo Struct Reference

#include <ImFusion/Base/DatasetLicenseComponent.h>

Structure holding the information for one element. More...

+ Inheritance diagram for DatasetLicenseComponent::DatasetInfo:

Detailed Description

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
 
- Public Member Functions inherited from Configurable
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
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Public Attributes

Parameter< std::stringp_name = {"name", "", this}
 Name of the dataset.
 
Parameter< std::stringp_authors = {"authors", "", this}
 Authors and affiliation.
 
Parameter< std::stringp_website = {"website", "", this}
 Link to the dataset website.
 
Parameter< std::stringp_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.
 
- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 

Additional Inherited Members

- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Data Documentation

◆ p_attributionRequired

Parameter<bool> p_attributionRequired
Initial value:
= {"attributionRequired",
true,
this}

Whether attribution to the dataset in the acknowledgments is required.

◆ p_commercialUseAllowed

Parameter<bool> p_commercialUseAllowed
Initial value:
= {"commercialUseAllowed",
false,
this}

Whether the dataset can be used for commercial applications.


The documentation for this struct was generated from the following file:
Search Tab / S to search, Esc to close