Changeset 2687 in Sophya for trunk/SophyaLib/BaseTools/ppftpointerio.h
- Timestamp:
- Apr 25, 2005, 7:01:19 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppftpointerio.h
r2665 r2687 36 36 } 37 37 }; 38 // Specific implementation using table I/O in PPFBinaryIOStreams39 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */40 void PPF_TPointer_IO<char>::Write(POutPersist & os, char const * arr, size_t n)41 { os.PutBytes(arr,n); }42 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */43 void PPF_TPointer_IO<char>::Read(PInPersist & is, char * arr, size_t n)44 { is.GetBytes(arr,n); }45 46 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */47 void PPF_TPointer_IO< int_1 >::Write(POutPersist & os, int_1 const * arr, size_t n)48 { os.Put(arr,n); }49 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */50 void PPF_TPointer_IO< int_1 >::Read(PInPersist & is, int_1 * arr, size_t n)51 { is.Get(arr,n); }52 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */53 void PPF_TPointer_IO< uint_1 >::Write(POutPersist & os, uint_1 const * arr, size_t n)54 { os.Put(arr,n); }55 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */56 void PPF_TPointer_IO< uint_1 >::Read(PInPersist & is, uint_1 * arr, size_t n)57 { is.Get(arr,n); }58 59 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */60 void PPF_TPointer_IO< int_2 >::Write(POutPersist & os, int_2 const * arr, size_t n)61 { os.Put(arr,n); }62 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */63 void PPF_TPointer_IO< int_2 >::Read(PInPersist & is, int_2 * arr, size_t n)64 { is.Get(arr,n); }65 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */66 void PPF_TPointer_IO< uint_2 >::Write(POutPersist & os, uint_2 const * arr, size_t n)67 { os.Put(arr,n); }68 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */69 void PPF_TPointer_IO< uint_2 >::Read(PInPersist & is, uint_2 * arr, size_t n)70 { is.Get(arr,n); }71 72 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */73 void PPF_TPointer_IO< int_4 >::Write(POutPersist & os, int_4 const * arr, size_t n)74 { os.Put(arr,n); }75 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */76 void PPF_TPointer_IO< int_4 >::Read(PInPersist & is, int_4 * arr, size_t n)77 { is.Get(arr,n); }78 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */79 void PPF_TPointer_IO< uint_4 >::Write(POutPersist & os, uint_4 const * arr, size_t n)80 { os.Put(arr,n); }81 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */82 void PPF_TPointer_IO< uint_4 >::Read(PInPersist & is, uint_4 * arr, size_t n)83 { is.Get(arr,n); }84 85 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */86 void PPF_TPointer_IO< int_8 >::Write(POutPersist & os, int_8 const * arr, size_t n)87 { os.Put(arr,n); }88 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */89 void PPF_TPointer_IO< int_8 >::Read(PInPersist & is, int_8 * arr, size_t n)90 { is.Get(arr,n); }91 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */92 void PPF_TPointer_IO< uint_8 >::Write(POutPersist & os, uint_8 const * arr, size_t n)93 { os.Put(arr,n); }94 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */95 void PPF_TPointer_IO< uint_8 >::Read(PInPersist & is, uint_8 * arr, size_t n)96 { is.Get(arr,n); }97 98 99 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */100 void PPF_TPointer_IO< r_4 >::Write(POutPersist & os, r_4 const * arr, size_t n)101 { os.Put(arr,n); }102 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */103 void PPF_TPointer_IO< r_4 >::Read(PInPersist & is, r_4 * arr, size_t n)104 { is.Get(arr,n); }105 106 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */107 void PPF_TPointer_IO< r_8 >::Write(POutPersist & os, r_8 const * arr, size_t n)108 { os.Put(arr,n); }109 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */110 void PPF_TPointer_IO< r_8 >::Read(PInPersist & is, r_8 * arr, size_t n)111 { is.Get(arr,n); }112 113 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */114 void PPF_TPointer_IO< complex<r_4> >::Write(POutPersist & os, complex<r_4> const * arr, size_t n)115 { os.Put(arr,n); }116 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */117 void PPF_TPointer_IO< complex<r_4> >::Read(PInPersist & is, complex<r_4> * arr, size_t n)118 { is.Get(arr,n); }119 120 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */121 void PPF_TPointer_IO< complex<r_8> >::Write(POutPersist & os, complex<r_8> const * arr, size_t n)122 { os.Put(arr,n); }123 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */124 void PPF_TPointer_IO< complex<r_8> >::Read(PInPersist & is, complex<r_8> * arr, size_t n)125 { is.Get(arr,n); }126 38 127 39
Note:
See TracChangeset
for help on using the changeset viewer.