MyraMath
Public Member Functions | List of all members
myra::Array1< T > Class Template Reference

Container of values, allows random (i) access. More...

#include <Array1.h>

Public Member Functions

 Array1 ()
 Default constructs to 0 size.
 
 Array1 (int in_I, T filler)
 Constructs with specified size and filler.
 
 Array1 (std::initializer_list< T > list)
 Constructs from std::initializer_list<T>
 
 Array1 (InputStream &in)
 InputStream constructor.
 
void write (OutputStream &out) const
 Writes to OutputStream.
 
const T & operator() (int i) const
 Random accessor/mutator.
 
const T & operator[] (int i) const
 
T & operator() (int i)
 
T & operator[] (int i)
 
void swap (Array1 &that)
 Member swap.
 
int size () const
 Size inspector.
 

Detailed Description

template<class T>
class myra::Array1< T >

Container of values, allows random (i) access.


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