GDCM  2.2.6
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:
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
Superclass::reference reference
Definition: gdcmLO.h:34
LO(const Superclass &s, size_type pos=0, size_type n=npos)
Definition: gdcmLO.h:47
Superclass::const_reverse_iterator const_reverse_iterator
Definition: gdcmLO.h:41
Superclass::iterator iterator
Definition: gdcmLO.h:38
String<'\\', 64 > Superclass
Definition: gdcmLO.h:31
LO(const value_type *s, size_type n)
Definition: gdcmLO.h:46
Superclass::size_type size_type
Definition: gdcmLO.h:36
LO.
Definition: gdcmLO.h:27
Superclass::const_iterator const_iterator
Definition: gdcmLO.h:39
LO()
Definition: gdcmLO.h:44
Superclass::value_type value_type
Definition: gdcmLO.h:32
bool IsValid() const
Definition: gdcmLO.h:50
Superclass::const_reference const_reference
Definition: gdcmLO.h:35
Superclass::difference_type difference_type
Definition: gdcmLO.h:37
LO(const value_type *s)
Definition: gdcmLO.h:45
String.
Definition: gdcmString.h:31
Superclass::reverse_iterator reverse_iterator
Definition: gdcmLO.h:40
Superclass::pointer pointer
Definition: gdcmLO.h:33

Generated on Sat Dec 21 2013 05:56:17 for GDCM by doxygen 1.8.5
SourceForge.net Logo