GDCM
2.2.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
DataStructureAndEncodingDefinition
gdcmLO.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: GDCM (Grassroots DICOM). A DICOM library
4
5
Copyright (c) 2006-2011 Mathieu Malaterre
6
All rights reserved.
7
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
#ifndef GDCMLO_H
15
#define GDCMLO_H
16
17
#include "
gdcmString.h
"
18
19
namespace
gdcm
20
{
21
27
class
/*GDCM_EXPORT*/
LO
:
public
String
<'\\',64>
/* PLEASE do not export me */
28
{
29
public
:
30
// typedef are not inherited:
31
typedef
String<'\\',64>
Superclass
;
32
typedef
Superclass::value_type
value_type
;
33
typedef
Superclass::pointer
pointer
;
34
typedef
Superclass::reference
reference
;
35
typedef
Superclass::const_reference
const_reference
;
36
typedef
Superclass::size_type
size_type
;
37
typedef
Superclass::difference_type
difference_type
;
38
typedef
Superclass::iterator
iterator
;
39
typedef
Superclass::const_iterator
const_iterator
;
40
typedef
Superclass::reverse_iterator
reverse_iterator
;
41
typedef
Superclass::const_reverse_iterator
const_reverse_iterator
;
42
43
// LO constructors.
44
LO
():
Superclass
() {}
45
LO
(
const
value_type
* s):
Superclass
(s) {}
46
LO
(
const
value_type
* s,
size_type
n):
Superclass
(s, n) {}
47
LO
(
const
Superclass
& s,
size_type
pos=0,
size_type
n=npos):
48
Superclass
(s, pos, n) {}
49
50
bool
IsValid
()
const
{
51
if
( !
Superclass::IsValid
() )
return
false
;
52
// Implementation specific:
53
return
true
;
54
}
55
};
56
57
}
// end namespace gdcm
58
59
#endif //GDCMLO_H
Generated on Wed Jun 13 2012 20:40:37 for GDCM by
1.8.1