ReactOS 0.4.15-dev-8096-ga0eec98
gslice_array< _Tp > Class Template Reference

#include <_valarray.h>

Collaboration diagram for gslice_array< _Tp >:

Public Types

typedef _Tp value_type
 

Public Member Functions

void operator= (const valarray< value_type > &__x) const
 
void operator*= (const valarray< value_type > &__x) const
 
void operator/= (const valarray< value_type > &__x) const
 
void operator%= (const valarray< value_type > &__x) const
 
void operator+= (const valarray< value_type > &__x) const
 
void operator-= (const valarray< value_type > &__x) const
 
void operator^= (const valarray< value_type > &__x) const
 
void operator&= (const valarray< value_type > &__x) const
 
void operator|= (const valarray< value_type > &__x) const
 
void operator<<= (const valarray< value_type > &__x) const
 
void operator>>= (const valarray< value_type > &__x) const
 
void operator= (const value_type &__c)
 
 gslice_array (const gslice_array &__x)
 
 ~gslice_array ()
 

Private Member Functions

 gslice_array (const gslice &__gslice, valarray< _Tp > &__array)
 
 gslice_array ()
 
void operator= (const gslice_array< _Tp > &)
 

Private Attributes

gslice _M_gslice
 
valarray< value_type > & _M_array
 

Friends

class valarray< _Tp >
 

Detailed Description

template<class _Tp>
class gslice_array< _Tp >

Definition at line 1304 of file _valarray.h.

Member Typedef Documentation

◆ value_type

template<class _Tp >
typedef _Tp gslice_array< _Tp >::value_type

Definition at line 1307 of file _valarray.h.

Constructor & Destructor Documentation

◆ gslice_array() [1/3]

template<class _Tp >
gslice_array< _Tp >::gslice_array ( const gslice_array< _Tp > &  __x)
inline

Definition at line 1394 of file _valarray.h.

1396 {}
valarray< value_type > & _M_array
Definition: _valarray.h:1406
gslice _M_gslice
Definition: _valarray.h:1405

◆ ~gslice_array()

template<class _Tp >
gslice_array< _Tp >::~gslice_array ( )
inline

Definition at line 1398 of file _valarray.h.

1398{}

◆ gslice_array() [2/3]

template<class _Tp >
gslice_array< _Tp >::gslice_array ( const gslice __gslice,
valarray< _Tp > &  __array 
)
inlineprivate

Definition at line 1401 of file _valarray.h.

1402 : _M_gslice(__gslice), _M_array(__array)
1403 {}

◆ gslice_array() [3/3]

template<class _Tp >
gslice_array< _Tp >::gslice_array ( )
private

Member Function Documentation

◆ operator%=()

template<class _Tp >
void gslice_array< _Tp >::operator%= ( const valarray< value_type > &  __x) const
inline

Definition at line 1330 of file _valarray.h.

1330 {
1331 if (!_M_gslice._M_empty()) {
1333 do _M_array[__i._M_1d_idx] %= __x[__i._M_step]; while(__i._M_incr());
1334 }
1335 }
bool _M_empty() const
Definition: _valarray.h:1254

◆ operator&=()

template<class _Tp >
void gslice_array< _Tp >::operator&= ( const valarray< value_type > &  __x) const
inline

Definition at line 1358 of file _valarray.h.

1358 {
1359 if (!_M_gslice._M_empty()) {
1361 do _M_array[__i._M_1d_idx] &= __x[__i._M_step]; while(__i._M_incr());
1362 }
1363 }

◆ operator*=()

template<class _Tp >
void gslice_array< _Tp >::operator*= ( const valarray< value_type > &  __x) const
inline

Definition at line 1316 of file _valarray.h.

1316 {
1317 if (!_M_gslice._M_empty()) {
1319 do _M_array[__i._M_1d_idx] *= __x[__i._M_step]; while(__i._M_incr());
1320 }
1321 }

◆ operator+=()

template<class _Tp >
void gslice_array< _Tp >::operator+= ( const valarray< value_type > &  __x) const
inline

Definition at line 1337 of file _valarray.h.

1337 {
1338 if (!_M_gslice._M_empty()) {
1340 do _M_array[__i._M_1d_idx] += __x[__i._M_step]; while(__i._M_incr());
1341 }
1342 }

◆ operator-=()

template<class _Tp >
void gslice_array< _Tp >::operator-= ( const valarray< value_type > &  __x) const
inline

Definition at line 1344 of file _valarray.h.

1344 {
1345 if (!_M_gslice._M_empty()) {
1347 do _M_array[__i._M_1d_idx] -= __x[__i._M_step]; while(__i._M_incr());
1348 }
1349 }

◆ operator/=()

template<class _Tp >
void gslice_array< _Tp >::operator/= ( const valarray< value_type > &  __x) const
inline

Definition at line 1323 of file _valarray.h.

1323 {
1324 if (!_M_gslice._M_empty()) {
1326 do _M_array[__i._M_1d_idx] /= __x[__i._M_step]; while(__i._M_incr());
1327 }
1328 }

◆ operator<<=()

template<class _Tp >
void gslice_array< _Tp >::operator<<= ( const valarray< value_type > &  __x) const
inline

Definition at line 1372 of file _valarray.h.

1372 {
1373 if (!_M_gslice._M_empty()) {
1375 do _M_array[__i._M_1d_idx] <<= __x[__i._M_step]; while(__i._M_incr());
1376 }
1377 }

◆ operator=() [1/3]

template<class _Tp >
void gslice_array< _Tp >::operator= ( const gslice_array< _Tp > &  )
private

◆ operator=() [2/3]

template<class _Tp >
void gslice_array< _Tp >::operator= ( const valarray< value_type > &  __x) const
inline

Definition at line 1309 of file _valarray.h.

1309 {
1310 if (!_M_gslice._M_empty()) {
1312 do _M_array[__i._M_1d_idx] = __x[__i._M_step]; while(__i._M_incr());
1313 }
1314 }

◆ operator=() [3/3]

template<class _Tp >
void gslice_array< _Tp >::operator= ( const value_type __c)
inline

Definition at line 1386 of file _valarray.h.

1386 {
1387 if (!_M_gslice._M_empty()) {
1389 do _M_array[__i._M_1d_idx] = __c; while(__i._M_incr());
1390 }
1391 }
#define __c
Definition: schilyio.h:209

◆ operator>>=()

template<class _Tp >
void gslice_array< _Tp >::operator>>= ( const valarray< value_type > &  __x) const
inline

Definition at line 1379 of file _valarray.h.

1379 {
1380 if (!_M_gslice._M_empty()) {
1382 do _M_array[__i._M_1d_idx] >>= __x[__i._M_step]; while(__i._M_incr());
1383 }
1384 }

◆ operator^=()

template<class _Tp >
void gslice_array< _Tp >::operator^= ( const valarray< value_type > &  __x) const
inline

Definition at line 1351 of file _valarray.h.

1351 {
1352 if (!_M_gslice._M_empty()) {
1354 do _M_array[__i._M_1d_idx] ^= __x[__i._M_step]; while(__i._M_incr());
1355 }
1356 }

◆ operator|=()

template<class _Tp >
void gslice_array< _Tp >::operator|= ( const valarray< value_type > &  __x) const
inline

Definition at line 1365 of file _valarray.h.

1365 {
1366 if (!_M_gslice._M_empty()) {
1368 do _M_array[__i._M_1d_idx] |= __x[__i._M_step]; while(__i._M_incr());
1369 }
1370 }

Friends And Related Function Documentation

◆ valarray< _Tp >

template<class _Tp >
friend class valarray< _Tp >
friend

Definition at line 1298 of file _valarray.h.

Member Data Documentation

◆ _M_array

◆ _M_gslice


The documentation for this class was generated from the following file: