PSCF v1.3
Util::Pair< Data > Class Template Reference

An array of exactly 2 objects. More...

#include <Pair.h>

Inheritance diagram for Util::Pair< Data >:
Util::FArray< Data, 2 >

Additional Inherited Members

Public Member Functions inherited from Util::FArray< Data, 2 >
 FArray ()
 Constructor.
FArray< Data, Capacity > & operator= (FArray< Data, Capacity > const &other)
 Assignment, element by element.
int size () const
 Return number of elements in this FArray.
int capacity () const
 Return number of elements in this FArray.
void begin (ArrayIterator< Data > &iterator)
 Set an ArrayIterator to the beginning of this Array.
Data & operator[] (int i)
 Mimic C array subscripting.
Data * cArray ()
 Return pointer to underlying C array.
void serialize (Archive &ar, const unsigned int version)
 Serialize a FArray to/from an Archive.
int packedSize ()
 Return packed size in a MemoryArchive, in bytes.

Detailed Description

template<typename Data>
class Util::Pair< Data >

An array of exactly 2 objects.

Definition at line 23 of file Pair.h.


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