- void Print(std::ostream &os = std::cout);
- int Count(VRKey const & key);
- bool IsVROfGdcmBinaryRepresentable(VRKey const & tested);
- bool IsVROfGdcmStringRepresentable(VRKey const & tested);
+ /// \brief Simple predicate that checks whether the given argument
+ /// corresponds to the Value Representation of a SeqEntry
+ bool IsVROfSequence(VRKey const &tested) { return tested == "SQ"; }
+
+// Remove inline optimization for VS6
+#if defined(_MSC_VER) && (_MSC_VER == 1200)
+ bool IsValidVR(VRKey const &key);
+#else
+/// \brief checks if a supposed-to-be VR is a 'legal' one.
+ bool IsValidVR(VRKey const &key) { return vr.find(key) != vr.end(); }
+#endif
+
+ unsigned short GetAtomicElementLength(VRKey const &tested);
+
+protected:
+ VR();
+ ~VR();