GiNaC  1.6.2
Public Member Functions | Private Member Functions | Private Attributes
GiNaC::container_init< T, STLT > Class Template Reference

Helper template to allow initialization of containers via an overloaded comma operator (idea stolen from Blitz++). More...

#include <container.h>

List of all members.

Public Member Functions

 container_init (STLT &s)
container_init< T, STLT > operator, (const T &x)
container_init< T, STLT > operator, (int x)
container_init< T, STLT > operator, (unsigned int x)
container_init< T, STLT > operator, (long x)
container_init< T, STLT > operator, (unsigned long x)
container_init< T, STLT > operator, (double x)
container_init< T, STLT > operator, (const symbol &x)

Private Member Functions

 container_init ()

Private Attributes

STLT & stlt

Detailed Description

template<typename T, typename STLT>
class GiNaC::container_init< T, STLT >

Helper template to allow initialization of containers via an overloaded comma operator (idea stolen from Blitz++).

Definition at line 72 of file container.h.


Constructor & Destructor Documentation

template<typename T , typename STLT >
GiNaC::container_init< T, STLT >::container_init ( STLT &  s) [inline]

Definition at line 74 of file container.h.

template<typename T , typename STLT >
GiNaC::container_init< T, STLT >::container_init ( ) [private]

Member Function Documentation

template<typename T , typename STLT >
container_init<T, STLT> GiNaC::container_init< T, STLT >::operator, ( const T &  x) [inline]

Definition at line 76 of file container.h.

References GiNaC::container_init< T, STLT >::stlt.

template<typename T , typename STLT >
container_init<T, STLT> GiNaC::container_init< T, STLT >::operator, ( int  x) [inline]

Definition at line 85 of file container.h.

References GiNaC::container_init< T, STLT >::stlt.

template<typename T , typename STLT >
container_init<T, STLT> GiNaC::container_init< T, STLT >::operator, ( unsigned int  x) [inline]

Definition at line 91 of file container.h.

References GiNaC::container_init< T, STLT >::stlt.

template<typename T , typename STLT >
container_init<T, STLT> GiNaC::container_init< T, STLT >::operator, ( long  x) [inline]

Definition at line 97 of file container.h.

References GiNaC::container_init< T, STLT >::stlt.

template<typename T , typename STLT >
container_init<T, STLT> GiNaC::container_init< T, STLT >::operator, ( unsigned long  x) [inline]

Definition at line 103 of file container.h.

References GiNaC::container_init< T, STLT >::stlt.

template<typename T , typename STLT >
container_init<T, STLT> GiNaC::container_init< T, STLT >::operator, ( double  x) [inline]

Definition at line 109 of file container.h.

References GiNaC::container_init< T, STLT >::stlt.

template<typename T , typename STLT >
container_init<T, STLT> GiNaC::container_init< T, STLT >::operator, ( const symbol x) [inline]

Definition at line 115 of file container.h.

References GiNaC::container_init< T, STLT >::stlt.


Member Data Documentation

template<typename T , typename STLT >
STLT& GiNaC::container_init< T, STLT >::stlt [private]

Definition at line 123 of file container.h.

Referenced by GiNaC::container_init< T, STLT >::operator,().


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

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.