gdcmApplicationEntity.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMAPPLICATIONENTITY_H
#define GDCMAPPLICATIONENTITY_H
#include "gdcmTypes.h"
#include <vector>
#include <stdlib.h> // abort
namespace gdcm
{
class GDCM_EXPORT ApplicationEntity
{
public:
static const unsigned int MaxNumberOfComponents = 1;
static const unsigned int MaxLength = 16;
std::string Internal;
static const char Separator = ' ';
static const char Padding = ' ';
//static const char Excluded[5] = { '\\' /* 5CH */, '\n' /* LF */, '\f', /* FF */, '\r' /* CR */, 0x1b /* ESC */};
bool IsValid() const {
return true;
}
void Squeeze() {
// trim leading and trailing white spaces
}
void SetBlob(const std::vector<char>& v) {
(void)v;
assert(0); //TODO
}
void Print(std::ostream &os) const {
(void)os;
assert(0); //TODO
}
};
} // end namespace gdcm
#endif //GDCMAPPLICATIONENTITY_H
gdcm::ApplicationEntity
ApplicationEntity.
Definition gdcmApplicationEntity.h:36
gdcm::ApplicationEntity::Squeeze
void Squeeze()
Definition gdcmApplicationEntity.h:48
gdcm::ApplicationEntity::MaxNumberOfComponents
static const unsigned int MaxNumberOfComponents
Definition gdcmApplicationEntity.h:38
gdcm::ApplicationEntity::Separator
static const char Separator
Definition gdcmApplicationEntity.h:41
gdcm::ApplicationEntity::SetBlob
void SetBlob(const std::vector< char > &v)
Definition gdcmApplicationEntity.h:51
gdcm::ApplicationEntity::Print
void Print(std::ostream &os) const
Definition gdcmApplicationEntity.h:55
gdcm::ApplicationEntity::Internal
std::string Internal
Definition gdcmApplicationEntity.h:40
gdcm::ApplicationEntity::Padding
static const char Padding
Definition gdcmApplicationEntity.h:42
gdcm::ApplicationEntity::IsValid
bool IsValid() const
Definition gdcmApplicationEntity.h:45
gdcm::ApplicationEntity::MaxLength
static const unsigned int MaxLength
Definition gdcmApplicationEntity.h:39
gdcmTypes.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21