![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
00001 /*====================================================================== 00002 00003 This file is part of the elastix software. 00004 00005 Copyright (c) University Medical Center Utrecht. All rights reserved. 00006 See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for 00007 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 notices for more information. 00012 00013 ======================================================================*/ 00014 00015 #ifndef __xoutcell_h 00016 #define __xoutcell_h 00017 00018 #include "xoutbase.h" 00019 #include <sstream> 00020 00021 namespace xoutlibrary 00022 { 00023 using namespace std; 00024 00035 template<class charT, class traits = char_traits<charT> > 00036 class xoutcell : public xoutbase<charT, traits> 00037 { 00038 public: 00039 00041 typedef xoutcell Self; 00042 typedef xoutbase<charT, traits> Superclass; 00043 00044 typedef typename Superclass::traits_type traits_type; 00045 typedef typename Superclass::char_type char_type; 00046 typedef typename Superclass::int_type int_type; 00047 typedef typename Superclass::pos_type pos_type; 00048 typedef typename Superclass::off_type off_type; 00049 typedef typename Superclass::ostream_type ostream_type; 00050 typedef typename Superclass::ios_type ios_type; 00051 00052 typedef typename Superclass::CStreamMapType CStreamMapType; 00053 typedef typename Superclass::XStreamMapType XStreamMapType; 00054 typedef typename Superclass::CStreamMapIteratorType CStreamMapIteratorType; 00055 typedef typename Superclass::XStreamMapIteratorType XStreamMapIteratorType; 00056 typedef typename Superclass::CStreamMapEntryType CStreamMapEntryType; 00057 typedef typename Superclass::XStreamMapEntryType XStreamMapEntryType; 00058 00059 typedef std::basic_ostringstream<charT, traits> InternalBufferType; 00060 00062 xoutcell(); 00063 00065 virtual ~xoutcell(); 00066 00068 virtual void WriteBufferedData(void); 00069 00070 protected: 00071 00072 InternalBufferType m_InternalBuffer; 00073 00074 00075 }; // end class xoutcell 00076 00077 00078 } // end namespace xoutlibrary 00079 00080 00081 #include "xoutcell.hxx" 00082 00083 00084 #endif // end #ifndef __xoutcell_h 00085
Generated on 24-10-2011 for elastix by ![]() |
![]() |