shards Version of the Day
shards::Array< Scalar, RankZero, void, void, void, void, void, void, void, void > Class Template Reference

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

#include <Shards_Array.hpp>

List of all members.

Array Attributes

enum  { Rank = 0 }
 Rank of the array is the number of non-void dimension tags.
enum  { Natural = false }
 If the multidimension follows the natural ordering.
enum  { Reverse = false }
 If the multidimension follows the reverse (Fortran) ordering.
enum  { Contiguous = true }
 If the member data storage is contiguous.
typedef Scalar value_type
 Type of member data.
typedef array_traits::int_t size_type
 Type for sizes.
typedef const ArrayDimTagtag_type
 Type of runtime dimension tags.
size_type rank () const
 Rank of the array is the number of non-void dimension tags.
bool natural () const
 If the multidimension follows the natural ordering.
bool reverse () const
 If the multidimension follows the reverse (Fortran) ordering.
bool contiguous () const
 If the member data storage is contiguous.
size_type size () const
 Total number of member data items.

Member data access operators

value_typecontiguous_data () const
 Pointer to contiguous block of member data.
value_typeoperator() () const
 Access member via Rank 0 multi-index.

Constructors and Assignment Operators

 Array ()
 Array (const Array &rhs)
Arrayoperator= (const Array &rhs)
 Array (value_type *arg_ptr)

Detailed Description

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

Specialization for an array with Rank = 0.

Definition at line 4146 of file Shards_Array.hpp.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs Enumerator