Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
Namespace.h File Reference
Include dependency graph for ipj/iface/Namespace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sf
 

Typedefs

typedef TStringList< std::string > sf::StringList
 
typedef TEnvelope< IniProfilesf::IniEnvelope
 
typedef IniProfile::KeyValueMap sf::KeyValues
 
typedef bool(* sf::TAddProjectPropertyPage) (PropertySheetDialog *sheet, const QString &ref_name)
 Type for registering tool and element editor property pages.
 
typedef bool(* sf::TGenerateReportEvent) (ProjectData *data, QStringList *templates)
 Type for registering the report generation event handler.
 
typedef QFlags< EReportOptionsf::ReportOptions
 Reporting option flags.
 

Enumerations

enum  sf::EMaterialType : int { sf::mtMAT_ALL = -1 , sf::mtMAT_LIQUID = 0 , sf::mtMAT_SOLID , sf::mtMAT_GAS }
 Enumerate type to identify a material. More...
 
enum  sf::ECalibrationType : int { sf::ctCAL_NONE = 0 , sf::ctCAL_PRE , sf::ctCAL_POST , sf::ctCAL_LASTENTRY }
 Type to identify a scan area type. More...
 
enum  sf::EInspectionState : int { sf::isUNKNOWN = 0 , sf::isACCEPTED , sf::isREJECTED , sf::isLASTENTRY }
 States for results of an inspection. More...
 
enum  sf::ESystemPosition : int {
  sf::spSYSPOS_NONE = -1 , sf::spSYSPOS_PARK , sf::spSYSPOS_LOAD , sf::spSYSPOS_TOOL ,
  sf::spSYSPOS_LASTENTRY
}
 Fixed system dependent axis positions. More...
 
enum  sf::EReportOption : int {
  sf::roFILE , sf::roVIEW , sf::roPRINT , sf::roSHORTCUT ,
  sf::roSEND
}
 Final reporting options. More...
 

Functions

constexpr std::string_view sf::SEC_TE_SELECTED ("Selected")
 
constexpr std::string_view sf::SEC_TE_SERIALS ("Serial Numbers")
 
constexpr std::string_view sf::SEC_TE_INFO ("Information")
 
constexpr std::string_view sf::SEC_MAT_SOUNDVEL ("Sound Velocity")
 
constexpr std::string_view sf::SEC_MAT_INFO ("Information")
 
constexpr std::string_view sf::KEY_MAT_LONGITUDINAL ("Longitudinal")
 
constexpr std::string_view sf::KEY_MAT_SHEAR ("Shear")
 
constexpr std::string_view sf::KEY_MAT_FORM ("Form")
 
constexpr std::string_view sf::SUBDIR_PART ("Part")
 
constexpr std::string_view sf::SUBDIR_TOOL ("Tool")
 
constexpr std::string_view sf::SUBDIR_ELEMENT ("Element")
 
constexpr std::string_view sf::SUBDIR_MATERIAL ("Material")
 
constexpr std::string_view sf::SUBDIR_SETTINGS ("Settings")
 
constexpr std::string_view sf::SUBDIR_TEMPLATE ("Template")
 
constexpr std::string_view sf::EXT_PROJECT (".iprj")
 
constexpr std::string_view sf::EXT_AREASCAN (".ascn")
 
constexpr std::string_view sf::EXT_AREASTATE (".ascns")
 
constexpr std::string_view sf::EXT_ELEMENT (".elem")
 
constexpr std::string_view sf::EXT_MATERIAL (".mater")
 
constexpr std::string_view sf::EXT_SETTINGS (".gisf")
 
constexpr std::string_view sf::EXT_FILTERS (".fltr")
 
constexpr std::string_view sf::EXT_TOOL (".tool")
 
constexpr std::string_view sf::FILE_PICTURE ("picture.jpg")
 
constexpr std::string_view sf::EXT_INSPECTION (".insp")
 
constexpr std::string_view sf::FILE_INSPECTION ("Inspection")
 
constexpr std::string_view sf::FILE_PARTSTATE ("PartState")
 
constexpr std::string_view sf::EXT_CALIB (".calib")
 
constexpr std::string_view sf::HLPCTX_SETUPFAIL ("fail_setup_change")
 
constexpr std::string_view sf::PROJECT_NAME_DELIM ("@")
 
constexpr std::string_view sf::PROJECT_FULL_DELIM ("|")
 
constexpr std::string_view sf::INSPECT_SERIAL_DELIM (">")
 
constexpr std::string_view sf::INSPECT_DATETIME_DELIM ("<")
 
constexpr std::string_view sf::SEC_INSP_GENERAL ("General")
 
constexpr std::string_view sf::SEC_INSP_CUSTOM ("Custom")
 
constexpr std::string_view sf::SEC_INSP_ANALYSIS ("Analysis")
 
constexpr std::string_view sf::SEC_INSP_AREA_PREFIX ("ScanArea,")
 
constexpr std::string_view sf::SEC_INSP_CALIB ("Calibration,")
 
constexpr std::string_view sf::KEY_INSP_SYSNAME ("System Name")
 
constexpr std::string_view sf::KEY_INSP_SYSUSER ("System User")
 
constexpr std::string_view sf::KEY_INSP_APPUSER ("Application User")
 
constexpr std::string_view sf::KEY_INSP_SCANUSER ("User Name")
 
constexpr std::string_view sf::KEY_INSP_DATETIME ("Date Time")
 
constexpr std::string_view sf::KEY_INSP_PART ("Part")
 
constexpr std::string_view sf::KEY_INSP_PROJECT ("Project")
 
constexpr std::string_view sf::KEY_INSP_SERIAL ("Serial")
 
constexpr std::string_view sf::KEY_INSP_STATE ("State")
 
constexpr std::string_view sf::KEY_INSP_CALTYPE ("CalType")
 
constexpr std::string_view sf::KEY_INSP_COMMENT ("Comment")
 
constexpr std::string_view sf::KEY_INSP_DATAFILE ("DataFile")
 
constexpr std::string_view sf::KEY_INSP_FINALIZED ("Finalized")
 
constexpr std::string_view sf::KEY_INSP_FINALIZEDATE ("Finalize Date")
 
constexpr std::string_view sf::KEY_INSP_FINALIZEUSER ("Finalize User")
 
constexpr std::string_view sf::SEC_CFG_GENERAL ("General")
 
constexpr std::string_view sf::KEY_CFG_DESIG_PREFIX ("Designation_")
 
constexpr std::string_view sf::KEY_CFG_SETTINGSGLOBAL ("Settings Global")
 
constexpr std::string_view sf::KEY_CFG_FILTERLISTGLOBAL ("Filter List Global")
 
constexpr std::string_view sf::SEC_MOD_SYSPOS ("System Positions")
 
constexpr std::string_view sf::STR_VERSION ("0.0")
 
constexpr std::string_view sf::SEC_GENERAL ("General")
 
constexpr std::string_view sf::KEY_VERSION ("Version")
 
constexpr std::string_view sf::KEY_CREATED ("Created At")
 
constexpr std::string_view sf::KEY_CREATOR ("Created By")
 
constexpr std::string_view sf::KEY_MODIFIED ("Modify Date")
 
constexpr std::string_view sf::KEY_MODIFIER ("Modify By")
 
constexpr std::string_view sf::SEC_SCANS ("Scans")
 
constexpr std::string_view sf::KEY_SCANCOUNT ("Scan Count")
 
constexpr std::string_view sf::KEY_SCANAREA ("Scan Area")
 
constexpr std::string_view sf::KEY_SCANMETHOD ("Scan Method")
 
constexpr std::string_view sf::KEY_SCANBINDER ("Scan Binder")
 
constexpr std::string_view sf::SEC_REPORT ("Report")
 
constexpr std::string_view sf::KEY_OPTIONS ("Options")
 
constexpr std::string_view sf::KEY_TEMPLATE ("Template")
 
QString sf::GetFilteredString (const QString &str, const QString &filter)
 Filters a string removing all characters from the given filter string.
 
QString _IPJ_FUNC sf::GetMaterialTypeName (EMaterialType)
 Gets the passed material type as a name.
 
EMaterialType _IPJ_FUNC sf::GetMaterialType (const QString &mat_type)
 Gets the passed calibration type name as enumerate value.
 
_IPJ_FUNC QString sf::GetCalibrationTypeName (ECalibrationType)
 Returns the passed calibration type as a name.
 
_IPJ_FUNC ECalibrationType sf::GetCalibrationType (const QString &cal_type)
 Returns the passed calibration type name as enumerate value.
 
_IPJ_FUNC QString sf::GetInspectionStateName (EInspectionState)
 Gets the passed inspection state as a name.
 
_IPJ_FUNC EInspectionState sf::GetInspectionState (const QString &state_name)
 Gets the passed inspection state name as enumerate value.
 
_IPJ_FUNC QString sf::GetSystemPositionName (ESystemPosition sp)
 Gets the passed system position name.
 
_IPJ_FUNC ESystemPosition sf::GetSystemPositionFromName (const QString &sp)
 Gets the system position from the name.
 
_IPJ_FUNC QString sf::GetSystemPositionInfo (ESystemPosition sp)
 Gets the current scan inspection state converted from the passed name.
 
_IPJ_FUNC ProjectModulesf::getProjectModule ()
 Creates the project module when called for.
 
_IPJ_FUNC void sf::destroyProjectModule ()
 Deletes the project module if it was created.
 
_IPJ_FUNC QString sf::GetReportOptionDescription (EReportOption ro)
 Gets the option description of the passed style.
 
_IPJ_FUNC void sf::GetReportOptionDescriptions (QStringList &strings)
 Gets the description in a string list of the passed options.
 
_IPJ_FUNC QString sf::DateTimeToInspectStr (const QDateTime &dt)
 Converts a TDateTime to an inspection date time string.
 
_IPJ_FUNC QDateTime sf::InspectStrToDateTime (const QString &str)
 Converts an inspection date time string into a QDateTime value.
 
_IPJ_FUNC const char * sf::GetProjectNameFilter ()
 Returns characters that are not allowed to appear in the names.
 
_IPJ_FUNC std::string sf::compatCommaSepString (const std::string &str)
 Gets a '(' and ')' wrapped string when the given string is not.