Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::InformationListIdModel::Entry Class Reference

#include <InformationListIdModel.h>

Inheritance diagram for sf::InformationListIdModel::Entry:
Collaboration diagram for sf::InformationListIdModel::Entry:

Public Member Functions

 Entry (InformationBase *info_base, const QString &purpose, const QString &tip={})
 Initializing constructor.
 
 Entry (gii::TypeId type_id, gii::IdType *id, const QString &purpose, const QString &tip={})
 Initializing constructor.
 
gii::IdType getId () const
 Gets the current desired id of the information object.
 
QString getIdString () const
 Gets the current desired id of the information object as a hexadecimal string.
 
void setId (gii::IdType id)
 Sets the information id.
 
void setIdString (const QString &id)
 Sets the information id.
 
QString getName (int level) const
 Gets the name path of the information object.
 

Constructor & Destructor Documentation

◆ Entry() [1/2]

sf::InformationListIdModel::Entry::Entry ( InformationBase info_base,
const QString &  purpose,
const QString &  tip = {} 
)

Initializing constructor.

Parameters
info_baseInformation object pointer of sf::Variable or sf::ResultData.
purposeIndicating the purpose of this object.
tipAdditional optional information on the purpose.

◆ Entry() [2/2]

sf::InformationListIdModel::Entry::Entry ( gii::TypeId  type_id,
gii::IdType id,
const QString &  purpose,
const QString &  tip = {} 
)

Initializing constructor.

Parameters
type_idInformation id type.
idPointer to the information id value.
purposeIndicating the purpose of this object.
tipAdditional optional information on the purpose.

Member Function Documentation

◆ getId()

gii::IdType sf::InformationListIdModel::Entry::getId ( ) const

Gets the current desired id of the information object.

◆ getIdString()

QString sf::InformationListIdModel::Entry::getIdString ( ) const

Gets the current desired id of the information object as a hexadecimal string.

◆ getName()

QString sf::InformationListIdModel::Entry::getName ( int  level) const

Gets the name path of the information object.

Parameters
levelName level to get.
Returns

◆ setId()

void sf::InformationListIdModel::Entry::setId ( gii::IdType  id)

Sets the information id.

Parameters
idVariable or result-data id.

◆ setIdString()

void sf::InformationListIdModel::Entry::setIdString ( const QString &  id)

Sets the information id.

Parameters
idVariable or result-data id hexadecimal string.

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