vega
time_manipulator.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "vega/time.h"
5 
6 namespace vega {
7  namespace manipulators {
8  class TimeManipulator : public PaddedStringManipulator<Time> {
10 
11  public:
12  virtual bool is_valid_for(const VR& vr) const override {
13  return vr == vr::TM;
14  }
15  };
16  }
17 
18  namespace vr {
19  template <>
20  bool manipulator_is_valid_for<manipulators::TimeManipulator>(VR::value_type value);
21  }
22 }
Definition: time_manipulator.h:8
Definition: vr.h:13
virtual bool is_valid_for(const VR &vr) const override
Definition: time_manipulator.h:12
uint16_t value_type
Definition: vr.h:29
Definition: age.h:6
A manipulator class for VR that represent elements which are encoded in DICOM using strings...
Definition: padded_string_manipulator.h:89
const VR TM
Definition: vr_constants.h:360