IMP  2.2.1
The Integrative Modeling Platform
IMP::base::ConstVector< Data, SwigData > Class Template Reference

Store an array of values of the same type. More...

#include <IMP/base/ConstVector.h>

+ Inheritance diagram for IMP::base::ConstVector< Data, SwigData >:

Public Member Functions

 ConstVector (unsigned int sz, Data fill)
 
template<class It >
 ConstVector (It b, It e)
 
template<class Vector >
 ConstVector (const Vector &i)
 
Data operator[] (unsigned int i) const
 
void show (std::ostream &out=std::cout) const
 
unsigned int size () const
 

Detailed Description

template<class Data, class SwigData = Data>
class IMP::base::ConstVector< Data, SwigData >

Items must be comparable and hashable and the arrays cannote be changed after creation.

Definition at line 27 of file base/ConstVector.h.


The documentation for this class was generated from the following file: