PHX::Array< Scalar, RankZero, void, void, void, void, void, void, void, void > Class Template Reference
[Mdarray_module]

Specialization for an array with Rank = 0. More...

#include <Phalanx_Array.hpp>

List of all members.

Public Types

typedef Scalar value_type
typedef unsigned size_type
typedef const ArrayDimTagtag_type
 Rank = 0
 Natural = false
 Reverse = false
 Contiguous = true
enum  { Rank = 0 }
enum  { Natural = false }
enum  { Reverse = false }
enum  { Contiguous = true }

Public Member Functions

unsigned rank () const
bool natural () const
bool reverse () const
bool contiguous () const
size_type size () const
 Total number of member data items.
value_type * contiguous_data () const
 Pointer to contiguous block of member data.
value_type & operator() () const
 Access member via Rank 0 multi-index.
 Array (const Array &rhs)
Arrayoperator= (const Array &rhs)
 Array (value_type *arg_ptr)

Protected Attributes

value_type * m_ptr

Friends

class PHX::Array


Detailed Description

template<typename Scalar>
class PHX::Array< Scalar, RankZero, void, void, void, void, void, void, void, void >

Specialization for an array with Rank = 0.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:46:23 2010 for Phalanx by  doxygen 1.4.7