* OneDResultPoint.cpp
* ZXing
*
- * Created by Lukasz Warchol on 10-01-20.
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
namespace zxing {
namespace oned {
-
- using namespace std;
-
- OneDResultPoint::OneDResultPoint(float posX, float posY) : posX_(posX), posY_(posY){
+
+ OneDResultPoint::OneDResultPoint(float posX, float posY) : posX_(posX), posY_(posY) {
}
-
- float OneDResultPoint::getX() {
+
+ float OneDResultPoint::getX() const {
return posX_;
}
-
- float OneDResultPoint::getY() {
+
+ float OneDResultPoint::getY() const {
return posY_;
}
}
-}
\ No newline at end of file
+}