vega
unsigned_short_manipulator.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <cstdint>
5 
6 namespace vega {
7  namespace manipulators {
10 
11  public:
12  virtual bool is_valid_for(const VR& vr) const override {
13  return vr == vr::US;
14  }
15  };
16  }
17 
18  namespace vr {
19  template <>
20  bool manipulator_is_valid_for<manipulators::UnsignedShortManipulator>(VR::value_type value);
21  }
22 }
virtual bool is_valid_for(const VR &vr) const override
Definition: unsigned_short_manipulator.h:12
Definition: vr.h:13
uint16_t value_type
Definition: vr.h:29
A manipulator class for VR that represent fixed size elements like integers and floating point number...
Definition: fixed_size_element_manipulator.h:20
Definition: age.h:6
Definition: unsigned_short_manipulator.h:8
const VR US
Definition: vr_constants.h:415