GDCM 2.2.0

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

- File List
- File Members

gdcmUserInformation.h
Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004
    00005   Copyright (c) 2006-2011 Mathieu Malaterre
    00006   All rights reserved.
    00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00008
    00009      This software is distributed WITHOUT ANY WARRANTY; without even
    00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00011      PURPOSE.  See the above copyright notice for more information.
    00012
    00013 =========================================================================*/
    00014 #ifndef GDCMUSERINFORMATION_H
    00015 #define GDCMUSERINFORMATION_H
    00016
    00017 #include "gdcmTypes.h"
    00018 #include "gdcmMaximumLengthSub.h"
    00019 #include "gdcmImplementationVersionNameSub.h"
    00020 #include "gdcmImplementationClassUIDSub.h"
    00021
    00022 namespace gdcm
    00023 {
    00024
    00025 namespace network
    00026 {
    00027
    00028 class AsynchronousOperationsWindowSub;
    00039 class UserInformation
    00040 {
    00041 public:
    00042   UserInformation();
    00043   std::istream &Read(std::istream &is);
    00044   const std::ostream &Write(std::ostream &os) const;
    00045   size_t Size() const;
    00046
    00047   void Print(std::ostream &os) const;
    00048
    00049   const MaximumLengthSub &GetMaximumLengthSub() const { return MLS; }
    00050   MaximumLengthSub &GetMaximumLengthSub() { return MLS; }
    00051
    00052 private:
    00053   static const uint8_t ItemType;
    00054   static const uint8_t Reserved2;
    00055   uint16_t ItemLength; // len of
    00056   MaximumLengthSub MLS;
    00057   //std::string /*UserInformation*/ Data; // ??
    00058   ImplementationClassUIDSub ICUID;
    00059   AsynchronousOperationsWindowSub *AOWS;
    00060   ImplementationVersionNameSub IVNS;
    00061 };
    00062
    00063 } // end namespace network
    00064
    00065 } // end namespace gdcm
    00066
    00067 #endif //GDCMUSERINFORMATION_H