IMP  2.4.0
The Integrative Modeling Platform
Public Member Functions | List of all members
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 >:

Detailed Description

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

Store an array of values of the same type.

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

Definition at line 27 of file ConstVector.h.

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

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