- if (tested == "AE" || tested == "AS" || tested == "DA" || tested == "PN" ||
- tested == "UI" || tested == "TM" || tested == "SH" || tested == "LO" ||
- tested == "CS" || tested == "IS" || tested == "LO" || tested == "LT" ||
- tested == "SH" || tested == "ST" || tested == "DS" || tested == "SL" ||
- tested == "SS" || tested == "UL" || tested == "US" )
- {
- return true;
- }
- return false;
+/**
+ * \brief Simple predicate that checks whether the given argument
+ * corresponds to the Value Representation of a \ref SeqEntry
+ * @param tested value representation to check for.
+ */
+bool VR::IsVROfSequence(VRKey const &tested)
+{
+ return tested == "SQ";
+}
+
+bool VR::IsValidVR(VRKey const &key)
+{
+ return vr.find(key) != vr.end();