Rosetta 3.3
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
ObjexxFCL::FArray4< T > Class Template Reference

FArray4: Fortran-Compatible 4D Array Abstract Base Class. More...

#include <FArray4.hh>

Inheritance diagram for ObjexxFCL::FArray4< T >:
Inheritance graph
[legend]
Collaboration diagram for ObjexxFCL::FArray4< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Super::Base Base
typedef Base::Section Section
typedef Base::IR IR
typedef Base::value_type value_type
typedef Base::reference reference
typedef Base::const_reference const_reference
typedef Base::pointer pointer
typedef Base::const_pointer const_pointer
typedef Base::size_type size_type
typedef Base::difference_type difference_type
typedef Base::Value Value
typedef Base::Reference Reference
typedef Base::ConstReference ConstReference
typedef Base::Pointer Pointer
typedef Base::ConstPointer ConstPointer
typedef Base::Size Size
typedef Base::Difference Difference

Public Member Functions

virtual ~FArray4 ()
 Destructor.
FArray4operator= (FArray4 const &a)
 Copy Assignment.
template<typename U >
FArray4operator= (FArray4< U > const &a)
 Copy Assignment Template.
template<typename U >
FArray4operator+= (FArray4< U > const &a)
 += Array Template
template<typename U >
FArray4operator-= (FArray4< U > const &a)
 -= Array Template
FArray4operator= (T const &t)
 = Value
FArray4operator+= (T const &t)
 += Value
FArray4operator-= (T const &t)
 -= Value
FArray4operator*= (T const &t)
 *= Value
FArray4operator/= (T const &t)
 /= Value
T const & operator() (int const i1, int const i2, int const i3, int const i4) const
 array( i1, i2, i3, i4 ) const
T & operator() (int const i1, int const i2, int const i3, int const i4)
 array( i1, i2, i3, i4 )
Section const a (int const i1, int const i2, int const i3, int const i4) const
 Const Section Starting at array( i1, i2, i3, i4 )
Section a (int const i1, int const i2, int const i3, int const i4)
 Section Starting at array( i1, i2, i3, i4 )
size_type index (int const i1, int const i2, int const i3, int const i4) const
 Linear Index.
virtual bool contains (int const i1, int const i2, int const i3, int const i4) const
 Contains Indexed Element?
template<typename U >
bool equal_dimension (FArray4< U > const &a) const
 Equal Dimension?
virtual IR const & I1 () const =0
 IndexRange of Dimension 1.
virtual int l1 () const =0
 Lower Index of Dimension 1.
virtual int u1 () const =0
 Upper Index of Dimension 1.
size_type size1 () const
 Size of Dimension 1.
virtual IR const & I2 () const =0
 IndexRange of Dimension 2.
virtual int l2 () const =0
 Lower Index of Dimension 2.
virtual int u2 () const =0
 Upper Index of Dimension 2.
size_type size2 () const
 Size of Dimension 2.
virtual IR const & I3 () const =0
 IndexRange of Dimension 3.
virtual int l3 () const =0
 Lower Index of Dimension 3.
virtual int u3 () const =0
 Upper Index of Dimension 3.
size_type size3 () const
 Size of Dimension 3.
virtual IR const & I4 () const =0
 IndexRange of Dimension 4.
virtual int l4 () const =0
 Lower Index of Dimension 4.
virtual int u4 () const =0
 Upper Index of Dimension 4.
virtual size_type size4 () const =0
 Size of Dimension 4.
FArray4clear ()
 Clear.
FArray4to_default ()
 Assign Default Value to all Elements.

Protected Types

typedef
internal::InitializerSentinel 
InitializerSentinel
typedef internal::ProxySentinel ProxySentinel

Protected Member Functions

 FArray4 ()
 Default Constructor.
 FArray4 (FArray4 const &a)
 Copy Constructor.
template<typename U >
 FArray4 (FArray4< U > const &a)
 Copy Constructor Template.
 FArray4 (size_type const size_a)
 Size Constructor.
 FArray4 (size_type const size_a, InitializerSentinel const &initialized)
 Size + InitializerSentinel Constructor.
 FArray4 (ProxySentinel const &proxy)
 Default Proxy Constructor.
 FArray4 (FArray4 const &a, ProxySentinel const &proxy)
 Copy Proxy Constructor.
 FArray4 (FArray4 &a, ProxySentinel const &proxy)
 Non-Const Copy Proxy Constructor.
 FArray4 (Base const &a, ProxySentinel const &proxy)
 Base Proxy Constructor.
 FArray4 (Base &a, ProxySentinel const &proxy)
 Non-Const Base Proxy Constructor.
 FArray4 (Section const &s, ProxySentinel const &proxy)
 Section Proxy Constructor.
 FArray4 (Section &s, ProxySentinel const &proxy)
 Non-Const Section Proxy Constructor.
 FArray4 (T const &t, ProxySentinel const &proxy)
 Value Proxy Constructor.
 FArray4 (T &t, ProxySentinel const &proxy)
 Non-Const Value Proxy Constructor.
virtual void dimension_assign (IR const &I1_a, IR const &I2_a, IR const &I3_a, IR const &I4_a)=0
 Dimension by IndexRanges.
void swap4DB (FArray4 &v)
 Swap.

Protected Attributes

size_type s1_
 Dimension 1 size.
size_type s2_
 Dimension 2 size.
size_type s3_
 Dimension 3 size.

Friends

class FArray4
class FArray4D
class FArray4P
class FArray4A
class KeyFArray4D
bool operator== (FArray4 const &a, FArray4 const &b)
 FArray4 == FArray4.
bool operator!= (FArray4 const &a, FArray4 const &b)
 FArray4 != FArray4.

Detailed Description

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

FArray4: Fortran-Compatible 4D Array Abstract Base Class.


Member Typedef Documentation

template<typename T>
typedef Super::Base ObjexxFCL::FArray4< T >::Base

Reimplemented from ObjexxFCL::FArray< T >.

template<typename T>
typedef Base::IR ObjexxFCL::FArray4< T >::IR
template<typename T>
typedef Base::Pointer ObjexxFCL::FArray4< T >::Pointer
template<typename T>
typedef Base::pointer ObjexxFCL::FArray4< T >::pointer
template<typename T>
typedef internal::ProxySentinel ObjexxFCL::FArray4< T >::ProxySentinel [protected]

Reimplemented from ObjexxFCL::FArray< T >.

template<typename T>
typedef Base::Section ObjexxFCL::FArray4< T >::Section
template<typename T>
typedef Base::Size ObjexxFCL::FArray4< T >::Size
template<typename T>
typedef Base::Value ObjexxFCL::FArray4< T >::Value

Constructor & Destructor Documentation

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( ) [inline, protected]

Default Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( FArray4< T > const &  a) [inline, protected]

Copy Constructor.

template<typename T>
template<typename U >
ObjexxFCL::FArray4< T >::FArray4 ( FArray4< U > const &  a) [inline, explicit, protected]

Copy Constructor Template.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( size_type const  size_a) [inline, explicit, protected]

Size Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( size_type const  size_a,
InitializerSentinel const &  initialized 
) [inline, protected]

Size + InitializerSentinel Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( ProxySentinel const &  proxy) [inline, protected]

Default Proxy Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( FArray4< T > const &  a,
ProxySentinel const &  proxy 
) [inline, protected]

Copy Proxy Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( FArray4< T > &  a,
ProxySentinel const &  proxy 
) [inline, protected]

Non-Const Copy Proxy Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( Base const &  a,
ProxySentinel const &  proxy 
) [inline, protected]

Base Proxy Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( Base a,
ProxySentinel const &  proxy 
) [inline, protected]

Non-Const Base Proxy Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( Section const &  s,
ProxySentinel const &  proxy 
) [inline, protected]

Section Proxy Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( Section s,
ProxySentinel const &  proxy 
) [inline, protected]

Non-Const Section Proxy Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( T const &  t,
ProxySentinel const &  proxy 
) [inline, protected]

Value Proxy Constructor.

template<typename T>
ObjexxFCL::FArray4< T >::FArray4 ( T &  t,
ProxySentinel const &  proxy 
) [inline, protected]

Non-Const Value Proxy Constructor.

template<typename T>
virtual ObjexxFCL::FArray4< T >::~FArray4 ( ) [inline, virtual]

Destructor.


Member Function Documentation

template<typename T>
Section const ObjexxFCL::FArray4< T >::a ( int const  i1,
int const  i2,
int const  i3,
int const  i4 
) const [inline]
template<typename T>
Section ObjexxFCL::FArray4< T >::a ( int const  i1,
int const  i2,
int const  i3,
int const  i4 
) [inline]
template<typename T>
FArray4& ObjexxFCL::FArray4< T >::clear ( ) [inline, virtual]
template<typename T>
virtual bool ObjexxFCL::FArray4< T >::contains ( int const  i1,
int const  i2,
int const  i3,
int const  i4 
) const [inline, virtual]
template<typename T>
virtual void ObjexxFCL::FArray4< T >::dimension_assign ( IR const &  I1_a,
IR const &  I2_a,
IR const &  I3_a,
IR const &  I4_a 
) [protected, pure virtual]
template<typename T>
template<typename U >
bool ObjexxFCL::FArray4< T >::equal_dimension ( FArray4< U > const &  a) const [inline]
template<typename T>
virtual IR const& ObjexxFCL::FArray4< T >::I1 ( ) const [pure virtual]
template<typename T>
virtual IR const& ObjexxFCL::FArray4< T >::I2 ( ) const [pure virtual]
template<typename T>
virtual IR const& ObjexxFCL::FArray4< T >::I3 ( ) const [pure virtual]
template<typename T>
virtual IR const& ObjexxFCL::FArray4< T >::I4 ( ) const [pure virtual]
template<typename T>
size_type ObjexxFCL::FArray4< T >::index ( int const  i1,
int const  i2,
int const  i3,
int const  i4 
) const [inline]
template<typename T>
virtual int ObjexxFCL::FArray4< T >::l1 ( ) const [pure virtual]
template<typename T>
virtual int ObjexxFCL::FArray4< T >::l2 ( ) const [pure virtual]
template<typename T>
virtual int ObjexxFCL::FArray4< T >::l3 ( ) const [pure virtual]
template<typename T>
virtual int ObjexxFCL::FArray4< T >::l4 ( ) const [pure virtual]
template<typename T>
T& ObjexxFCL::FArray4< T >::operator() ( int const  i1,
int const  i2,
int const  i3,
int const  i4 
) [inline]
template<typename T>
T const& ObjexxFCL::FArray4< T >::operator() ( int const  i1,
int const  i2,
int const  i3,
int const  i4 
) const [inline]
template<typename T>
FArray4& ObjexxFCL::FArray4< T >::operator*= ( T const &  t) [inline]
template<typename T>
template<typename U >
FArray4& ObjexxFCL::FArray4< T >::operator+= ( FArray4< U > const &  a) [inline]
template<typename T>
FArray4& ObjexxFCL::FArray4< T >::operator+= ( T const &  t) [inline]
template<typename T>
template<typename U >
FArray4& ObjexxFCL::FArray4< T >::operator-= ( FArray4< U > const &  a) [inline]
template<typename T>
FArray4& ObjexxFCL::FArray4< T >::operator-= ( T const &  t) [inline]
template<typename T>
FArray4& ObjexxFCL::FArray4< T >::operator/= ( T const &  t) [inline]
template<typename T>
template<typename U >
FArray4& ObjexxFCL::FArray4< T >::operator= ( FArray4< U > const &  a) [inline]
template<typename T>
FArray4& ObjexxFCL::FArray4< T >::operator= ( T const &  t) [inline]
template<typename T>
FArray4& ObjexxFCL::FArray4< T >::operator= ( FArray4< T > const &  a) [inline]
template<typename T>
size_type ObjexxFCL::FArray4< T >::size1 ( ) const [inline]

Size of Dimension 1.

References ObjexxFCL::FArray4< T >::s1_.

template<typename T>
size_type ObjexxFCL::FArray4< T >::size2 ( ) const [inline]

Size of Dimension 2.

References ObjexxFCL::FArray4< T >::s2_.

template<typename T>
size_type ObjexxFCL::FArray4< T >::size3 ( ) const [inline]

Size of Dimension 3.

References ObjexxFCL::FArray4< T >::s3_.

template<typename T>
virtual size_type ObjexxFCL::FArray4< T >::size4 ( ) const [pure virtual]
template<typename T>
void ObjexxFCL::FArray4< T >::swap4DB ( FArray4< T > &  v) [inline, protected]
template<typename T>
FArray4& ObjexxFCL::FArray4< T >::to_default ( ) [inline, virtual]

Assign Default Value to all Elements.

Reimplemented from ObjexxFCL::FArray< T >.

References ObjexxFCL::FArray< T >::to_default().

template<typename T>
virtual int ObjexxFCL::FArray4< T >::u1 ( ) const [pure virtual]
template<typename T>
virtual int ObjexxFCL::FArray4< T >::u2 ( ) const [pure virtual]
template<typename T>
virtual int ObjexxFCL::FArray4< T >::u3 ( ) const [pure virtual]
template<typename T>
virtual int ObjexxFCL::FArray4< T >::u4 ( ) const [pure virtual]

Friends And Related Function Documentation

template<typename T>
friend class FArray4 [friend]
template<typename T>
friend class FArray4A [friend]
template<typename T>
friend class FArray4D [friend]

Reimplemented in ObjexxFCL::FArray4D< T >.

template<typename T>
friend class FArray4P [friend]
template<typename T>
friend class KeyFArray4D [friend]

Reimplemented in ObjexxFCL::KeyFArray4D< T >.

template<typename T>
bool operator!= ( FArray4< T > const &  a,
FArray4< T > const &  b 
) [friend]
template<typename T>
bool operator== ( FArray4< T > const &  a,
FArray4< T > const &  b 
) [friend]

Member Data Documentation

template<typename T>
size_type ObjexxFCL::FArray4< T >::s1_ [protected]
template<typename T>
size_type ObjexxFCL::FArray4< T >::s2_ [protected]
template<typename T>
size_type ObjexxFCL::FArray4< T >::s3_ [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines