LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
Storage policy for a block of memory wrapped in a boost::shared_array pointer. More...
#include <MatrixStorage.hpp>
Public Types | |
typedef const T * | const_iterator |
typedef T * | iterator |
Public Member Functions | |
SharedArray (const ulong n) | |
SharedArray (T *p, const ulong n) | |
T * | get (void) const |
T & | operator[] (const ulong i) |
const T & | operator[] (const ulong i) const |
iterator | begin (void) |
iterator | end (void) |
const_iterator | begin (void) const |
const_iterator | end (void) const |
Protected Member Functions | |
void | set (const SharedArray< T > &s) |
void | copyData (const SharedArray< T > &s) |
void | resize (const ulong n) |
void | reset (void) |
Storage policy for a block of memory wrapped in a boost::shared_array pointer.
This policy is based on a block of memory that is wrapped in a boost::shared_array pointer. This is the policy that you need to use for interfacing with Atlas.
Handles [potentially] actual allocation of data and range-checking for accesses.