ivl 679
array< T, data::wrap_array< A, ATTR, DERIVED_INFO > > Class Template Reference

#include <wrap_array_class.hpp>

Inherits array_common_base< array< T, data::wrap_array< A, ATTR, DERIVED_INFO > > >, and array_details::wrap_array_overlap_impl< D, IS_FORCE >.

List of all members.

Public Types

typedef ptrdiff_t diff_type
 difference type of iterators
typedef size_t size_type
 parameter of resize, in each class of the hierarchy

Public Member Functions

void reshape (size_t len)
 Reshape is same as resize for 1-d arrays.
 ~array ()
 destructor
Size functions
size_t length () const
 Get the length of the element sequence.
size_type size () const
 Get the size of the array. generic-class function.
size_t numel () const
 Get the length of the element sequence.
Element access

Access a unique element by specifying the position

best_reference operator[] (typename tool::brackets_arg i)
 Returns the const element found at position offset.
const_reference operator[] (typename tool::brackets_arg i) const
 Returns the element found at position offset.
Constructors
 array ()
 Default constructor.
 array (A &a)
 construction from the reference arrays
 array (prv_const_ice_a a)
 array (const array &o)
 copy constructor
filler constructors
 array (size_t)
 unused constructor with size_type
template<class J , class D >
 array (size_t, const array< J, D > &)
 unused constructor with size_type and T& or A&
 array (size_t, const T *)
 unused constructor with size_type and T*
template<class J , class S >
 array (const array< J, S > &a)
 unused constructor with other type array
template<class J , class S >
 array (array< J, S > &a)
 unused constructor with other type array
Assignement Operators
this_typeoperator= (const nice_this_type &a)
this_typeoperator= (const ice_this_type &a)

Special members

struct array_details::wrap_array_overlap_impl
void setref (A &a)
A & getref ()
void init (A &a)
void init (const array &o)
template<class J >
void init (J &a)
 operator A & ()
 operator typename types::apply_const< A >::type & () const

Detailed Description

template<class T, class A, class ATTR, class DERIVED_INFO>
class array< T, data::wrap_array< A, ATTR, DERIVED_INFO > >

Wrap array is a superset for force class. Force class is a wrapper of another normal array that is writeable and possibly resizeable. The only action of this class is that it hides the wrapped class and pointer from the rest of ivl, and it has some special behavior so that overlap always returns false in any circumstances. So this array won't detect data overlapping with other arrays, allowing the experienced user to force an array to not be copied when it is input and output at the same time when upon request.


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