| Jpp master_rocky-44-g75b7c4f75
    the software that should make you happy | 
One dimensional array of template objects with fixed length. More...
#include <JArray.hh>
 
  
| Public Types | |
| typedef const T * | const_pointer | 
| typedef T * | pointer | 
| typedef const T * | const_iterator | 
| typedef T * | iterator | 
| typedef std::reverse_iterator< const_iterator > | const_reverse_iterator | 
| typedef std::reverse_iterator< iterator > | reverse_iterator | 
| typedef T & | reference | 
| typedef const T & | const_reference | 
| typedef unsigned int | size_type | 
| typedef JLANG::JClass< T >::argument_type | argument_type | 
| Public Member Functions | |
| JArray () | |
| Default constructor. | |
| template<unsigned int M> | |
| JArray (const JArray< M, T > &array) | |
| Copy constructor. | |
| template<unsigned int M> | |
| JArray (const JArray< M, const T > &array) | |
| Copy constructor. | |
| JArray (const T *p) | |
| Copy constructor. | |
| JArray (const JMultiKey< 1, T > &key) | |
| Copy constructor. | |
| JArray (const JMultiKey< 1, const T > &key) | |
| Copy constructor. | |
| JArray (argument_type value) | |
| Initialise constructor. | |
| const_iterator | begin () const | 
| get iterator to begin of data | |
| const_iterator | end () const | 
| get iterator to end of data | |
| iterator | begin () | 
| get iterator to begin of data | |
| iterator | end () | 
| get iterator to end of data | |
| const_reverse_iterator | rbegin () const | 
| get reverse iterator to begin of data | |
| const_reverse_iterator | rend () const | 
| get reverse iterator to begin of data | |
| reverse_iterator | rbegin () | 
| get reverse iterator to begin of data | |
| reverse_iterator | rend () | 
| get reverse iterator to end of data | |
| const_reference | operator[] (int index) const | 
| Get element at given index. | |
| reference | operator[] (int index) | 
| Get element at given index. | |
| const_reference | at (int index) const | 
| Get element at given index. | |
| reference | at (int index) | 
| Get element at given index. | |
| const_pointer | data () const | 
| Get pointer to data. | |
| pointer | data () | 
| Get pointer to data. | |
| void | fill (argument_type value) | 
| Fill array. | |
| JArray & | negate () | 
| Negate array. | |
| JArray & | add (const JArray &array) | 
| Add array. | |
| JArray & | sub (const JArray &array) | 
| Subtract array. | |
| JArray & | mul (const double factor) | 
| Scale array. | |
| JArray & | div (const double factor) | 
| Scale array. | |
| bool | equals (const JArray< N, T > &array) const | 
| Check equality. | |
| JFirst_t & | mul (const JSecond_t &object) | 
| Multiply with object. | |
| Static Public Member Functions | |
| static size_type | size () | 
| Get size of data. | |
| Static Public Attributes | |
| static const unsigned int | N = 1 | 
| Protected Attributes | |
| T | buffer [1] | 
| Friends | |
| std::istream & | operator>> (std::istream &in, JArray &array) | 
| Read array from input stream. | |
| std::ostream & | operator<< (std::ostream &out, const JArray &array) | 
| Write array to output stream. | |
| JReader & | operator>> (JReader &in, JArray &buffer) | 
| Read array from input. | |
| JWriter & | operator<< (JWriter &out, const JArray &buffer) | 
| Write array to output. | |
One dimensional array of template objects with fixed length.
The internal data structure consists of a standard C-array.
| const T* JTOOLS::JArray< 1, T >::const_pointer | 
| T* JTOOLS::JArray< 1, T >::pointer | 
| const T* JTOOLS::JArray< 1, T >::const_iterator | 
| T* JTOOLS::JArray< 1, T >::iterator | 
| std::reverse_iterator<const_iterator> JTOOLS::JArray< 1, T >::const_reverse_iterator | 
| std::reverse_iterator<iterator> JTOOLS::JArray< 1, T >::reverse_iterator | 
| T& JTOOLS::JArray< 1, T >::reference | 
| const T& JTOOLS::JArray< 1, T >::const_reference | 
| unsigned int JTOOLS::JArray< 1, T >::size_type | 
| JLANG::JClass<T>::argument_type JTOOLS::JArray< 1, T >::argument_type | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Get element at given index.
| index | index | 
Definition at line 796 of file JArray.hh.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlinestatic | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineinherited | 
| 
 | friend | 
| 
 | friend | 
| 
 | static | 
| 
 | protected |