Whole document tree
    

Whole document tree

std::gslice class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::gslice Class Reference

#include <gslice.h>

Collaboration diagram for std::gslice:

Collaboration graph
[legend]
List of all members.

Public Methods

 gslice ()
 gslice (size_t, const valarray< size_t > &, const valarray< size_t > &)
 gslice (const gslice &)
 ~gslice ()
gslice & operator= (const gslice &)
size_t start () const
valarray< size_t > size () const
valarray< size_t > stride () const

Private Attributes

_Indexer_M_index

Friends

class valarray

Constructor & Destructor Documentation

std::gslice::gslice   [inline]
 

Definition at line 87 of file gslice.h.

std::gslice::gslice size_t   ,
const valarray< size_t > &   ,
const valarray< size_t > &   
[inline]
 

Definition at line 90 of file gslice.h.

std::gslice::gslice const gslice &    [inline]
 

Definition at line 95 of file gslice.h.

References std::gslice::_Indexer::_M_increment_use(), and _M_index.

std::gslice::~gslice   [inline]
 

Definition at line 99 of file gslice.h.

References std::gslice::_Indexer::_M_decrement_use(), and _M_index.


Member Function Documentation

gslice & std::gslice::operator= const gslice &    [inline]
 

Definition at line 103 of file gslice.h.

References std::gslice::_Indexer::_M_decrement_use(), std::gslice::_Indexer::_M_increment_use(), and _M_index.

valarray< size_t > std::gslice::size   const [inline]
 

Definition at line 80 of file gslice.h.

References _M_index, and std::gslice::_Indexer::_M_size.

size_t std::gslice::start   const [inline]
 

Definition at line 76 of file gslice.h.

References _M_index, and std::gslice::_Indexer::_M_start.

valarray< size_t > std::gslice::stride   const [inline]
 

Definition at line 84 of file gslice.h.

References _M_index, and std::gslice::_Indexer::_M_stride.


Friends And Related Function Documentation

friend class valarray [friend]
 

Definition at line 72 of file gslice.h.


Member Data Documentation

_Indexer* std::gslice::_M_index [private]
 

Definition at line 70 of file gslice.h.

Referenced by gslice(), operator=(), std::valarray< _Tp >::operator[](), size(), start(), stride(), and ~gslice().


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:18:55 2002 for libstdc++-v3 Source by doxygen1.2.15