A class to store an fixed array of same-typed values.
More...
#include <IMP/base/Array.h>
|
typedef Storage::const_iterator | const_iterator |
|
typedef Storage::iterator | iterator |
|
|
| Array (SwigData x, SwigData y) |
|
| Array (SwigData x, SwigData y, SwigData z) |
|
| Array (SwigData x0, SwigData x1, SwigData x2, SwigData x3) |
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
SwigData | get (unsigned int i) const |
|
unsigned int | get_dimension () |
|
std::string | get_name () const |
|
const Data | operator[] (unsigned int i) const |
|
Data & | operator[] (unsigned int i) |
|
void | show (std::ostream &out=std::cout) const |
|
unsigned int | size () const |
|
template<unsigned int D, class Data, class SwigData = Data>
class IMP::base::Array< D, Data, SwigData >
Only the constructor with the correct number of arguments for the dimensionality can be used.
- Note
- These are mapped to/from python tuples, so there is no need to use types that are typedefs of this on the python side.
- See Also
- ConstVector
Definition at line 34 of file Array.h.
The documentation for this class was generated from the following file: