GDCM 2.2.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

gdcmLO.h
Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004
    00005   Copyright (c) 2006-2011 Mathieu Malaterre
    00006   All rights reserved.
    00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00008
    00009      This software is distributed WITHOUT ANY WARRANTY; without even
    00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00011      PURPOSE.  See the above copyright notice for more information.
    00012
    00013 =========================================================================*/
    00014 #ifndef GDCMLO_H
    00015 #define GDCMLO_H
    00016
    00017 #include "gdcmString.h"
    00018
    00019 namespace gdcm
    00020 {
    00021
    00027 class /*GDCM_EXPORT*/ LO : public String<'\\',64> /* PLEASE do not export me */
    00028 {
    00029 public:
    00030   // typedef are not inherited:
    00031   typedef String<'\\',64> Superclass;
    00032   typedef Superclass::value_type             value_type;
    00033   typedef Superclass::pointer                pointer;
    00034   typedef Superclass::reference              reference;
    00035   typedef Superclass::const_reference        const_reference;
    00036   typedef Superclass::size_type              size_type;
    00037   typedef Superclass::difference_type        difference_type;
    00038   typedef Superclass::iterator               iterator;
    00039   typedef Superclass::const_iterator         const_iterator;
    00040   typedef Superclass::reverse_iterator       reverse_iterator;
    00041   typedef Superclass::const_reverse_iterator const_reverse_iterator;
    00042
    00043   // LO constructors.
    00044   LO(): Superclass() {}
    00045   LO(const value_type* s): Superclass(s) {}
    00046   LO(const value_type* s, size_type n): Superclass(s, n) {}
    00047   LO(const Superclass& s, size_type pos=0, size_type n=npos):
    00048     Superclass(s, pos, n) {}
    00049
    00050   bool IsValid() const {
    00051     if( !Superclass::IsValid() ) return false;
    00052     // Implementation specific:
    00053     return true;
    00054   }
    00055 };
    00056
    00057 } // end namespace gdcm
    00058
    00059 #endif //GDCMLO_H