OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmnet
include
dcmtk
dcmnet
dccfuidh.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: dcmnet
15
*
16
* Author: Marco Eichelberg
17
*
18
* Purpose:
19
* class DcmUIDHandler
20
*
21
* Last Update: $Author: joergr $
22
* Update Date: $Date: 2010-10-14 13:17:22 $
23
* CVS/RCS Revision: $Revision: 1.3 $
24
* Status: $State: Exp $
25
*
26
* CVS/RCS Log at end of file
27
*
28
*/
29
30
#ifndef DCCFUIDH_H
31
#define DCCFUIDH_H
32
33
#include "dcmtk/config/osconfig.h"
34
#include "dcmtk/ofstd/ofstring.h"
/* for class OFString */
35
48
class
DcmUIDHandler
49
{
50
public
:
52
DcmUIDHandler
();
53
55
DcmUIDHandler
(
const
OFString
& arg);
56
58
DcmUIDHandler
(
const
char
*arg);
59
61
DcmUIDHandler
(
const
DcmUIDHandler
& arg);
62
64
DcmUIDHandler
&
operator=
(
const
DcmUIDHandler
& arg);
65
67
DcmUIDHandler
&
operator=
(
const
OFString
& arg);
68
70
DcmUIDHandler
&
operator=
(
const
char
*arg);
71
73
~DcmUIDHandler
();
74
76
OFBool
operator==
(
const
DcmUIDHandler
& arg)
const
77
{
78
return
uid_
== arg.
uid_
;
79
}
80
82
OFBool
operator!=
(
const
DcmUIDHandler
& arg)
const
83
{
84
return
uid_
!= arg.
uid_
;
85
}
86
90
OFBool
isValidUID
()
const
;
91
95
const
char
*
c_str
()
const
96
{
97
return
uid_
.
c_str
();
98
}
99
103
const
OFString
&
str
()
const
104
{
105
return
uid_
;
106
}
107
108
private
:
109
114
void
lookupSymbolicUID
();
115
117
OFString
uid_
;
118
};
119
120
121
#endif
122
123
/*
124
* CVS/RCS Log
125
* $Log: dccfuidh.h,v $
126
* Revision 1.3 2010-10-14 13:17:22 joergr
127
* Updated copyright header. Added reference to COPYRIGHT file.
128
*
129
* Revision 1.2 2005/12/08 16:02:15 meichel
130
* Changed include path schema for all DCMTK header files
131
*
132
* Revision 1.1 2003/06/10 14:27:33 meichel
133
* Initial release of class DcmAssociationConfiguration and support
134
* classes. This class maintains a list of association negotiation
135
* profiles that can be addressed by symbolic keys. The profiles may
136
* be read from a configuration file.
137
*
138
*
139
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2