Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::PartInspection Class Referencefinal

#include <PartInspection.h>

Collaboration diagram for sf::PartInspection:

Public Member Functions

 PartInspection ()
 Default constructor.
 
QString getPart () const
 Gets the part name.
 
void setPart (const QString &)
 Sets the part name.
 
QString getSerial () const
 Gets the serial number.
 
void setSerial (const QString &)
 Sets the serial number.
 
void setDateTimeStr (const QString &)
 Sets the date time of the inspection using a string.
 
void setDateTime (const QDateTime &dt)
 Sets the date time of the inspection.
 
QString getDateTimeStr () const
 Gets the date time as string of the inspection.
 
QString getRefName () const
 Gets reference string of the part inspection. Actually calls getPartInspection().
 
void clear ()
 Clears the part and project member.
 
void assign (const PartInspection *)
 Overridden from base class.
 
QString getPartInspection () const
 Gets the part and project using a string with delimiters.
 
void setPartInspection (const QString &)
 Sets the part and project using a string with delimiters. Delimiters used: sf::INSPECT_SERIAL_DELIM and sf::INSPECT_DATETIME_DELIM.
 
bool exists () const
 Checks if the part inspection exists.
 
bool isEmpty () const
 Checks if the instance is empty.
 
QString getFilePath () const
 Gets the file path of the project.
 
QDateTime getDateTime () const
 Gets the data time formatted string. Uses sf::InspectStrToDateTime().
 

Public Attributes

TClosure< void, const PartInspection * > onChange
 Holds the handler for notifying a change of this class.
 

Constructor & Destructor Documentation

◆ PartInspection()

sf::PartInspection::PartInspection ( )

Default constructor.

Member Function Documentation

◆ assign()

void sf::PartInspection::assign ( const PartInspection )

Overridden from base class.

◆ clear()

void sf::PartInspection::clear ( )

Clears the part and project member.

◆ exists()

bool sf::PartInspection::exists ( ) const

Checks if the part inspection exists.

◆ getDateTime()

QDateTime sf::PartInspection::getDateTime ( ) const

Gets the data time formatted string. Uses sf::InspectStrToDateTime().

◆ getDateTimeStr()

QString sf::PartInspection::getDateTimeStr ( ) const

Gets the date time as string of the inspection.

◆ getFilePath()

QString sf::PartInspection::getFilePath ( ) const

Gets the file path of the project.

◆ getPart()

QString sf::PartInspection::getPart ( ) const

Gets the part name.

◆ getPartInspection()

QString sf::PartInspection::getPartInspection ( ) const

Gets the part and project using a string with delimiters.

◆ getRefName()

QString sf::PartInspection::getRefName ( ) const

Gets reference string of the part inspection. Actually calls getPartInspection().

◆ getSerial()

QString sf::PartInspection::getSerial ( ) const

Gets the serial number.

◆ isEmpty()

bool sf::PartInspection::isEmpty ( ) const

Checks if the instance is empty.

◆ setDateTime()

void sf::PartInspection::setDateTime ( const QDateTime &  dt)

Sets the date time of the inspection.

◆ setDateTimeStr()

void sf::PartInspection::setDateTimeStr ( const QString &  )

Sets the date time of the inspection using a string.

◆ setPart()

void sf::PartInspection::setPart ( const QString &  )

Sets the part name.

◆ setPartInspection()

void sf::PartInspection::setPartInspection ( const QString &  )

Sets the part and project using a string with delimiters. Delimiters used: sf::INSPECT_SERIAL_DELIM and sf::INSPECT_DATETIME_DELIM.

◆ setSerial()

void sf::PartInspection::setSerial ( const QString &  )

Sets the serial number.

Member Data Documentation

◆ onChange

TClosure<void, const PartInspection*> sf::PartInspection::onChange

Holds the handler for notifying a change of this class.


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