fixed: the result of getOpenMode() should compare to the constant ios::in instead of   some integer number!
fixed: the result of getOpenMode() should compare to the constant ios::in instead of
  some integer number!

tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball,tkemmer/ball