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

Generated on Tue Mar 9 22:40:38 2010 for GDCM by doxygen 1.6.3
SourceForge.net Logo