OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmdata
include
dcmtk
dcmdata
dcchrstr.h
1
/*
2
*
3
* Copyright (C) 1994-2010, OFFIS e.V.
4
* All rights reserved. See COPYRIGHT file for details.
5
*
6
* This software and supporting documentation were developed by
7
*
8
* OFFIS e.V.
9
* R&D Division Health
10
* Escherweg 2
11
* D-26121 Oldenburg, Germany
12
*
13
*
14
* Module: dcmdata
15
*
16
* Author: Andreas Barth
17
*
18
* Purpose: Interface of class DcmCharString
19
*
20
* Last Update: $Author: joergr $
21
* Update Date: $Date: 2010-10-14 13:15:40 $
22
* CVS/RCS Revision: $Revision: 1.16 $
23
* Status: $State: Exp $
24
*
25
* CVS/RCS Log at end of file
26
*
27
*/
28
29
30
#ifndef DCCHRSTR_H
31
#define DCCHRSTR_H
32
33
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
34
35
//
36
// This implementation does not support 16 bit character sets. Since 8 bit
37
// character sets are supported by the class DcmByteString the class
38
// DcmCharString is derived from DcmByteString without any extensions.
39
//
40
// If the extension for 16 bit character sets will be implemented this class
41
// must be derived directly from DcmElement. This class is designed to support
42
// the value representations (LO, LT, PN, SH, ST, UT). They are a problem because
43
// their value width (1, 2, .. Bytes) is specified by the element
44
// SpecificCharacterSet (0008, 0005) and an implementation must support
45
// different value widths that cannot be derived from the value representation.
46
//
47
48
#include "dcmtk/dcmdata/dcbytstr.h"
49
50
53
class
DcmCharString
54
:
public
DcmByteString
55
{
56
57
public
:
58
64
DcmCharString
(
const
DcmTag
&tag,
65
const
Uint32 len);
66
70
DcmCharString
(
const
DcmCharString
&old);
71
74
virtual
~DcmCharString
();
75
80
DcmCharString
&
operator=
(
const
DcmCharString
&obj);
81
85
virtual
DcmObject
*
clone
()
const
86
{
87
return
new
DcmCharString
(*
this
);
88
}
89
102
virtual
OFCondition
copyFrom
(
const
DcmObject
& rhs);
103
108
virtual
OFBool
containsExtendedCharacters
(
const
OFBool checkAllStrings = OFFalse);
109
113
virtual
OFBool
isAffectedBySpecificCharacterSet
()
const
;
114
};
115
116
117
#endif // DCCHRSTR_H
118
119
120
/*
121
* CVS/RCS Log:
122
* $Log: dcchrstr.h,v $
123
* Revision 1.16 2010-10-14 13:15:40 joergr
124
* Updated copyright header. Added reference to COPYRIGHT file.
125
*
126
* Revision 1.15 2008-07-17 11:19:48 onken
127
* Updated copyFrom() documentation.
128
*
129
* Revision 1.14 2008-07-17 10:30:22 onken
130
* Implemented copyFrom() method for complete DcmObject class hierarchy, which
131
* permits setting an instance's value from an existing object. Implemented
132
* assignment operator where necessary.
133
*
134
* Revision 1.13 2006-12-15 14:18:07 joergr
135
* Added new method that checks whether a DICOM object or element is affected
136
* by SpecificCharacterSet (0008,0005).
137
*
138
* Revision 1.12 2006/12/13 13:58:15 joergr
139
* Added new optional parameter "checkAllStrings" to method containsExtended
140
* Characters().
141
*
142
* Revision 1.11 2006/05/11 08:52:09 joergr
143
* Moved checkForNonASCIICharacters() from application to library.
144
*
145
* Revision 1.10 2005/12/08 16:28:00 meichel
146
* Changed include path schema for all DCMTK header files
147
*
148
* Revision 1.9 2004/07/01 12:28:25 meichel
149
* Introduced virtual clone method for DcmObject and derived classes.
150
*
151
* Revision 1.8 2002/12/06 12:49:08 joergr
152
* Enhanced "print()" function by re-working the implementation and replacing
153
* the boolean "showFullData" parameter by a more general integer flag.
154
* Added doc++ documentation.
155
* Made source code formatting more consistent with other modules/files.
156
*
157
* Revision 1.7 2001/06/01 15:48:33 meichel
158
* Updated copyright header
159
*
160
* Revision 1.6 2000/03/08 16:26:11 meichel
161
* Updated copyright header.
162
*
163
* Revision 1.5 1999/03/31 09:24:30 meichel
164
* Updated copyright header in module dcmdata
165
*
166
*
167
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2