OpenIndy-Core  0.2.0.43
util.cpp File Reference
#include "util.h"
#include "featurewrapper.h"

Namespaces

 oi
 
 oi::internal
 

Functions

void oi::internal::init ()
 
QList< ElementTypes > OI_CORE_EXPORT oi::getAvailableElementTypes ()
 getAvailableElementTypes More...
 
QList< FeatureTypes > OI_CORE_EXPORT oi::getAvailableFeatureTypes ()
 getAvailableFeatureTypes More...
 
QList< GeometryTypes > OI_CORE_EXPORT oi::getAvailableGeometryTypes ()
 getAvailableGeometryTypes More...
 
const QString OI_CORE_EXPORToi::getElementTypeName (const ElementTypes &type)
 getElementTypeName More...
 
const QString OI_CORE_EXPORToi::getElementTypePluralName (const ElementTypes &type)
 getElementTypePluralName More...
 
ElementTypes OI_CORE_EXPORT oi::getElementTypeEnum (const QString &name)
 getElementTypeEnum More...
 
ElementTypes OI_CORE_EXPORT oi::getElementTypeEnum (const FeatureTypes &type)
 getElementTypeEnum Converts FeatureTypes to ElementTypes More...
 
ElementTypes OI_CORE_EXPORT oi::getElementTypeEnum (const ReadingTypes &type)
 getElementTypeEnum convert ReadingTypes to ElementTypes More...
 
const QString OI_CORE_EXPORToi::getFeatureTypeName (const FeatureTypes &type)
 getFeatureTypeName More...
 
FeatureTypes OI_CORE_EXPORT oi::getFeatureTypeEnum (const QString &name)
 getFeatureTypeEnum More...
 
const QString OI_CORE_EXPORToi::getGeometryTypeName (const GeometryTypes &type)
 getGeometryTypeName More...
 
GeometryTypes OI_CORE_EXPORT oi::getGeometryTypeEnum (const QString &name)
 getGeometryTypeEnum More...
 
GeometryTypes OI_CORE_EXPORT oi::getGeometryTypeEnum (const FeatureTypes &type)
 getGeometryTypeEnum More...
 
bool OI_CORE_EXPORT oi::getIsFeature (const ElementTypes &type)
 getIsFeature More...
 
bool OI_CORE_EXPORT oi::getIsReading (const ElementTypes &type)
 getIsReading More...
 
bool OI_CORE_EXPORT oi::getIsObservation (const ElementTypes &type)
 getIsObservation More...
 
bool OI_CORE_EXPORT oi::getIsGeometry (const FeatureTypes &type)
 getIsGeometry More...
 
bool OI_CORE_EXPORT oi::getIsScalarEntity (const FeatureTypes &type)
 getIsScalarEntity More...
 
const QString OI_CORE_EXPORToi::getElementTypeIconPath (const ElementTypes &type)
 getElementTypeIconPath More...
 
const QString OI_CORE_EXPORToi::getFeatureTypeIconPath (const FeatureTypes &type)
 getFeatureTypeIconPath More...
 
const QString OI_CORE_EXPORToi::getReadingTypeName (const ReadingTypes &type)
 getReadingTypeName More...
 
ReadingTypes OI_CORE_EXPORT oi::getReadingTypeEnum (const QString &name)
 getReadingTypeEnum More...
 
const QList< int > OI_CORE_EXPORToi::getFeatureDisplayAttributes ()
 getFeatureDisplayAttributes Returns a list of enum values (feature attributes and trafo param attributes) More...
 
const QList< ObservationDisplayAttributes > OI_CORE_EXPORToi::getObservationDisplayAttributes ()
 getObservationDisplayAttributes More...
 
const QList< ReadingDisplayAttributes > OI_CORE_EXPORToi::getReadingDisplayAttributes ()
 getReadingDisplayAttributes More...
 
bool OI_CORE_EXPORT oi::getIsFeatureDisplayAttribute (const int &attr)
 getIsFeatureDisplayAttribute Returns true if the given attribute is a feature attribute More...
 
bool OI_CORE_EXPORT oi::getIsTrafoParamDisplayAttribute (const int &attr)
 getIsTrafoParamDisplayAttribute Returns true if the given attribute is a trafo param attribute More...
 
const QString OI_CORE_EXPORToi::getFeatureDisplayAttributeName (const int &attr)
 getDisplayAttributeName Returns the name of the attribute represented by the given enum value More...
 
const QString OI_CORE_EXPORToi::getFeatureDisplayAttributeName (const FeatureDisplayAttributes &attr)
 getDisplayAttributeName More...
 
const QString OI_CORE_EXPORToi::getFeatureDisplayAttributeName (const TrafoParamDisplayAttributes &attr)
 getDisplayAttributeName More...
 
bool OI_CORE_EXPORT oi::getReadingDisplayAttributeVisibility (const ReadingDisplayAttributes &attr, const ReadingTypes &type)
 getReadingDisplayAttributeVisibility More...
 
const QString OI_CORE_EXPORToi::getObservationDisplayAttributesName (const ObservationDisplayAttributes &attr)
 getObservationDisplayAttributesName More...
 
const QString OI_CORE_EXPORToi::getReadingDisplayAttributeName (const ReadingDisplayAttributes &attr)
 getReadingDisplayAttributeName More...
 
ObservationDisplayAttributes OI_CORE_EXPORT oi::getObservationDisplayAttributeEnum (const QString &name)
 getObservationDisplayAttributeEnum More...
 
ReadingDisplayAttributes OI_CORE_EXPORT oi::getReadingDisplayAttributeEnum (const QString &name)
 getReadingDisplayAttributeEnum More...
 
double OI_CORE_EXPORT oi::convertToDefault (const double &value, const UnitType &type)
 convertToDefault Convert the given value of unit type to the default unit More...
 
double OI_CORE_EXPORT oi::convertFromDefault (const double &value, const UnitType &type)
 convertFromDefault Convert the given value of default unit to the specified unit type More...
 
const QString OI_CORE_EXPORToi::getUnitTypeName (const UnitType &type)
 getUnitTypeName More...
 
UnitType OI_CORE_EXPORT oi::getUnitTypeEnum (const QString &name)
 getUnitTypeEnum More...
 
QList< SensorTypes > OI_CORE_EXPORT oi::getAvailableSensorTypes ()
 getAvailableSensorTypes More...
 
const QString OI_CORE_EXPORToi::getSensorTypeName (const SensorTypes &type)
 getSensorTypeName More...
 
SensorTypes OI_CORE_EXPORT oi::getSensorTypeEnum (const QString &name)
 getSensorTypeEnum More...
 
QList< SensorFunctions > OI_CORE_EXPORT oi::getAvailableSensorFunctions ()
 getAvailableSensorFunctions More...
 
const QString OI_CORE_EXPORToi::getSensorFunctionName (const SensorFunctions &type)
 getSensorFunctionName More...
 
SensorFunctions OI_CORE_EXPORT oi::getSensorFunctionEnum (const QString &name)
 getSensorFunctionEnum More...
 
QList< ConnectionTypes > OI_CORE_EXPORT oi::getAvailableConnectionTypes ()
 getAvailableConnectionTypes More...
 
const QString OI_CORE_EXPORToi::getConnectionTypeName (const ConnectionTypes &type)
 getConnectionTypeName More...
 
ConnectionTypes OI_CORE_EXPORT oi::getConnectionTypeEnum (const QString &name)
 getConnectionTypeEnum More...
 
QList< ToolTypes > OI_CORE_EXPORT oi::getAvailableToolTypes ()
 getAvailableToolTypes More...
 
const QString OI_CORE_EXPORToi::getToolTypeName (const ToolTypes &type)
 getToolTypeName More...
 
ToolTypes OI_CORE_EXPORT oi::getToolTypeEnum (const QString &name)
 getToolTypeEnum More...
 
QList< MessageTypes > OI_CORE_EXPORT oi::getAvailableMessageTypes ()
 getAvailableMessageTypes More...
 
const QString OI_CORE_EXPORToi::getMessageTypeName (const MessageTypes &type)
 getMessageTypeName More...
 
MessageTypes OI_CORE_EXPORT oi::getMessageTypeEnum (const QString &name)
 getMessageTypeEnum More...
 
QList< GeometryParameters > OI_CORE_EXPORT oi::getAvailableGeometryParameters ()
 getAvailableUnknownParameters More...
 
const QString OI_CORE_EXPORToi::getGeometryParameterName (const GeometryParameters &parameter)
 getUnknownParameterName More...
 
GeometryParameters OI_CORE_EXPORT oi::getGeometryParameterEnum (const QString &name)
 getUnknownParameterEnum More...
 
QList< GeometryParameters > OI_CORE_EXPORT oi::getGeometryParameters (const GeometryTypes &type)
 getUnknownParameters More...
 
QList< TrafoParamParameters > OI_CORE_EXPORT oi::getAvailableTrafoParamParameters ()
 getAvailableTrafoParamParameters More...
 
const QString OI_CORE_EXPORToi::getTrafoParamParameterName (const TrafoParamParameters &parameter)
 getTrafoParamParameterName More...
 
TrafoParamParameters OI_CORE_EXPORT oi::getTrafoParamParameterEnum (const QString &name)
 getTrafoParamParameterEnum More...
 
QList< ActualNominalFilter > OI_CORE_EXPORT oi::getAvailableActualNominalFilters ()
 getAvailableActualNominalFilters More...
 
const QString OI_CORE_EXPORToi::getActualNominalFilterName (const ActualNominalFilter &type)
 getActualNominalFilterName More...
 
ActualNominalFilter OI_CORE_EXPORT oi::getActualNominalFilterEnum (const QString &name)
 getActualNominalFilterEnum More...
 

Variables

QMap< ElementTypes, QString > oi::internal::elementTypesMap
 
QMap< ElementTypes, QString > oi::internal::elementTypesPluralMap
 
QMap< FeatureTypes, QString > oi::internal::featureTypesMap
 
QMap< GeometryTypes, QString > oi::internal::geometryTypesMap
 
QMap< ElementTypes, QString > oi::internal::elementTypeIcons
 
QMap< FeatureTypes, QString > oi::internal::featureTypeIcons
 
QMap< ReadingTypes, QString > oi::internal::readingTypesMap
 
QMap< FeatureDisplayAttributes, QString > oi::internal::featureDisplayAttributesMap
 
QMap< TrafoParamDisplayAttributes, QString > oi::internal::trafoParamDisplayAttributesMap
 
QMap< ObservationDisplayAttributes, QString > oi::internal::observationDisplayAttributesMap
 
QMap< ReadingDisplayAttributes, QString > oi::internal::readingDisplayAttributesMap
 
QList< int > oi::internal::featureDisplayAttributes
 
QList< ObservationDisplayAttributes > oi::internal::observationDisplayAttributes
 
QList< ReadingDisplayAttributes > oi::internal::readingDisplayAttributes
 
QMap< UnitType, QString > oi::internal::unitTypesMap
 
QMap< SensorTypes, QString > oi::internal::sensorTypesMap
 
QMap< SensorFunctions, QString > oi::internal::sensorFunctionsMap
 
QMap< ConnectionTypes, QString > oi::internal::connectionTypesMap
 
QMap< ToolTypes, QString > oi::internal::toolTypesMap
 
QMap< MessageTypes, QString > oi::internal::messageTypesMap
 
QMap< GeometryParameters, QString > oi::internal::geometryParametersMap
 
QMap< TrafoParamParameters, QString > oi::internal::trafoParamParametersMap
 
QMap< ActualNominalFilter, QString > oi::internal::actualNominalFilterMap
 
QString oi::internal::undefined = ""
 
bool oi::internal::isInit = false