GDCM: gdcmLO.h Source File

GDCM 3.0.25

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
19namespace gdcm
20{
21
27 class /*GDCM_EXPORT*/ LO : public String<'\\',64> /* PLEASE do not export me */
28{
29public:
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
gdcm::LO::LO
LO()
Definition gdcmLO.h:44
gdcm::LO::const_reverse_iterator
Superclass::const_reverse_iterator const_reverse_iterator
Definition gdcmLO.h:41
gdcm::LO::size_type
Superclass::size_type size_type
Definition gdcmLO.h:36
gdcm::LO::const_reference
Superclass::const_reference const_reference
Definition gdcmLO.h:35
gdcm::LO::value_type
Superclass::value_type value_type
Definition gdcmLO.h:32
gdcm::LO::pointer
Superclass::pointer pointer
Definition gdcmLO.h:33
gdcm::LO::LO
LO(const Superclass &s, size_type pos=0, size_type n=npos)
Definition gdcmLO.h:47
gdcm::LO::iterator
Superclass::iterator iterator
Definition gdcmLO.h:38
gdcm::LO::IsValid
bool IsValid() const
Definition gdcmLO.h:50
gdcm::LO::Superclass
String<'\\', 64 > Superclass
Definition gdcmLO.h:31
gdcm::LO::reference
Superclass::reference reference
Definition gdcmLO.h:34
gdcm::LO::difference_type
Superclass::difference_type difference_type
Definition gdcmLO.h:37
gdcm::LO::LO
LO(const value_type *s, size_type n)
Definition gdcmLO.h:46
gdcm::LO::LO
LO(const value_type *s)
Definition gdcmLO.h:45
gdcm::LO::const_iterator
Superclass::const_iterator const_iterator
Definition gdcmLO.h:39
gdcm::LO::reverse_iterator
Superclass::reverse_iterator reverse_iterator
Definition gdcmLO.h:40
gdcm::String
String.
Definition gdcmString.h:32
gdcm::String<'\\', 64 >::value_type
std::string::value_type value_type
Definition gdcmString.h:38
gdcm::String<'\\', 64 >::size_type
std::string::size_type size_type
Definition gdcmString.h:42
gdcm::String<'\\', 64 >::const_reference
std::string::const_reference const_reference
Definition gdcmString.h:41
gdcm::String<'\\', 64 >::IsValid
bool IsValid() const
Definition gdcmString.h:80
gdcm::String<'\\', 64 >::iterator
std::string::iterator iterator
Definition gdcmString.h:44
gdcm::String<'\\', 64 >::pointer
std::string::pointer pointer
Definition gdcmString.h:39
gdcm::String<'\\', 64 >::reverse_iterator
std::string::reverse_iterator reverse_iterator
Definition gdcmString.h:46
gdcm::String<'\\', 64 >::difference_type
std::string::difference_type difference_type
Definition gdcmString.h:43
gdcm::String<'\\', 64 >::const_reverse_iterator
std::string::const_reverse_iterator const_reverse_iterator
Definition gdcmString.h:47
gdcm::String<'\\', 64 >::const_iterator
std::string::const_iterator const_iterator
Definition gdcmString.h:45
gdcm::String<'\\', 64 >::reference
std::string::reference reference
Definition gdcmString.h:40
gdcmString.h
gdcm
Definition gdcmASN1.h:21