]> Creatis software - creaBruker.git/blobdiff - lib/src1/brukerobjectvaryingproperties.h
use 'unsigned int' instead of 'int' and save a lot of runtime 'if'
[creaBruker.git] / lib / src1 / brukerobjectvaryingproperties.h
index 9158a68068589e541c688a6dffe8911e40ec7feb..8e7d76ad02ff7c74354314c60d9b8ed0033f5716 100644 (file)
@@ -32,14 +32,14 @@ public:
    BrukerObjectVaryingProperties();
    ~BrukerObjectVaryingProperties();
    
-   double getTE               (int theValue) const;
-   double getPositionP        (int theValue) const;
-   double getPositionR        (int theValue) const;
-   double getPositionS        (int theValue) const;
-   double getPositionTimePerNR(int theValue) const;
-   int    getAcquisitionOrder (int theValue) const;
+   double getTE               (unsigned int theValue) const;
+   double getPositionP        (unsigned int theValue) const;
+   double getPositionR        (unsigned int theValue) const;
+   double getPositionS        (unsigned int theValue) const;
+   double getPositionTimePerNR(unsigned int theValue) const;
+   int    getAcquisitionOrder (unsigned int theValue) const;
 
-   std::vector<std::vector<double> > getOrientation(int theValue) const;
+   std::vector<std::vector<double> > getOrientation(unsigned int theValue) const;
 
    bool init(std::map<std::string, BrukerFieldData> &BrukerHM, std::vector<int> &LoopStruct);