IComponentInfo interface class is a factory that provides detailed metadata about a component and creates new instances of a component.
More...
#include <hydrocouple.h>
|
| virtual | ~IComponentInfo ()=default |
| | IComponentInfo::~IComponentInfo is a virtual destructor.
|
| |
| virtual std::string | libraryFilePath () const =0 |
| | File path to Component library.
|
| |
| virtual void | setLibraryFilePath (const std::string &filePath)=0 |
| | Sets file path to Component library.
|
| |
| virtual std::string | iconFilePath () const =0 |
| | File path to Component icon. Must be specified relative to the component library.
|
| |
| virtual std::string | developer () const =0 |
| | Component developer information.
|
| |
| virtual std::vector< std::string > | documentation () const =0 |
| | Documentation associated with this component.
|
| |
| virtual std::string | license () const =0 |
| | Component license info.
|
| |
| virtual std::string | copyright () const =0 |
| | Component copyright info.
|
| |
| virtual std::string | url () const =0 |
| | Component developer url.
|
| |
| virtual std::string | email () const =0 |
| | Component developer email.
|
| |
| virtual std::string | version () const =0 |
| | Component version info.
|
| |
| virtual std::set< std::string > | tags () const =0 |
| | tags used to classify this component.
|
| |
| virtual | ~IIdentity ()=default |
| | IIdentity::~IIdentity is a virtual destructor.
|
| |
| virtual const std::string & | id () const =0 |
| | Gets a unique identifier for the entity.
|
| |
| virtual | ~IDescription ()=default |
| | IDescription::~IDescription is a virtual destructor.
|
| |
| virtual const std::string & | caption () const =0 |
| | Gets caption for the entity.
|
| |
| virtual void | setCaption (const std::string &caption)=0 |
| | Sets caption for the entity.
|
| |
| virtual const std::string & | description () const =0 |
| | Gets additional descriptive information for the entity.
|
| |
| virtual void | setDescription (const std::string &description)=0 |
| | Gets additional descriptive information for the entity.
|
| |
| virtual | ~IPropertyChanged ()=default |
| | IPropertyChanged::~IPropertyChanged is a virtual destructor.
|
| |
| virtual | ~ISignal ()=default |
| | ISignal::~ISignal is a virtual destructor.
|
| |
| virtual void | connect (const std::shared_ptr< ISlot< Args... > > &slot)=0 |
| | connect is used to connect a slot to the signal.
|
| |
| virtual void | disconnect (const std::shared_ptr< ISlot< Args... > > &slot)=0 |
| | disconnect is used to disconnect a slot from the signal.
|
| |
| virtual void | blockSignals (bool block)=0 |
| | blockSignals is used to block signals from being emitted.
|
| |
|
| virtual void | emit (Args... args)=0 |
| | emit is used to emit the signal.
|
| |
IComponentInfo interface class is a factory that provides detailed metadata about a component and creates new instances of a component.
It must not be implemented directly. It must be implemented as an IModelComponentInfo, an IAdaptedOutputFactoryComponentInfo, or an IWorkflowComponentInfo.
◆ ~IComponentInfo()
| virtual HydroCouple::IComponentInfo::~IComponentInfo |
( |
| ) |
|
|
virtualdefault |
◆ copyright()
| virtual std::string HydroCouple::IComponentInfo::copyright |
( |
| ) |
const |
|
nodiscardpure virtual |
Component copyright info.
- Returns
- string representing the copyright information associated with this component.
◆ developer()
| virtual std::string HydroCouple::IComponentInfo::developer |
( |
| ) |
const |
|
nodiscardpure virtual |
Component developer information.
- Returns
- Name of developer/vendor the developed this component.
◆ documentation()
| virtual std::vector< std::string > HydroCouple::IComponentInfo::documentation |
( |
| ) |
const |
|
nodiscardpure virtual |
Documentation associated with this component.
- Returns
- Citations of publication related to this component.
◆ email()
| virtual std::string HydroCouple::IComponentInfo::email |
( |
| ) |
const |
|
nodiscardpure virtual |
Component developer email.
- Returns
- email as string.
◆ iconFilePath()
| virtual std::string HydroCouple::IComponentInfo::iconFilePath |
( |
| ) |
const |
|
nodiscardpure virtual |
File path to Component icon. Must be specified relative to the component library.
- Returns
- filePath to icon for component.
◆ libraryFilePath()
| virtual std::string HydroCouple::IComponentInfo::libraryFilePath |
( |
| ) |
const |
|
nodiscardpure virtual |
File path to Component library.
- Returns
- Path to the library location from which this component was created.
- See also
- setLibraryFilePath()
◆ license()
| virtual std::string HydroCouple::IComponentInfo::license |
( |
| ) |
const |
|
nodiscardpure virtual |
Component license info.
- Returns
- string representing the license information. HTML tags can be added to it.
◆ setLibraryFilePath()
| virtual void HydroCouple::IComponentInfo::setLibraryFilePath |
( |
const std::string & | filePath | ) |
|
|
pure virtual |
Sets file path to Component library.
- Parameters
-
| filePath | to the library from which this component was created. |
- See also
- libraryFilePath()
◆ tags()
| virtual std::set< std::string > HydroCouple::IComponentInfo::tags |
( |
| ) |
const |
|
nodiscardpure virtual |
tags used to classify this component.
- Returns
- the categorical tags that can be used to classify components. e.g., Hydrology, Groundwater, Finite Volume, Finite difference.
◆ url()
| virtual std::string HydroCouple::IComponentInfo::url |
( |
| ) |
const |
|
nodiscardpure virtual |
Component developer url.
- Returns
- string representing the url for the developer.
◆ version()
| virtual std::string HydroCouple::IComponentInfo::version |
( |
| ) |
const |
|
nodiscardpure virtual |
Component version info.
- Returns
- string representing the version of this component.
The documentation for this class was generated from the following file: