GDCM 2.2.1

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

- File List
- File Members

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
34 class GDCM_EXPORT ApplicationEntity
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