GDCM 2.2.0

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

- File List
- File Members

gdcmApplicationEntity.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 GDCMAPPLICATIONENTITY_H
    00015 #define GDCMAPPLICATIONENTITY_H
    00016
    00017 #include "gdcmTypes.h"
    00018 #include <vector>
    00019 #include <stdlib.h> // abort
    00020
    00021 namespace gdcm
    00022 {
    00023
    00034 class GDCM_EXPORT ApplicationEntity
    00035 {
    00036 public:
    00037   static const unsigned int MaxNumberOfComponents = 1;
    00038   static const unsigned int MaxLength = 16;
    00039   std::string Internal;
    00040   static const char Separator = ' ';
    00041   static const char Padding   = ' ';
    00042   //static const char Excluded[5] = { '\\' /* 5CH */, '\n' /* LF */, '\f', /* FF */, '\r' /* CR */, 0x1b /* ESC */};
    00043
    00044   bool IsValid() const {
    00045     return true;
    00046   }
    00047   void Squeeze() {
    00048     // trim leading and trailing white spaces
    00049   }
    00050   void SetBlob(const std::vector<char>& v) {
    00051     (void)v;
    00052     assert(0); //TODO
    00053   }
    00054   void Print(std::ostream &os) const {
    00055   (void)os;
    00056     assert(0); //TODO
    00057   }
    00058 };
    00059
    00060 } // end namespace gdcm
    00061
    00062 #endif //GDCMAPPLICATIONENTITY_H