• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

include/idutils.h

Go to the documentation of this file.
00001 
00026 #ifndef ID_UTILS_H
00027 #define ID_UTILS_H
00028 
00029 #include <QString>
00030 
00037 inline QString getCleanId(const QString& id)
00038 {
00039     const char SENSOR_TYPE_SEPARATOR = ';';
00040     int pos = id.indexOf(SENSOR_TYPE_SEPARATOR);
00041     return pos != -1 ? id.left(pos) : id;
00042 }
00043 
00044 #endif // ID_UTILS_H

Generated on Tue Jun 10 2014 06:25:08 for sensorfw by  doxygen 1.7.1