A small wrap around std::vector to give easy access to array for interfacing with fortran code. More...
#include <BonTypes.hpp>
Public Member Functions | |
vector () | |
Default constructor. More... | |
vector (size_t n, const T &v) | |
Constructor with initialization. More... | |
vector (const vector< T > &other) | |
Copy constructor. More... | |
vector (const std::vector< T > &other) | |
Copy constructor. More... | |
vector (size_t n) | |
constructor with size. More... | |
vector< T > & | operator= (const vector< T > &other) |
Assignment. More... | |
vector< T > & | operator= (const std::vector< T > &other) |
Assignment. More... | |
T * | operator() () |
Access pointer to first element of storage. More... | |
const T * | operator() () const |
Access pointer to first element of storage. More... | |
A small wrap around std::vector to give easy access to array for interfacing with fortran code.
Definition at line 9 of file BonTypes.hpp.
|
inline |
Default constructor.
Definition at line 12 of file BonTypes.hpp.
|
inline |
Constructor with initialization.
Definition at line 14 of file BonTypes.hpp.
|
inline |
Copy constructor.
Definition at line 16 of file BonTypes.hpp.
|
inline |
Copy constructor.
Definition at line 18 of file BonTypes.hpp.
|
inline |
constructor with size.
Definition at line 20 of file BonTypes.hpp.
|
inline |
Assignment.
Definition at line 22 of file BonTypes.hpp.
|
inline |
Assignment.
Definition at line 26 of file BonTypes.hpp.
|
inline |
Access pointer to first element of storage.
Definition at line 31 of file BonTypes.hpp.
|
inline |
Access pointer to first element of storage.
Definition at line 38 of file BonTypes.hpp.