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

FArray1A: Fortran-Compatible 1D Argument Array. More...

#include <FArray1A.hh>

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

List of all members.

Public Types

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

 FArray1A ()
 Default Constructor.
 FArray1A (FArray1A const &a)
 Copy Constructor.
 FArray1A (FArray1A &a)
 Non-Const Copy Constructor.
 FArray1A (real_FArray const &a)
 Real Constructor.
 FArray1A (real_FArray &a)
 Non-Const Real Constructor.
 FArray1A (proxy_FArray const &a)
 Proxy Constructor.
 FArray1A (proxy_FArray &a)
 Non-Const Proxy Constructor.
 FArray1A (Super const &a)
 Super Constructor.
 FArray1A (Super &a)
 Non-Const Super Constructor.
 FArray1A (Base const &a)
 Base Constructor.
 FArray1A (Base &a)
 Non-Const Base Constructor.
 FArray1A (Section const &s)
 Section Constructor.
 FArray1A (Section &s)
 Non-Const Section Constructor.
 FArray1A (T const &t)
 Value Constructor.
 FArray1A (T &t)
 Non-Const Value Constructor.
 FArray1A (FArray1A const &a, IR const &I_a)
 Copy + IndexRange Constructor.
 FArray1A (FArray1A &a, IR const &I_a)
 Non-Const Copy + IndexRange Constructor.
 FArray1A (real_FArray const &a, IR const &I_a)
 Real + IndexRange Constructor.
 FArray1A (real_FArray &a, IR const &I_a)
 Non-Const Real + IndexRange Constructor.
 FArray1A (proxy_FArray const &a, IR const &I_a)
 Proxy + IndexRange Constructor.
 FArray1A (proxy_FArray &a, IR const &I_a)
 Non-Const Proxy + IndexRange Constructor.
 FArray1A (Super const &a, IR const &I_a)
 Super + IndexRange Constructor.
 FArray1A (Super &a, IR const &I_a)
 Non-Const Super + IndexRange Constructor.
 FArray1A (Base const &a, IR const &I_a)
 Base + IndexRange Constructor.
 FArray1A (Base &a, IR const &I_a)
 Non-Const Base + IndexRange Constructor.
 FArray1A (Section const &s, IR const &I_a)
 Section + IndexRange Constructor.
 FArray1A (Section &s, IR const &I_a)
 Non-Const Section + IndexRange Constructor.
 FArray1A (T const &t, IR const &I_a)
 Value + IndexRange Constructor.
 FArray1A (T &t, IR const &I_a)
 Non-Const Value + IndexRange Constructor.
virtual ~FArray1A ()
 Destructor.
FArray1Aoperator= (FArray1A const &a)
 Copy Assignment.
FArray1Aoperator= (Super const &a)
 Super Assignment.
template<typename U >
FArray1Aoperator= (FArray1< U > const &a)
 Super Assignment Template.
template<typename U >
FArray1Aoperator+= (FArray1< U > const &a)
 += Array Template
template<typename U >
FArray1Aoperator-= (FArray1< U > const &a)
 -= Array Template
FArray1Aoperator= (T const &t)
 = Value
FArray1Aoperator+= (T const &t)
 += Value
FArray1Aoperator-= (T const &t)
 -= Value
FArray1Aoperator*= (T const &t)
 *= Value
FArray1Aoperator/= (T const &t)
 /= Value
T const & operator() (int const i) const
 array( i ) const
T & operator() (int const i)
 array( i )
Section const a (int const i) const
 Section Starting at array( i )
Section a (int const i)
 Non-Const Section Starting at array( i )
size_type index (int const i) const
 Linear Index.
bool dimensions_initialized () const
 Dimensions Initialized?
bool contains (int const i) const
 Contains Indexed Element?
bool initializer_active () const
 Initializer Active?
IR const & I1 () const
 IndexRange.
int l1 () const
 Lower Index.
int u1 () const
 Upper Index.
size_type size1 () const
 Size.
IR const & I () const
 IndexRange.
int l () const
 Lower Index.
int u () const
 Upper Index.
FArray1Aclear ()
 Clear.
FArray1A const & dim (IR const &I_a) const
 Dimension by IndexRanges Even if Const.
template<typename U >
FArray1A const & dim (FArray1< U > const &a) const
 Dimension by Array Even if Const.
FArray1Adimension (IR const &I_a)
 Dimension by IndexRanges.
template<typename U >
FArray1Adimension (FArray1< U > const &a)
 Dimension by Array.
FArray1Aattach (FArray1A const &a)
 Attach to Argument Array.
FArray1Aattach (FArray1A &a)
 Attach to Non-Const Argument Array.
FArray1Aattach (real_FArray const &a)
 Attach to Real Array.
FArray1Aattach (real_FArray &a)
 Attach to Non-Const Real Array.
FArray1Aattach (proxy_FArray const &a)
 Attach to Proxy Array.
FArray1Aattach (proxy_FArray &a)
 Attach to Non-Const Proxy Array.
FArray1Aattach (Super const &a)
 Attach to Super Array.
FArray1Aattach (Super &a)
 Attach to Non-Const Super Array.
FArray1Aattach (Base const &a)
 Attach to Base Array.
FArray1Aattach (Base &a)
 Attach to Non-Const Base Array.
FArray1Aattach (Section const &s)
 Attach to Section.
FArray1Aattach (Section &s)
 Attach to Non-Const Section.
FArray1Aattach (T const &t)
 Attach to Value.
FArray1Aattach (T &t)
 Attach to Non-Const Value.
FArray1Adetach ()
 Detach from Source Array.

Protected Member Functions

void dimension_assign (SIR const &I_a)
 Dimension by IndexRanges.

Detailed Description

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

FArray1A: Fortran-Compatible 1D Argument Array.


Member Typedef Documentation

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

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

template<typename T>
typedef StaticIndexRange ObjexxFCL::FArray1A< T >::IR

Reimplemented from ObjexxFCL::FArray1< T >.

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

Reimplemented from ObjexxFCL::FArray1< T >.

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

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

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

Reimplemented from ObjexxFCL::FArray1< T >.

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

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.

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

Reimplemented from ObjexxFCL::FArray1< T >.

Reimplemented from ObjexxFCL::FArray1< T >.


Constructor & Destructor Documentation

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( ) [inline]

Default Constructor.

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

Non-Const Copy Constructor.

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

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

Non-Const Real Constructor.

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

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( proxy_FArray const &  a) [inline]
template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( proxy_FArray a) [inline]

Non-Const Proxy Constructor.

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

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

Non-Const Super Constructor.

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

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

Base Constructor.

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

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

Non-Const Base Constructor.

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

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

Section Constructor.

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

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( Section s) [inline]

Non-Const Section Constructor.

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

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

Value Constructor.

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

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

Non-Const Value Constructor.

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

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( FArray1A< T > const &  a,
IR const &  I_a 
) [inline]

Copy + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( FArray1A< T > &  a,
IR const &  I_a 
) [inline]

Non-Const Copy + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( real_FArray const &  a,
IR const &  I_a 
) [inline]

Real + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( real_FArray a,
IR const &  I_a 
) [inline]

Non-Const Real + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( proxy_FArray const &  a,
IR const &  I_a 
) [inline]

Proxy + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( proxy_FArray a,
IR const &  I_a 
) [inline]

Non-Const Proxy + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( Super const &  a,
IR const &  I_a 
) [inline]

Super + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( Super a,
IR const &  I_a 
) [inline]

Non-Const Super + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( Base const &  a,
IR const &  I_a 
) [inline]

Base + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( Base a,
IR const &  I_a 
) [inline]

Non-Const Base + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( Section const &  s,
IR const &  I_a 
) [inline]

Section + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( Section s,
IR const &  I_a 
) [inline]

Non-Const Section + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( T const &  t,
IR const &  I_a 
) [inline]

Value + IndexRange Constructor.

template<typename T>
ObjexxFCL::FArray1A< T >::FArray1A ( T &  t,
IR const &  I_a 
) [inline]

Non-Const Value + IndexRange Constructor.

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

Destructor.


Member Function Documentation

template<typename T>
Section const ObjexxFCL::FArray1A< T >::a ( int const  i) const [inline]
template<typename T>
Section ObjexxFCL::FArray1A< T >::a ( int const  i) [inline]
template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::attach ( FArray1A< T > &  a) [inline]

Attach to Non-Const Argument Array.

References ObjexxFCL::StaticIndexRange::assign_value_of(), and ObjexxFCL::FArray< T >::attach().

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

Attach to Value.

References ObjexxFCL::FArray< T >::attach(), and ObjexxFCL::star.

template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::attach ( real_FArray a) [inline]

Attach to Non-Const Real Array.

References ObjexxFCL::StaticIndexRange::assign_value_of(), and ObjexxFCL::FArray< T >::attach().

template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::attach ( proxy_FArray const &  a) [inline]
template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::attach ( proxy_FArray a) [inline]

Attach to Non-Const Proxy Array.

References ObjexxFCL::StaticIndexRange::assign_value_of(), and ObjexxFCL::FArray< T >::attach().

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

Attach to Base Array.

References ObjexxFCL::FArray< T >::attach(), and ObjexxFCL::FArray< T >::size().

template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::attach ( Base a) [inline]

Attach to Non-Const Base Array.

References ObjexxFCL::FArray< T >::attach(), and ObjexxFCL::FArray< T >::size().

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

Attach to Non-Const Section.

References ObjexxFCL::FArray< T >::attach(), and ObjexxFCL::FArraySection< T >::size().

template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::attach ( T &  t) [inline]

Attach to Non-Const Value.

References ObjexxFCL::FArray< T >::attach(), and ObjexxFCL::star.

template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::attach ( FArray1A< T > const &  a) [inline]
template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::clear ( ) [inline, virtual]
template<typename T>
bool ObjexxFCL::FArray1A< T >::contains ( int const  i) const [inline, virtual]

Contains Indexed Element?

Reimplemented from ObjexxFCL::FArray1< T >.

References ObjexxFCL::IndexRange::contains().

template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::detach ( ) [inline]

Detach from Source Array.

Reimplemented from ObjexxFCL::FArray< T >.

References ObjexxFCL::StaticIndexRange::clear(), and ObjexxFCL::FArray< T >::detach().

template<typename T>
FArray1A const& ObjexxFCL::FArray1A< T >::dim ( IR const &  I_a) const [inline]

Dimension by IndexRanges Even if Const.

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

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

Dimension by Array Even if Const.

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

template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::dimension ( IR const &  I_a) [inline]
template<typename T>
template<typename U >
FArray1A& ObjexxFCL::FArray1A< T >::dimension ( FArray1< U > const &  a) [inline]
template<typename T>
void ObjexxFCL::FArray1A< T >::dimension_assign ( SIR const &  I_a) [inline, protected, virtual]
template<typename T>
bool ObjexxFCL::FArray1A< T >::dimensions_initialized ( ) const [inline, virtual]

Dimensions Initialized?

Implements ObjexxFCL::FArray< T >.

template<typename T>
IR const& ObjexxFCL::FArray1A< T >::I ( ) const [inline, virtual]
template<typename T>
IR const& ObjexxFCL::FArray1A< T >::I1 ( ) const [inline, virtual]
template<typename T>
size_type ObjexxFCL::FArray1A< T >::index ( int const  i) const [inline]

Linear Index.

Reimplemented from ObjexxFCL::FArray1< T >.

References ObjexxFCL::FArray< T >::shift_.

template<typename T>
bool ObjexxFCL::FArray1A< T >::initializer_active ( ) const [inline, virtual]

Initializer Active?

Implements ObjexxFCL::FArray< T >.

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

Lower Index.

Implements ObjexxFCL::FArray1< T >.

References ObjexxFCL::StaticIndexRange::l().

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

Lower Index.

Implements ObjexxFCL::FArray1< T >.

References ObjexxFCL::StaticIndexRange::l().

template<typename T>
T const& ObjexxFCL::FArray1A< T >::operator() ( int const  i) const [inline]
template<typename T>
T& ObjexxFCL::FArray1A< T >::operator() ( int const  i) [inline]
template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::operator*= ( T const &  t) [inline]

*= Value

Reimplemented from ObjexxFCL::FArray1< T >.

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

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

+= Array Template

Reimplemented from ObjexxFCL::FArray1< T >.

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

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

+= Value

Reimplemented from ObjexxFCL::FArray1< T >.

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

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

-= Value

Reimplemented from ObjexxFCL::FArray1< T >.

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

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

-= Array Template

Reimplemented from ObjexxFCL::FArray1< T >.

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

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

/= Value

Reimplemented from ObjexxFCL::FArray1< T >.

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

template<typename T>
template<typename U >
FArray1A& ObjexxFCL::FArray1A< T >::operator= ( FArray1< U > const &  a) [inline]
template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::operator= ( T const &  t) [inline]

= Value

Reimplemented from ObjexxFCL::FArray1< T >.

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

template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::operator= ( FArray1A< T > const &  a) [inline]
template<typename T>
FArray1A& ObjexxFCL::FArray1A< T >::operator= ( Super const &  a) [inline]
template<typename T>
size_type ObjexxFCL::FArray1A< T >::size1 ( ) const [inline, virtual]
template<typename T>
int ObjexxFCL::FArray1A< T >::u ( ) const [inline, virtual]

Upper Index.

Implements ObjexxFCL::FArray1< T >.

References ObjexxFCL::StaticIndexRange::u().

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

Upper Index.

Implements ObjexxFCL::FArray1< T >.

References ObjexxFCL::StaticIndexRange::u().


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