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