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

FArray2P: Fortran-Compatible 2D Proxy Array. More...

#include <FArray2P.hh>

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

List of all members.

Public Types

typedef Super::Base Base
typedef Base::Section Section
typedef Super::IR SIR
typedef DynamicIndexRange 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

 FArray2P ()
 Default Constructor.
 FArray2P (FArray2P const &a)
 Copy Constructor.
 FArray2P (FArray2P &a)
 Non-Const Copy Constructor.
 FArray2P (real_FArray const &a)
 Real Constructor.
 FArray2P (real_FArray &a)
 Non-Const Real Constructor.
 FArray2P (Super const &a)
 Super Constructor.
 FArray2P (Super &a)
 Non-Const Super Constructor.
 FArray2P (Base const &a)
 Base Constructor.
 FArray2P (Base &a)
 Non-Const Base Constructor.
 FArray2P (Section const &s)
 Section Constructor.
 FArray2P (Section &s)
 Non-Const Section Constructor.
 FArray2P (T const &t)
 Value Constructor.
 FArray2P (T &t)
 Non-Const Value Constructor.
 FArray2P (FArray2P const &a, IR const &I1_a, IR const &I2_a)
 Copy + IndexRange Constructor.
 FArray2P (FArray2P &a, IR const &I1_a, IR const &I2_a)
 Non-Const Copy + IndexRange Constructor.
 FArray2P (real_FArray const &a, IR const &I1_a, IR const &I2_a)
 Real + IndexRange Constructor.
 FArray2P (real_FArray &a, IR const &I1_a, IR const &I2_a)
 Non-Const Real + IndexRange Constructor.
 FArray2P (Super const &a, IR const &I1_a, IR const &I2_a)
 Super + IndexRange Constructor.
 FArray2P (Super &a, IR const &I1_a, IR const &I2_a)
 Non-Const Super + IndexRange Constructor.
 FArray2P (Base const &a, IR const &I1_a, IR const &I2_a)
 Base + IndexRange Constructor.
 FArray2P (Base &a, IR const &I1_a, IR const &I2_a)
 Non-Const Base + IndexRange Constructor.
 FArray2P (Section const &s, IR const &I1_a, IR const &I2_a)
 Section + IndexRange Constructor.
 FArray2P (Section &s, IR const &I1_a, IR const &I2_a)
 Non-Const Section + IndexRange Constructor.
 FArray2P (T const &t, IR const &I1_a, IR const &I2_a)
 Value + IndexRange Constructor.
 FArray2P (T &t, IR const &I1_a, IR const &I2_a)
 Non-Const Value + IndexRange Constructor.
virtual ~FArray2P ()
 Destructor.
FArray2Poperator= (FArray2P const &a)
 Copy Assignment.
FArray2Poperator= (Super const &a)
 Super Assignment.
template<typename U >
FArray2Poperator= (FArray2< U > const &a)
 Super Assignment Template.
template<typename U >
FArray2Poperator+= (FArray2< U > const &a)
 += Array Template
template<typename U >
FArray2Poperator-= (FArray2< U > const &a)
 -= Array Template
template<typename U >
FArray2Poperator*= (FArray2< U > const &a)
 *= Array Template
FArray2Poperator= (T const &t)
 = Value
FArray2Poperator+= (T const &t)
 += Value
FArray2Poperator-= (T const &t)
 -= Value
FArray2Poperator*= (T const &t)
 *= Value
FArray2Poperator/= (T const &t)
 /= Value
T const & operator() (int const i1, int const i2) const
 array( i1, i2 ) const
T & operator() (int const i1, int const i2)
 array( i1, i2 )
Section const a (int const i1, int const i2) const
 Section Starting at array( i1, i2 )
Section a (int const i1, int const i2)
 Non-Const Section Starting at array( i1, i2 )
size_type index (int const i1, int const i2) const
 Linear Index.
bool dimensions_initialized () const
 Dimensions Initialized?
bool contains (int const i1, int const i2) const
 Contains Indexed Element?
bool initializer_active () const
 Initializer Active?
IR const & I1 () const
 IndexRange of Dimension 1.
int l1 () const
 Lower Index of Dimension 1.
int u1 () const
 Upper Index of Dimension 1.
IR const & I2 () const
 IndexRange of Dimension 2.
int l2 () const
 Lower Index of Dimension 2.
int u2 () const
 Upper Index of Dimension 2.
size_type size2 () const
 Size of Dimension 2.
FArray2Pclear ()
 Clear.
FArray2P const & dim (IR const &I1_a, IR const &I2_a) const
 Dimension by IndexRanges Even if Const.
template<typename U >
FArray2P const & dim (FArray2< U > const &a) const
 Dimension by Array Even if Const.
FArray2Pdimension (IR const &I1_a, IR const &I2_a)
 Dimension by IndexRanges.
template<typename U >
FArray2Pdimension (FArray2< U > const &a)
 Dimension by Array.
FArray2Pattach (FArray2P const &a)
 Attach to Proxy Array.
FArray2Pattach (FArray2P &a)
 Attach to Non-Const Proxy Array.
FArray2Pattach (real_FArray const &a)
 Attach to Real Array.
FArray2Pattach (real_FArray &a)
 Attach to Non-Const Real Array.
FArray2Pattach (Super const &a)
 Attach to Super Array.
FArray2Pattach (Super &a)
 Attach to Non-Const Super Array.
FArray2Pattach (Base const &a)
 Attach to Base Array.
FArray2Pattach (Base &a)
 Attach to Non-Const Base Array.
FArray2Pattach (Section const &s)
 Attach to Section.
FArray2Pattach (Section &s)
 Attach to Non-Const Section.
FArray2Pattach (T const &t)
 Attach to Value.
FArray2Pattach (T &t)
 Attach to Non-Const Value.
FArray2Pdetach ()
 Detach from Source Array.
void update ()
 Update.
void destructed (Subject const &subject)
 Update for Destruction of a Subject.

Protected Member Functions

void dimension_assign (SIR const &I1_a, SIR const &I2_a)
 Dimension by IndexRanges.

Friends

class FArray2A< T >

Detailed Description

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

FArray2P: Fortran-Compatible 2D Proxy Array.


Member Typedef Documentation

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

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

template<typename T >
typedef DynamicIndexRange ObjexxFCL::FArray2P< T >::IR

Reimplemented from ObjexxFCL::FArray2< T >.

template<typename T >
typedef Base::pointer ObjexxFCL::FArray2P< T >::pointer

Reimplemented from ObjexxFCL::FArray2< T >.

template<typename T >
typedef Base::Pointer ObjexxFCL::FArray2P< T >::Pointer

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

template<typename T >
typedef Base::Section ObjexxFCL::FArray2P< T >::Section

Reimplemented from ObjexxFCL::FArray2< T >.

template<typename T >
typedef Super::IR ObjexxFCL::FArray2P< T >::SIR
template<typename T >
typedef Base::Size ObjexxFCL::FArray2P< T >::Size

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.

template<typename T >
typedef Base::Value ObjexxFCL::FArray2P< T >::Value

Reimplemented from ObjexxFCL::FArray2< T >.

Reimplemented from ObjexxFCL::FArray2< T >.


Constructor & Destructor Documentation

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( ) [inline]
template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( FArray2P< T > const &  a) [inline]
template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( FArray2P< T > &  a) [inline]
template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( real_FArray const &  a) [inline]
template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( real_FArray a) [inline]

Non-Const Real Constructor.

References ObjexxFCL::FArray2< T >::s1_, and ObjexxFCL::FArray< T >::shift_set().

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Super const &  a) [inline]
template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Super a) [inline]

Non-Const Super Constructor.

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

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Base const &  a) [inline]

Base Constructor.

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

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Base a) [inline]

Non-Const Base Constructor.

References ObjexxFCL::FArray2< T >::s1_, and ObjexxFCL::FArray< T >::shift_set().

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Section const &  s) [inline]
template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Section s) [inline]

Non-Const Section Constructor.

References ObjexxFCL::FArray2< T >::s1_, and ObjexxFCL::FArray< T >::shift_set().

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( T const &  t) [inline]
template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( T &  t) [inline]

Non-Const Value Constructor.

References ObjexxFCL::FArray2< T >::s1_, and ObjexxFCL::FArray< T >::shift_set().

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( FArray2P< T > const &  a,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Copy + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( FArray2P< T > &  a,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Non-Const Copy + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( real_FArray const &  a,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Real + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( real_FArray a,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Non-Const Real + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Super const &  a,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Super + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Super a,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Non-Const Super + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Base const &  a,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Base + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Base a,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Non-Const Base + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Section const &  s,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Section + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( Section s,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Non-Const Section + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( T const &  t,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Value + IndexRange Constructor.

template<typename T >
ObjexxFCL::FArray2P< T >::FArray2P ( T &  t,
IR const &  I1_a,
IR const &  I2_a 
) [inline]

Non-Const Value + IndexRange Constructor.

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

Member Function Documentation

template<typename T >
Section const ObjexxFCL::FArray2P< T >::a ( int const  i1,
int const  i2 
) const [inline]
template<typename T >
Section ObjexxFCL::FArray2P< T >::a ( int const  i1,
int const  i2 
) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( FArray2P< T > const &  a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( FArray2P< T > &  a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( real_FArray const &  a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( T &  t) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( real_FArray a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( Super const &  a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( Super a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( Base const &  a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( Base a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( Section const &  s) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( Section s) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::attach ( T const &  t) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::clear ( ) [inline, virtual]
template<typename T >
bool ObjexxFCL::FArray2P< T >::contains ( int const  i1,
int const  i2 
) const [inline, virtual]

Contains Indexed Element?

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::DynamicIndexRange::contains().

template<typename T >
void ObjexxFCL::FArray2P< T >::destructed ( Subject const &  subject) [inline, virtual]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::detach ( ) [inline]
template<typename T >
FArray2P const& ObjexxFCL::FArray2P< T >::dim ( IR const &  I1_a,
IR const &  I2_a 
) const [inline]

Dimension by IndexRanges Even if Const.

References ObjexxFCL::FArray2P< T >::dimension().

template<typename T >
template<typename U >
FArray2P const& ObjexxFCL::FArray2P< T >::dim ( FArray2< U > const &  a) const [inline]

Dimension by Array Even if Const.

References ObjexxFCL::FArray2P< T >::dimension().

template<typename T >
template<typename U >
FArray2P& ObjexxFCL::FArray2P< T >::dimension ( FArray2< U > const &  a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::dimension ( IR const &  I1_a,
IR const &  I2_a 
) [inline]
template<typename T >
void ObjexxFCL::FArray2P< T >::dimension_assign ( SIR const &  I1_a,
SIR const &  I2_a 
) [inline, protected, virtual]
template<typename T >
bool ObjexxFCL::FArray2P< T >::dimensions_initialized ( ) const [inline, virtual]

Dimensions Initialized?

Implements ObjexxFCL::FArray< T >.

References ObjexxFCL::DynamicIndexRange::initialized().

template<typename T >
IR const& ObjexxFCL::FArray2P< T >::I1 ( ) const [inline, virtual]
template<typename T >
IR const& ObjexxFCL::FArray2P< T >::I2 ( ) const [inline, virtual]
template<typename T >
size_type ObjexxFCL::FArray2P< T >::index ( int const  i1,
int const  i2 
) const [inline]
template<typename T >
bool ObjexxFCL::FArray2P< T >::initializer_active ( ) const [inline, virtual]

Initializer Active?

Implements ObjexxFCL::FArray< T >.

template<typename T >
int ObjexxFCL::FArray2P< T >::l1 ( ) const [inline, virtual]

Lower Index of Dimension 1.

Implements ObjexxFCL::FArray2< T >.

References ObjexxFCL::DynamicIndexRange::l().

template<typename T >
int ObjexxFCL::FArray2P< T >::l2 ( ) const [inline, virtual]

Lower Index of Dimension 2.

Implements ObjexxFCL::FArray2< T >.

References ObjexxFCL::DynamicIndexRange::l().

template<typename T >
T const& ObjexxFCL::FArray2P< T >::operator() ( int const  i1,
int const  i2 
) const [inline]
template<typename T >
T& ObjexxFCL::FArray2P< T >::operator() ( int const  i1,
int const  i2 
) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::operator*= ( T const &  t) [inline]

*= Value

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::FArray2< T >::operator*=().

template<typename T >
template<typename U >
FArray2P& ObjexxFCL::FArray2P< T >::operator*= ( FArray2< U > const &  a) [inline]

*= Array Template

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::FArray2< T >::operator*=().

template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::operator+= ( T const &  t) [inline]

+= Value

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::FArray2< T >::operator+=().

template<typename T >
template<typename U >
FArray2P& ObjexxFCL::FArray2P< T >::operator+= ( FArray2< U > const &  a) [inline]

+= Array Template

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::FArray2< T >::operator+=().

template<typename T >
template<typename U >
FArray2P& ObjexxFCL::FArray2P< T >::operator-= ( FArray2< U > const &  a) [inline]

-= Array Template

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::FArray2< T >::operator-=().

template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::operator-= ( T const &  t) [inline]

-= Value

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::FArray2< T >::operator-=().

template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::operator/= ( T const &  t) [inline]

/= Value

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::FArray2< T >::operator/=().

template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::operator= ( T const &  t) [inline]

= Value

Reimplemented from ObjexxFCL::FArray2< T >.

References ObjexxFCL::FArray2< T >::operator=().

template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::operator= ( Super const &  a) [inline]
template<typename T >
FArray2P& ObjexxFCL::FArray2P< T >::operator= ( FArray2P< T > const &  a) [inline]
template<typename T >
template<typename U >
FArray2P& ObjexxFCL::FArray2P< T >::operator= ( FArray2< U > const &  a) [inline]
template<typename T >
size_type ObjexxFCL::FArray2P< T >::size2 ( ) const [inline, virtual]
template<typename T >
int ObjexxFCL::FArray2P< T >::u1 ( ) const [inline, virtual]

Upper Index of Dimension 1.

Implements ObjexxFCL::FArray2< T >.

References ObjexxFCL::DynamicIndexRange::u().

template<typename T >
int ObjexxFCL::FArray2P< T >::u2 ( ) const [inline, virtual]

Upper Index of Dimension 2.

Implements ObjexxFCL::FArray2< T >.

References ObjexxFCL::DynamicIndexRange::u().

template<typename T >
void ObjexxFCL::FArray2P< T >::update ( ) [inline, virtual]

Friends And Related Function Documentation

template<typename T >
friend class FArray2A< T > [friend]

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