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 numUints);
DcmUnsignedLong(const DcmTag &tag, const Uint32 len=0)
constructor.
virtual ~DcmUnsignedLong()
destructor
abstract base class for all DICOM elements
virtual OFCondition putUint32Array(const Uint32 *uintVals, const unsigned long numUints)
set element value to given integer array data
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 OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
virtual OFCondition getUint32(Uint32 &uintVal, const unsigned long pos=0)
get particular integer value
this class encapsulates an attribute tag (group, element) and a VR.
a class representing the DICOM value representation 'Unsigned Long' (UL)
Abstract base class for most classes in module dcmdata.
virtual OFCondition getUint32Array(Uint32 *&uintVals)
get reference to stored integer data.
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get particular value as a character string
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.
virtual OFCondition putUint32(const Uint32 uintVal, 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
DcmUnsignedLong & operator=(const DcmUnsignedLong &obj)
assignment operator
virtual DcmObject * clone() const
clone method
virtual DcmEVR ident() const
get element type identifier
virtual unsigned long getVM()
get value multiplicity
a simple string class that implements a subset of std::string.
General purpose class for condition codes.