33 #include "dcmtk/config/osconfig.h" 35 #include "dcmtk/dcmdata/dcelem.h" 52 const Uint32 len = 0);
94 virtual DcmEVR
ident()
const;
104 const OFBool oldFormat = OFFalse);
110 virtual unsigned long getVM();
120 virtual void print(STD_NAMESPACE ostream&out,
121 const size_t flags = 0,
123 const char *pixelFileName = NULL,
124 size_t *pixelCounter = NULL);
132 const unsigned long pos = 0);
147 const unsigned long pos,
148 OFBool normalize = OFTrue);
156 const unsigned long pos = 0);
164 const unsigned long numSints);
virtual unsigned long getVM()
get value multiplicity.
abstract base class for all DICOM elements
virtual OFCondition putSint16Array(const Sint16 *sintVals, const unsigned long numSints)
set element value to given integer array data
virtual DcmObject * clone() const
clone method
this class encapsulates an attribute tag (group, element) and a VR.
DcmSignedShort(const DcmTag &tag, const Uint32 len=0)
constructor.
virtual ~DcmSignedShort()
destructor
Abstract base class for most classes in module dcmdata.
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
DcmSignedShort & operator=(const DcmSignedShort &obj)
assignment operator
virtual OFCondition putSint16(const Sint16 sintVal, const unsigned long pos=0)
set particular element value to given integer
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get particular value as a character string
virtual void print(STD_NAMESPACE ostream &out, const size_t flags=0, const int level=0, const char *pixelFileName=NULL, size_t *pixelCounter=NULL)
print element to a stream.
virtual DcmEVR ident() const
get element type identifier
a class representing the DICOM value representation 'Signed Short' (SS)
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
a simple string class that implements a subset of std::string.
virtual OFCondition getSint16(Sint16 &sintVal, const unsigned long pos=0)
get particular integer value
virtual OFCondition getSint16Array(Sint16 *&sintVals)
get reference to stored integer data
General purpose class for condition codes.
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM