Beispiel #1
0
		internal DicomVR(string value, string desc, bool isString, bool isEncodedString, bool is16BitLength, 
			byte padding, int maxLength, int unitSize, DicomVrRestriction restriction) {
			_strval = value;
			_hash = (((int)value[0] << 8) | (int)value[1]);
			_desc = desc;
			_isString = isString;
			_isEncodedString = isEncodedString;
			_is16BitLength = is16BitLength;
			_padding = padding;
			_maxLength = maxLength;
			_unitSize = unitSize;
			_restriction = restriction;
		}
Beispiel #2
0
 internal DicomVR(string value, string desc, bool isString, bool isEncodedString, bool is16BitLength,
                  byte padding, int maxLength, int unitSize, DicomVrRestriction restriction)
 {
     _strval          = value;
     _hash            = (((int)value[0] << 8) | (int)value[1]);
     _desc            = desc;
     _isString        = isString;
     _isEncodedString = isEncodedString;
     _is16BitLength   = is16BitLength;
     _padding         = padding;
     _maxLength       = maxLength;
     _unitSize        = unitSize;
     _restriction     = restriction;
 }