Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
ObjexxFCL::FArraySection< typename > 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>
class ObjexxFCL::FArraySection< typename >

FArraySection: Fortran-Compatible Array Section Proxy.

Member Typedef Documentation

template<typename >
typedef T const* ObjexxFCL::FArraySection< typename >::const_pointer
template<typename >
typedef T const& ObjexxFCL::FArraySection< typename >::const_reference
template<typename >
typedef T const* ObjexxFCL::FArraySection< typename >::ConstPointer
template<typename >
typedef T const& ObjexxFCL::FArraySection< typename >::ConstReference
template<typename >
typedef std::ptrdiff_t ObjexxFCL::FArraySection< typename >::Difference
template<typename >
typedef std::ptrdiff_t ObjexxFCL::FArraySection< typename >::difference_type
template<typename >
typedef T* ObjexxFCL::FArraySection< typename >::pointer
template<typename >
typedef T* ObjexxFCL::FArraySection< typename >::Pointer
template<typename >
typedef T& ObjexxFCL::FArraySection< typename >::reference
template<typename >
typedef T& ObjexxFCL::FArraySection< typename >::Reference
template<typename >
typedef std::size_t ObjexxFCL::FArraySection< typename >::Size
template<typename >
typedef std::size_t ObjexxFCL::FArraySection< typename >::size_type
template<typename >
typedef T ObjexxFCL::FArraySection< typename >::Value
template<typename >
typedef T ObjexxFCL::FArraySection< typename >::value_type

Constructor & Destructor Documentation

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

Copy Constructor.

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

Copy from non-Constant Constructor.

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

Const Pointer + Size Constructor.

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

Pointer + Size Constructor.

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

Size + Const Pointer Constructor.

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

Size + Pointer Constructor.

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

Destructor.

Member Function Documentation

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

Friends And Related Function Documentation

template<typename >
friend class FArray< T >
friend

Member Data Documentation

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

Pointer (non-owning) to data array.

Referenced by ObjexxFCL::FArray< T >::attach(), and ObjexxFCL::FArraySection< typename >::operator=().

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

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