# gdcmApplicationEntity.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004   Module:  $URL$
    00005
    00006   Copyright (c) 2006-2010 Mathieu Malaterre
    00007   All rights reserved.
    00008   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00009
    00010      This software is distributed WITHOUT ANY WARRANTY; without even
    00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00012      PURPOSE.  See the above copyright notice for more information.
    00013
    00014 =========================================================================*/
    00015 #ifndef GDCMAPPLICATIONENTITY_H
    00016 #define GDCMAPPLICATIONENTITY_H
    00017
    00018 #include "gdcmTypes.h"
    00019 #include <vector>
    00020 #include <stdlib.h> // abort
    00021
    00022 namespace gdcm
    00023 {
    00024
    00035 class GDCM_EXPORT ApplicationEntity
    00036 {
    00037 public:
    00038   static const unsigned int MaxNumberOfComponents = 1;
    00039   static const unsigned int MaxLength = 16;
    00040   std::string Internal;
    00041   static const char Separator = ' ';
    00042   static const char Padding   = ' ';
    00043   //static const char Excluded[5] = { '\\' /* 5CH */, '\n' /* LF */, '\f', /* FF */, '\r' /* CR */, 0x1b /* ESC */};
    00044
    00045   bool IsValid() const {
    00046     return true;
    00047   }
    00048   void Squeeze() {
    00049     // trim leading and trailing white spaces
    00050   }
    00051   void SetBlob(const std::vector<char>& v) {
    00052     (void)v;
    00053     assert(0); //TODO
    00054   }
    00055   void Print(std::ostream &os) const {
    00056   (void)os;
    00057     assert(0); //TODO
    00058   }
    00059 };
    00060
    00061 } // end namespace gdcm
    00062
    00063 #endif //GDCMAPPLICATIONENTITY_H