Changeset 2704 in Sophya
- Timestamp:
- Apr 27, 2005, 6:15:26 PM (20 years ago)
- Location:
- trunk/SophyaLib/BaseTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppftpointerio.cc
r2695 r2704 12 12 13 13 // Specific implementation using table I/O in PPFBinaryIOStreams 14 DECL_TEMP_SPEC /*equivalent a template <> , pour SGI-CC en particulier */14 /* DECL_TEMP_SPEC equivalent a template <> , pour SGI-CC en particulier */ 15 15 void PPF_TPointer_IO<char>::Write(POutPersist & os, char const * arr, size_t n) 16 16 { os.PutBytes(arr,n); } 17 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */18 17 void PPF_TPointer_IO<char>::Read(PInPersist & is, char * arr, size_t n) 19 18 { is.GetBytes(arr,n); } 20 19 21 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */22 20 void PPF_TPointer_IO< int_1 >::Write(POutPersist & os, int_1 const * arr, size_t n) 23 21 { os.Put(arr,n); } 24 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */25 22 void PPF_TPointer_IO< int_1 >::Read(PInPersist & is, int_1 * arr, size_t n) 26 23 { is.Get(arr,n); } 27 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 24 28 25 void PPF_TPointer_IO< uint_1 >::Write(POutPersist & os, uint_1 const * arr, size_t n) 29 26 { os.Put(arr,n); } 30 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */31 27 void PPF_TPointer_IO< uint_1 >::Read(PInPersist & is, uint_1 * arr, size_t n) 32 28 { is.Get(arr,n); } 33 29 34 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */35 30 void PPF_TPointer_IO< int_2 >::Write(POutPersist & os, int_2 const * arr, size_t n) 36 31 { os.Put(arr,n); } 37 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */38 32 void PPF_TPointer_IO< int_2 >::Read(PInPersist & is, int_2 * arr, size_t n) 39 33 { is.Get(arr,n); } 40 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 34 41 35 void PPF_TPointer_IO< uint_2 >::Write(POutPersist & os, uint_2 const * arr, size_t n) 42 36 { os.Put(arr,n); } 43 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */44 37 void PPF_TPointer_IO< uint_2 >::Read(PInPersist & is, uint_2 * arr, size_t n) 45 38 { is.Get(arr,n); } 46 39 47 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */48 40 void PPF_TPointer_IO< int_4 >::Write(POutPersist & os, int_4 const * arr, size_t n) 49 41 { os.Put(arr,n); } 50 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */51 42 void PPF_TPointer_IO< int_4 >::Read(PInPersist & is, int_4 * arr, size_t n) 52 43 { is.Get(arr,n); } 53 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 44 54 45 void PPF_TPointer_IO< uint_4 >::Write(POutPersist & os, uint_4 const * arr, size_t n) 55 46 { os.Put(arr,n); } 56 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */57 47 void PPF_TPointer_IO< uint_4 >::Read(PInPersist & is, uint_4 * arr, size_t n) 58 48 { is.Get(arr,n); } 59 49 60 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */61 50 void PPF_TPointer_IO< int_8 >::Write(POutPersist & os, int_8 const * arr, size_t n) 62 51 { os.Put(arr,n); } 63 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */64 52 void PPF_TPointer_IO< int_8 >::Read(PInPersist & is, int_8 * arr, size_t n) 65 53 { is.Get(arr,n); } 66 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 54 67 55 void PPF_TPointer_IO< uint_8 >::Write(POutPersist & os, uint_8 const * arr, size_t n) 68 56 { os.Put(arr,n); } 69 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */70 57 void PPF_TPointer_IO< uint_8 >::Read(PInPersist & is, uint_8 * arr, size_t n) 71 58 { is.Get(arr,n); } 72 59 73 60 74 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */75 61 void PPF_TPointer_IO< r_4 >::Write(POutPersist & os, r_4 const * arr, size_t n) 76 62 { os.Put(arr,n); } 77 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */78 63 void PPF_TPointer_IO< r_4 >::Read(PInPersist & is, r_4 * arr, size_t n) 79 64 { is.Get(arr,n); } 80 65 81 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */82 66 void PPF_TPointer_IO< r_8 >::Write(POutPersist & os, r_8 const * arr, size_t n) 83 67 { os.Put(arr,n); } 84 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */85 68 void PPF_TPointer_IO< r_8 >::Read(PInPersist & is, r_8 * arr, size_t n) 86 69 { is.Get(arr,n); } 87 70 88 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */89 71 void PPF_TPointer_IO< complex<r_4> >::Write(POutPersist & os, complex<r_4> const * arr, size_t n) 90 72 { os.Put(arr,n); } 91 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */92 73 void PPF_TPointer_IO< complex<r_4> >::Read(PInPersist & is, complex<r_4> * arr, size_t n) 93 74 { is.Get(arr,n); } 94 75 95 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */96 76 void PPF_TPointer_IO< complex<r_8> >::Write(POutPersist & os, complex<r_8> const * arr, size_t n) 97 77 { os.Put(arr,n); } 98 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */99 78 void PPF_TPointer_IO< complex<r_8> >::Read(PInPersist & is, complex<r_8> * arr, size_t n) 100 79 { is.Get(arr,n); } -
trunk/SophyaLib/BaseTools/ppftpointerio.h
r2698 r2704 38 38 39 39 // declaration specifique pour ecriture sous forme de tableaux PPF 40 DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */ 40 41 class PPF_TPointer_IO<char> { 41 42 public:
Note:
See TracChangeset
for help on using the changeset viewer.