Rosetta
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
ObjexxFCL::FArraySection< T > Class Template Reference

FArraySection: Fortran-Compatible Array Section Proxy. More...

#include <FArraySection.hh>

Public Types

typedef T value_type
 
typedef Treference
 
typedef T const & const_reference
 
typedef Tpointer
 
typedef T const * const_pointer
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef T Value
 
typedef TReference
 
typedef T const & ConstReference
 
typedef TPointer
 
typedef T const * ConstPointer
 
typedef std::size_t Size
 
typedef std::ptrdiff_t Difference
 

Public Member Functions

 FArraySection (FArraySection const &s)
 Copy Constructor. More...
 
 FArraySection (FArraySection &s)
 Copy from non-Constant Constructor. More...
 
 FArraySection (T const *array_a, size_type const size_a)
 Const Pointer + Size Constructor. More...
 
 FArraySection (T *array_a, size_type const size_a)
 Pointer + Size Constructor. More...
 
 FArraySection (size_type const size_a, T const *array_a)
 Size + Const Pointer Constructor. More...
 
 FArraySection (size_type const size_a, T *array_a)
 Size + Pointer Constructor. More...
 
 ~FArraySection ()
 Destructor. More...
 
FArraySectionoperator= (FArraySection const &s)
 Copy Assignment. More...
 
size_type size () const
 Size. More...
 

Private Attributes

Tarray_
 Pointer (non-owning) to data array. More...
 
size_type size_
 Size of data array. More...
 

Friends

class FArray< T >
 

Detailed Description

template<typename T>
class ObjexxFCL::FArraySection< T >

FArraySection: Fortran-Compatible Array Section Proxy.

Member Typedef Documentation

◆ const_pointer

template<typename T >
typedef T const* ObjexxFCL::FArraySection< T >::const_pointer

◆ const_reference

template<typename T >
typedef T const& ObjexxFCL::FArraySection< T >::const_reference

◆ ConstPointer

template<typename T >
typedef T const* ObjexxFCL::FArraySection< T >::ConstPointer

◆ ConstReference

template<typename T >
typedef T const& ObjexxFCL::FArraySection< T >::ConstReference

◆ Difference

template<typename T >
typedef std::ptrdiff_t ObjexxFCL::FArraySection< T >::Difference

◆ difference_type

template<typename T >
typedef std::ptrdiff_t ObjexxFCL::FArraySection< T >::difference_type

◆ pointer

template<typename T >
typedef T* ObjexxFCL::FArraySection< T >::pointer

◆ Pointer

template<typename T >
typedef T* ObjexxFCL::FArraySection< T >::Pointer

◆ reference

template<typename T >
typedef T& ObjexxFCL::FArraySection< T >::reference

◆ Reference

template<typename T >
typedef T& ObjexxFCL::FArraySection< T >::Reference

◆ Size

template<typename T >
typedef std::size_t ObjexxFCL::FArraySection< T >::Size

◆ size_type

template<typename T >
typedef std::size_t ObjexxFCL::FArraySection< T >::size_type

◆ Value

template<typename T >
typedef T ObjexxFCL::FArraySection< T >::Value

◆ value_type

template<typename T >
typedef T ObjexxFCL::FArraySection< T >::value_type

Constructor & Destructor Documentation

◆ FArraySection() [1/6]

template<typename T >
ObjexxFCL::FArraySection< T >::FArraySection ( FArraySection< T > const &  s)
inline

Copy Constructor.

◆ FArraySection() [2/6]

template<typename T >
ObjexxFCL::FArraySection< T >::FArraySection ( FArraySection< T > &  s)
inline

Copy from non-Constant Constructor.

◆ FArraySection() [3/6]

template<typename T >
ObjexxFCL::FArraySection< T >::FArraySection ( T const *  array_a,
size_type const  size_a 
)
inline

Const Pointer + Size Constructor.

◆ FArraySection() [4/6]

template<typename T >
ObjexxFCL::FArraySection< T >::FArraySection ( T array_a,
size_type const  size_a 
)
inline

Pointer + Size Constructor.

◆ FArraySection() [5/6]

template<typename T >
ObjexxFCL::FArraySection< T >::FArraySection ( size_type const  size_a,
T const *  array_a 
)
inline

Size + Const Pointer Constructor.

◆ FArraySection() [6/6]

template<typename T >
ObjexxFCL::FArraySection< T >::FArraySection ( size_type const  size_a,
T array_a 
)
inline

Size + Pointer Constructor.

◆ ~FArraySection()

template<typename T >
ObjexxFCL::FArraySection< T >::~FArraySection ( )
inline

Destructor.

Member Function Documentation

◆ operator=()

template<typename T >
FArraySection& ObjexxFCL::FArraySection< T >::operator= ( FArraySection< T > const &  s)
inline

◆ size()

template<typename T >
size_type ObjexxFCL::FArraySection< T >::size ( ) const
inline

Friends And Related Function Documentation

◆ FArray< T >

template<typename T >
friend class FArray< T >
friend

Member Data Documentation

◆ array_

template<typename T >
T* ObjexxFCL::FArraySection< T >::array_
private

Pointer (non-owning) to data array.

Referenced by ObjexxFCL::FArraySection< T >::operator=().

◆ size_

template<typename T >
size_type ObjexxFCL::FArraySection< T >::size_
private

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