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);
109 virtual unsigned long getVM();
119 virtual void print(STD_NAMESPACE ostream&out,
120 const size_t flags = 0,
122 const char *pixelFileName = NULL,
123 size_t *pixelCounter = NULL);
131 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 OFCondition getSint32Array(Sint32 *&sintVals)
get reference to stored integer data.
DcmSignedLong(const DcmTag &tag, const Uint32 len=0)
constructor.
abstract base class for all DICOM elements
this class encapsulates an attribute tag (group, element) and a VR.
Abstract base class for most classes in module dcmdata.
virtual OFCondition getSint32(Sint32 &sintVal, const unsigned long pos=0)
get particular integer value
virtual ~DcmSignedLong()
destructor
virtual OFCondition verify(const OFBool autocorrect=OFFalse)
check the currently stored element value
virtual OFCondition putString(const char *stringVal)
set element value from the given character string.
a class representing the DICOM value representation 'Signed Long' (SL)
virtual OFCondition putSint32Array(const Sint32 *sintVals, const unsigned long numSints)
set element value to given integer array data
virtual DcmObject * clone() const
clone method
virtual OFCondition putSint32(const Sint32 sintVal, const unsigned long pos=0)
set particular element value to given integer
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
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual DcmEVR ident() const
get element type identifier
a simple string class that implements a subset of std::string.
DcmSignedLong & operator=(const DcmSignedLong &obj)
assignment operator
virtual unsigned long getVM()
get value multiplicity
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.
General purpose class for condition codes.