Valuation library for inflation-indexed bonds
Public Types | Public Member Functions | List of all members
AndrewKalotayAssociates::Common::Array< ValueType > Class Template Reference
Inheritance diagram for AndrewKalotayAssociates::Common::Array< ValueType >:
AndrewKalotayAssociates::Common::Array2d< ValueType >

Public Types

typedef Array< ValueType > this_type
typedef Iterator< ValueType > iterator
typedef ConstIterator< ValueType > const_iterator
typedef ValueType value_type
typedef std::vector< ValueType > base_type
typedef base_type::size_type size_type
typedef base_type::allocator_type allocator_type
typedef allocator_type::reference reference
typedef allocator_type::const_reference const_reference
typedef allocator_type::pointer pointer
typedef allocator_type::const_pointer const_pointer

Public Member Functions

 Array (size_type size, const ValueType &value=ValueType())
 Array (const_iterator begin, const_iterator end)
void assign (const_iterator begin, const_iterator end)
void reset (const_iterator begin, const_iterator end)
void resize (size_type size)
ValueType & operator[] (size_type index)
ValueType & at (size_type index)
ValueType & get (size_type index)
void set (size_type index, const ValueType &value)
void push_back (ValueType value)
const ValueType & at (size_type index) const
const ValueType & get (size_type index) const
iterator begin ()
iterator end ()
const ValueType & operator[] (size_type index) const
size_type size () const
const_iterator begin () const
const_iterator end () const

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