- int Count(VRKey const & key);
- bool IsVROfGdcmBinaryRepresentable(VRKey const & tested);
- bool IsVROfGdcmStringRepresentable(VRKey const & tested);
+
+ /// \brief Get the count for an element
+ int Count(VRKey const &key) { return vr.count(key); };
+
+ bool IsVROfBinaryRepresentable(VRKey const &tested);
+ bool IsVROfStringRepresentable(VRKey const &tested);
+
+ /// \brief Simple predicate that checks whether the given argument
+ /// corresponds to the Value Representation of a \ref SeqEntry
+ bool IsVROfSequence(VRKey const &tested) { return tested == "SQ"; }
+
+ bool IsValidVR(VRKey const &key) { return vr.find(key) != vr.end(); }
+
+ unsigned short GetAtomicElementLength(VRKey const &vr);