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