1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
2 | // template array class for numerical types
|
---|
3 | // R. Ansari, C.Magneville 03/2000
|
---|
4 |
|
---|
5 | #ifndef TArray_SEEN
|
---|
6 | #define TArray_SEEN
|
---|
7 |
|
---|
8 | #include "machdefs.h"
|
---|
9 | #include <math.h>
|
---|
10 | #include <iostream.h>
|
---|
11 | #include "basarr.h"
|
---|
12 | #include "ndatablock.h"
|
---|
13 | #include <complex>
|
---|
14 | #include "utilarr.h"
|
---|
15 |
|
---|
16 |
|
---|
17 | namespace SOPHYA {
|
---|
18 |
|
---|
19 | // Forward declaration
|
---|
20 | template <class T> class FIO_TArray;
|
---|
21 |
|
---|
22 | // --------------------------- classe template Array -----------------------
|
---|
23 | // ( See BaseArray class for data organisation in memory and related methods )
|
---|
24 |
|
---|
25 | //! Class for template arrays
|
---|
26 | template <class T>
|
---|
27 | class TArray : public BaseArray {
|
---|
28 | public:
|
---|
29 | // Creation / destruction
|
---|
30 | TArray();
|
---|
31 | TArray(int_4 ndim, const sa_size_t * siz, sa_size_t step =1);
|
---|
32 | TArray(sa_size_t nx, sa_size_t ny=0, sa_size_t nz=0, sa_size_t nt=0, sa_size_t nu=0);
|
---|
33 | TArray(int_4 ndim, const sa_size_t * siz, NDataBlock<T> & db, bool share=false, sa_size_t step=1, sa_size_t offset=0);
|
---|
34 | TArray(int_4 ndim, const sa_size_t * siz, T* values, sa_size_t step=1, sa_size_t offset=0, Bridge* br=NULL);
|
---|
35 | TArray(const TArray<T>& a);
|
---|
36 | TArray(const TArray<T>& a, bool share);
|
---|
37 | TArray(const BaseArray& a);
|
---|
38 |
|
---|
39 | virtual ~TArray();
|
---|
40 |
|
---|
41 | // A = B
|
---|
42 | //! = operator between TArray
|
---|
43 | /*! \warning Datas are copied (cloned) from \b a.
|
---|
44 | \sa Set \sa NDataBlock::operator=(const NDataBlock<T>&) */
|
---|
45 | inline TArray<T>& operator = (const TArray<T>& a) { return Set(a); }
|
---|
46 | virtual TArray<T>& Set(const TArray<T>& a);
|
---|
47 |
|
---|
48 | //! = operator between TArray 's with different types - Elements are converted.
|
---|
49 | inline TArray<T>& operator = (const BaseArray& a) { return SetBA(a); }
|
---|
50 | virtual TArray<T>& SetBA(const BaseArray& a);
|
---|
51 |
|
---|
52 | // Gestion taille/Remplissage
|
---|
53 | virtual void Clone(const TArray<T>& a);
|
---|
54 | // partage les donnees si "a" temporaire, clone sinon.
|
---|
55 | void CloneOrShare(const TArray<T>& a);
|
---|
56 | // Share: partage les donnees de "a"
|
---|
57 |
|
---|
58 | void Share(const TArray<T>& a);
|
---|
59 | void ReSize(int_4 ndim, sa_size_t * siz, sa_size_t step=1);
|
---|
60 | void Realloc(int_4 ndim, sa_size_t * siz, sa_size_t step=1, bool force=false);
|
---|
61 |
|
---|
62 | // Compacts size=1 array dimensions
|
---|
63 | virtual TArray<T>& CompactAllDimensions();
|
---|
64 | virtual TArray<T>& CompactTrailingDimensions();
|
---|
65 |
|
---|
66 | // Packing array elements in memory
|
---|
67 | virtual TArray<T> PackElements(bool force=false) const ;
|
---|
68 |
|
---|
69 | // SubArrays - $CHECK$ Reza 03/2000 je ne sais pas s'il faut declarer ca const ??
|
---|
70 | TArray<T> SubArray(Range rx, Range ry, Range rz, Range rt, Range ru) const ;
|
---|
71 | #if !defined(__GNUG__)
|
---|
72 | //! () operator for Sub arrays extraction
|
---|
73 | /*! \sa SubArray */
|
---|
74 | inline TArray<T> operator () (Range rx, Range ry, Range rz, Range rt=0, Range ru=0) const
|
---|
75 | { return SubArray(rx, ry, rz, rt, ru); }
|
---|
76 | #else
|
---|
77 | // g++ (2.95) se melange les pinceaux avec les arguments par defaut !
|
---|
78 | //! () operator for Sub arrays extraction
|
---|
79 | /*! \sa SubArray */
|
---|
80 | inline TArray<T> operator () (Range rx, Range ry, Range rz) const
|
---|
81 | { return SubArray(rx, ry, rz, Range(0), Range(0)); }
|
---|
82 | inline TArray<T> operator () (Range rx, Range ry, Range rz, Range rt) const
|
---|
83 | { return SubArray(rx, ry, rz, rt, Range(0)); }
|
---|
84 | inline TArray<T> operator () (Range rx, Range ry, Range rz, Range rt, Range ru) const
|
---|
85 | { return SubArray(rx, ry, rz, rt, ru); }
|
---|
86 | #endif
|
---|
87 |
|
---|
88 | // ---- Access to data
|
---|
89 | // Definition of virtual element acces method inherited from BaseArray class
|
---|
90 | virtual MuTyV & ValueAtPosition(sa_size_t ip) const;
|
---|
91 |
|
---|
92 | // Data Access: operator overloaded inline acces methods
|
---|
93 | inline T const& operator()(sa_size_t ix, sa_size_t iy, sa_size_t iz) const ;
|
---|
94 | inline T& operator()(sa_size_t ix, sa_size_t iy, sa_size_t iz);
|
---|
95 | inline T const& operator()(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it, sa_size_t iu=0) const ;
|
---|
96 | inline T& operator()(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it, sa_size_t iu=0);
|
---|
97 | inline T const& operator[](sa_size_t ip) const ;
|
---|
98 | inline T& operator[](sa_size_t ip);
|
---|
99 |
|
---|
100 | inline T const& Elem(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it=0, sa_size_t iu=0) const ;
|
---|
101 | inline T& Elem(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it=0, sa_size_t iu=0);
|
---|
102 | inline T const& ElemCheckBound(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it=0, sa_size_t iu=0) const ;
|
---|
103 | inline T& ElemCheckBound(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it=0, sa_size_t iu=0);
|
---|
104 |
|
---|
105 | //! Return pointer to first element adress
|
---|
106 | inline T* Data() {return mNDBlock.Begin()+offset_;}
|
---|
107 | //! Return pointer to first element adress
|
---|
108 | inline const T* Data() const {return mNDBlock.Begin()+offset_;}
|
---|
109 | //! Return reference to datablock NDataBlock
|
---|
110 | inline NDataBlock<T>& DataBlock() {return mNDBlock;}
|
---|
111 | //! Return reference to datablock NDataBlock
|
---|
112 | inline const NDataBlock<T>& DataBlock() const {return mNDBlock;}
|
---|
113 |
|
---|
114 | // Temporaire?
|
---|
115 | //! Are the array temporay ?
|
---|
116 | inline bool IsTemp(void) const {return mNDBlock.IsTemp();}
|
---|
117 | //! Set the array as temporay
|
---|
118 | inline void SetTemp(bool temp=false) const {mNDBlock.SetTemp(temp);}
|
---|
119 |
|
---|
120 | // Operations diverses = , +=, ...
|
---|
121 | // Conversion en type T, if Size() == 1
|
---|
122 | inline T toScalar();
|
---|
123 | // Met les elements a une suite de valeurs
|
---|
124 | virtual TArray<T>& SetSeq(Sequence const & seq);
|
---|
125 | //! Fill TArray with Sequence \b seq
|
---|
126 | inline TArray<T>& operator = (Sequence const & seq) { return SetSeq(seq); }
|
---|
127 | // A = x (tous les elements a x)
|
---|
128 | virtual TArray<T>& SetT(T x);
|
---|
129 | //! Fill TArray with all elements equal to \b x
|
---|
130 | inline TArray<T>& operator = (T x) { return SetT(x); }
|
---|
131 | // A += -= *= /= x (ajoute, soustrait, ... x a tous les elements)
|
---|
132 | virtual TArray<T>& Add(T x);
|
---|
133 | //! Add \b x to all elements
|
---|
134 | inline TArray<T>& operator += (T x) { return Add(x); }
|
---|
135 | virtual TArray<T>& Sub(T x, bool fginv=false);
|
---|
136 | //! Substract \b x to all elements
|
---|
137 | inline TArray<T>& operator -= (T x) { return Sub(x); }
|
---|
138 | virtual TArray<T>& Mul(T x);
|
---|
139 | //! Multiply all elements by \b x
|
---|
140 | inline TArray<T>& operator *= (T x) { return Mul(x); }
|
---|
141 | virtual TArray<T>& Div(T x, bool fginv=false);
|
---|
142 | //! Divide all elements by \b x
|
---|
143 | inline TArray<T>& operator /= (T x) { return Div(x); }
|
---|
144 |
|
---|
145 | // applique le signe moins a tous les elements
|
---|
146 | virtual TArray<T>& NegateElt();
|
---|
147 |
|
---|
148 | // A += -= (ajoute, soustrait element par element les deux tableaux )
|
---|
149 | virtual TArray<T>& AddElt(const TArray<T>& a);
|
---|
150 | //! Operator TArray += TArray
|
---|
151 | inline TArray<T>& operator += (const TArray<T>& a) { return AddElt(a); }
|
---|
152 | virtual TArray<T>& SubElt(const TArray<T>& a, bool fginv=false);
|
---|
153 | //! Operator TArray -= TArray
|
---|
154 | inline TArray<T>& operator -= (const TArray<T>& a) { return SubElt(a); }
|
---|
155 | // Multiplication, division element par element les deux tableaux
|
---|
156 | virtual TArray<T>& MulElt(const TArray<T>& a);
|
---|
157 | virtual TArray<T>& DivElt(const TArray<T>& a, bool fginv=false, bool divzero=false);
|
---|
158 | // Recopie des valeurs, element par element
|
---|
159 | virtual TArray<T>& CopyElt(const TArray<T>& a);
|
---|
160 | // Recopie des valeurs avec conversion prealable, element par element
|
---|
161 | virtual TArray<T>& ConvertAndCopyElt(const BaseArray& a);
|
---|
162 |
|
---|
163 | // Somme et produit des elements
|
---|
164 | virtual T Sum() const ;
|
---|
165 | virtual T Product() const ;
|
---|
166 | // Somme du carre des elements
|
---|
167 | virtual T SumX2() const;
|
---|
168 | // Valeur min et max des elements
|
---|
169 | virtual void MinMax(T& min, T& max) const ;
|
---|
170 |
|
---|
171 | // Impression, I/O, ...
|
---|
172 | virtual string InfoString() const;
|
---|
173 | virtual void Print(ostream& os, int_4 maxprt=-1, bool si=false) const ;
|
---|
174 |
|
---|
175 | // Pour la gestion de persistance
|
---|
176 | friend class FIO_TArray<T>;
|
---|
177 |
|
---|
178 | protected:
|
---|
179 |
|
---|
180 | NDataBlock<T> mNDBlock; //!< Block for datas
|
---|
181 | mutable MuTyV my_mtv; //!< for use by ValueAtPosition()
|
---|
182 | };
|
---|
183 |
|
---|
184 | ////////////////////////////////////////////////////////////////
|
---|
185 | // Surcharge d'operateur <<
|
---|
186 | //! Print TArray \b a on stream \b os
|
---|
187 | template <class T>
|
---|
188 | inline ostream& operator << (ostream& os, const TArray<T>& a)
|
---|
189 | { a.Print(os); return(os); }
|
---|
190 |
|
---|
191 | ////////////////////////////////////////////////////////////////
|
---|
192 | // Surcharge d'operateurs A (+,-,*,/) (T) x
|
---|
193 |
|
---|
194 | /*! \ingroup TArray \fn operator+(const TArray<T>&,T)
|
---|
195 | \brief Operator TArray = TArray + constant */
|
---|
196 | template <class T> inline TArray<T> operator + (const TArray<T>& a, T b)
|
---|
197 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
198 | result.Add(b); return result;}
|
---|
199 |
|
---|
200 | /*! \ingroup TArray \fn operator+(T,const TArray<T>&)
|
---|
201 | \brief Operator TArray = constant + TArray */
|
---|
202 | template <class T> inline TArray<T> operator + (T b,const TArray<T>& a)
|
---|
203 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
204 | result.Add(b); return result;}
|
---|
205 |
|
---|
206 | /*! \ingroup TArray \fn operator-(const TArray<T>&,T)
|
---|
207 | \brief Operator TArray = TArray - constant */
|
---|
208 | template <class T> inline TArray<T> operator - (const TArray<T>& a, T b)
|
---|
209 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
210 | result.Sub(b); return result;}
|
---|
211 |
|
---|
212 | /*! \ingroup TArray \fn operator-(T,const TArray<T>&)
|
---|
213 | \brief Operator TArray = constant - TArray */
|
---|
214 | template <class T> inline TArray<T> operator - (T b,const TArray<T>& a)
|
---|
215 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
216 | result.Sub(b,true); return result;}
|
---|
217 |
|
---|
218 | /*! \ingroup TArray \fn operator*(const TArray<T>&,T)
|
---|
219 | \brief Operator TArray = TArray * constant */
|
---|
220 | template <class T> inline TArray<T> operator * (const TArray<T>& a, T b)
|
---|
221 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
222 | result.Mul(b); return result;}
|
---|
223 |
|
---|
224 | /*! \ingroup TArray \fn operator*(T,const TArray<T>&)
|
---|
225 | \brief Operator TArray = constant * TArray */
|
---|
226 | template <class T> inline TArray<T> operator * (T b,const TArray<T>& a)
|
---|
227 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
228 | result.Mul(b); return result;}
|
---|
229 |
|
---|
230 | /*! \ingroup TArray \fn operator/(const TArray<T>&,T)
|
---|
231 | \brief Operator TArray = TArray / constant */
|
---|
232 | template <class T> inline TArray<T> operator / (const TArray<T>& a, T b)
|
---|
233 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
234 | result.Div(b); return result;}
|
---|
235 |
|
---|
236 | /*! \ingroup TArray \fn operator/(T,const TArray<T>&)
|
---|
237 | \brief Operator TArray = constant / TArray */
|
---|
238 | template <class T> inline TArray<T> operator / (T b, const TArray<T>& a)
|
---|
239 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
240 | result.Div(b, true); return result;}
|
---|
241 |
|
---|
242 | ////////////////////////////////////////////////////////////////
|
---|
243 | // Surcharge d'operateurs B = -A
|
---|
244 |
|
---|
245 | /*! \ingroup TArray \fn operator - (const TArray<T>&)
|
---|
246 | \brief Operator - Returns an array with elements equal to the opposite of
|
---|
247 | the original array elements. */
|
---|
248 | template <class T> inline TArray<T> operator - (const TArray<T>& a)
|
---|
249 | {TArray<T> result; result.CloneOrShare(a); result.SetTemp(true);
|
---|
250 | result.NegateElt(); return result;}
|
---|
251 |
|
---|
252 | ////////////////////////////////////////////////////////////////
|
---|
253 | // Surcharge d'operateurs C = A (+,-) B
|
---|
254 |
|
---|
255 | /*! \ingroup TArray \fn operator+(const TArray<T>&,const TArray<T>&)
|
---|
256 | \brief Operator TArray = TArray + TArray */
|
---|
257 | template <class T>
|
---|
258 | inline TArray<T> operator + (const TArray<T>& a,const TArray<T>& b)
|
---|
259 | { TArray<T> result; result.SetTemp(true);
|
---|
260 | if (b.IsTemp()) { result.Share(b); result.AddElt(a); }
|
---|
261 | else { result.CloneOrShare(a); result.AddElt(b); }
|
---|
262 | return result; }
|
---|
263 |
|
---|
264 | /*! \ingroup TArray \fn operator-(const TArray<T>&,const TArray<T>&)
|
---|
265 | \brief Operator TArray = TArray - TArray */
|
---|
266 | template <class T>
|
---|
267 | inline TArray<T> operator - (const TArray<T>& a,const TArray<T>& b)
|
---|
268 | { TArray<T> result; result.SetTemp(true);
|
---|
269 | if (b.IsTemp()) { result.Share(b); result.SubElt(a, true); }
|
---|
270 | else { result.CloneOrShare(a); result.SubElt(b); }
|
---|
271 | return result; }
|
---|
272 |
|
---|
273 |
|
---|
274 | // --------------------------------------------------
|
---|
275 | // inline element acces methods
|
---|
276 | // --------------------------------------------------
|
---|
277 |
|
---|
278 | //! Return element (ix,iy,iz,it,iu) value
|
---|
279 | template <class T>
|
---|
280 | inline T const& TArray<T>::Elem(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it, sa_size_t iu) const
|
---|
281 | {
|
---|
282 | return ( *( mNDBlock.Begin()+ offset_+
|
---|
283 | ix*step_[0] + iy*step_[1] + iz*step_[2] +
|
---|
284 | it*step_[3] + iu*step_[4]) );
|
---|
285 | }
|
---|
286 |
|
---|
287 | //! Return element (ix,iy,iz,it,iu) value
|
---|
288 | template <class T>
|
---|
289 | inline T & TArray<T>::Elem(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it, sa_size_t iu)
|
---|
290 | {
|
---|
291 | return ( *( mNDBlock.Begin()+ offset_+
|
---|
292 | ix*step_[0] + iy*step_[1] + iz*step_[2] +
|
---|
293 | it*step_[3] + iu*step_[4]) );
|
---|
294 | }
|
---|
295 |
|
---|
296 | //! Return element (ix,iy,iz,it,iu) value with Check of indexes bound first
|
---|
297 | template <class T>
|
---|
298 | inline T const& TArray<T>::ElemCheckBound(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it, sa_size_t iu) const
|
---|
299 | {
|
---|
300 | CheckBound(ix, iy, iz, it, iu, 4);
|
---|
301 | return(Elem(ix, iy, iz, it, iu));
|
---|
302 | }
|
---|
303 |
|
---|
304 | //! Return element (ix,iy,iz,it,iu) value with Check of indexes bound first
|
---|
305 | template <class T>
|
---|
306 | inline T & TArray<T>::ElemCheckBound(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it, sa_size_t iu)
|
---|
307 | {
|
---|
308 | CheckBound(ix, iy, iz, it, iu, 4);
|
---|
309 | return(Elem(ix, iy, iz, it, iu));
|
---|
310 | }
|
---|
311 |
|
---|
312 | //! Return element (ix,iy,iz) value
|
---|
313 | template <class T>
|
---|
314 | inline T const& TArray<T>::operator()(sa_size_t ix, sa_size_t iy, sa_size_t iz) const
|
---|
315 | {
|
---|
316 | #ifdef SO_BOUNDCHECKING
|
---|
317 | CheckBound(ix, iy, iz, 0, 0, 4);
|
---|
318 | #endif
|
---|
319 | return ( *( mNDBlock.Begin()+ offset_+
|
---|
320 | ix*step_[0] + iy*step_[1] + iz*step_[2]) );
|
---|
321 | }
|
---|
322 |
|
---|
323 | //! Return element (ix,iy,iz) value
|
---|
324 | template <class T>
|
---|
325 | inline T & TArray<T>::operator()(sa_size_t ix, sa_size_t iy, sa_size_t iz)
|
---|
326 | {
|
---|
327 | #ifdef SO_BOUNDCHECKING
|
---|
328 | CheckBound(ix, iy, iz, 0, 0, 4);
|
---|
329 | #endif
|
---|
330 | return ( *( mNDBlock.Begin()+ offset_+
|
---|
331 | ix*step_[0] + iy*step_[1] + iz*step_[2]) );
|
---|
332 | }
|
---|
333 |
|
---|
334 | //! Operator () : return element (ix,iy,iz,it,iu) value
|
---|
335 | template <class T>
|
---|
336 | inline T const& TArray<T>::operator()(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it, sa_size_t iu) const
|
---|
337 | {
|
---|
338 | #ifdef SO_BOUNDCHECKING
|
---|
339 | CheckBound(ix, iy, iz, it, iu, 4);
|
---|
340 | #endif
|
---|
341 | return ( *( mNDBlock.Begin()+ offset_+
|
---|
342 | ix*step_[0] + iy*step_[1] + iz*step_[2] +
|
---|
343 | it*step_[3] + iu*step_[4]) );
|
---|
344 | }
|
---|
345 |
|
---|
346 | //! Operator () : return element (ix,iy,iz,it,iu) value
|
---|
347 | template <class T>
|
---|
348 | inline T & TArray<T>::operator()(sa_size_t ix, sa_size_t iy, sa_size_t iz, sa_size_t it, sa_size_t iu)
|
---|
349 | {
|
---|
350 | #ifdef SO_BOUNDCHECKING
|
---|
351 | CheckBound(ix, iy, iz, it, iu, 4);
|
---|
352 | #endif
|
---|
353 | return ( *( mNDBlock.Begin()+ offset_+
|
---|
354 | ix*step_[0] + iy*step_[1] + iz*step_[2] +
|
---|
355 | it*step_[3] + iu*step_[4]) );
|
---|
356 | }
|
---|
357 |
|
---|
358 |
|
---|
359 | //! Operator [] : return element at positon ip
|
---|
360 | template <class T>
|
---|
361 | inline T const& TArray<T>::operator[](sa_size_t ip) const
|
---|
362 | {
|
---|
363 | #ifdef SO_BOUNDCHECKING
|
---|
364 | if (ip >= totsize_) throw( ParmError("TArray<T>::operator[] Out-of-bound Error") );
|
---|
365 | #endif
|
---|
366 | return *(mNDBlock.Begin()+Offset(ip));
|
---|
367 | }
|
---|
368 |
|
---|
369 | //! Operator [] : return element at positon ip
|
---|
370 | template <class T>
|
---|
371 | inline T & TArray<T>::operator[](sa_size_t ip)
|
---|
372 | {
|
---|
373 | #ifdef SO_BOUNDCHECKING
|
---|
374 | if (ip >= totsize_) throw( ParmError("TArray<T>::operator[] Out-of-bound Error") );
|
---|
375 | #endif
|
---|
376 | return *(mNDBlock.Begin()+Offset(ip));
|
---|
377 | }
|
---|
378 |
|
---|
379 |
|
---|
380 | //! Converts to a scalar (value of first element) if the array size is equal to 1
|
---|
381 | template <class T>
|
---|
382 | inline T TArray<T>::toScalar()
|
---|
383 | {
|
---|
384 | if (Size() != 1) throw(SzMismatchError("TArray<T>::operator T() Size() != 1")) ;
|
---|
385 | return ( (*this)[0] );
|
---|
386 | }
|
---|
387 |
|
---|
388 | // Typedef pour simplifier
|
---|
389 | /*! \ingroup TArray
|
---|
390 | \typedef Array
|
---|
391 | \brief To simplified TArray<r_8> writing
|
---|
392 | */
|
---|
393 | typedef TArray<r_8> Array;
|
---|
394 |
|
---|
395 | } // Fin du namespace
|
---|
396 |
|
---|
397 | #endif
|
---|