GDCM  2.2.0
gdcmApplicationEntity.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 GDCMAPPLICATIONENTITY_H
15 #define GDCMAPPLICATIONENTITY_H
16 
17 #include "gdcmTypes.h"
18 #include <vector>
19 #include <stdlib.h> // abort
20 
21 namespace gdcm
22 {
23 
35 {
36 public:
37  static const unsigned int MaxNumberOfComponents = 1;
38  static const unsigned int MaxLength = 16;
39  std::string Internal;
40  static const char Separator = ' ';
41  static const char Padding = ' ';
42  //static const char Excluded[5] = { '\\' /* 5CH */, '\n' /* LF */, '\f', /* FF */, '\r' /* CR */, 0x1b /* ESC */};
43 
44  bool IsValid() const {
45  return true;
46  }
47  void Squeeze() {
48  // trim leading and trailing white spaces
49  }
50  void SetBlob(const std::vector<char>& v) {
51  (void)v;
52  assert(0); //TODO
53  }
54  void Print(std::ostream &os) const {
55  (void)os;
56  assert(0); //TODO
57  }
58 };
59 
60 } // end namespace gdcm
61 
62 #endif //GDCMAPPLICATIONENTITY_H

Generated on Wed Jun 13 2012 20:40:37 for GDCM by doxygen 1.8.1
SourceForge.net Logo