Polaris: Info< T > Class Template Reference

Info< T > Class Template Reference

a class for providing extra info to functions More...

#include <Info.h>

Inheritance diagram for Info< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Info (const T &data)
 Info (const Info< T > &other)
Info< T > & operator= (const Info< T > &other)
virtual ~Info ()
virtual ExtraInfoclone () const
virtual T & data ()
T & data ()
void data (const T &data)

Detailed Description

template<class T>
class Info< T >

a class for providing extra info to functions

Polaris C++ CVDL

See also:
Info.h

Info.h

Description

ExtraInfo and Info work hand-in-hand. Please see the man page for ExtraInfo for information on how to use these two classes.

Note:
Cannot declare Info<T> where T is a reference (pointers are okay, though)

Definition at line 37 of file Info.h.


Constructor & Destructor Documentation

template<class T>
Info< T >::Info const T &  data  )  [inline]
 

< warning: assignment type mismatch.

Definition at line 63 of file Info.h.

References Info< T >::data().

template<class T>
Info< T >::Info const Info< T > &  other  )  [inline]
 

Definition at line 71 of file Info.h.

template<class T>
Info< T >::~Info  )  [inline, virtual]
 

Definition at line 87 of file Info.h.


Member Function Documentation

template<class T>
Info< T > & Info< T >::operator= const Info< T > &  other  )  [inline]
 

Definition at line 78 of file Info.h.

template<class T>
ExtraInfo * Info< T >::clone  )  const [inline, virtual]
 

Implements ExtraInfo.

Definition at line 97 of file Info.h.

template<class T>
T & Info< T >::data  )  [inline, virtual]
 

Reimplemented in OmegaInfo, and OmegaInfo.

Definition at line 104 of file Info.h.

Referenced by OmegaInfo::data(), Info< T >::data(), and Info< T >::Info().

template<class T>
T& Info< T >::data  )  [inline]
 

Reimplemented in OmegaInfo, and OmegaInfo.

template<class T>
void Info< T >::data const T &  data  )  [inline]
 

< warning: assignment type mismatch.

Definition at line 111 of file Info.h.

References Info< T >::data().


The documentation for this class was generated from the following file:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:07:32 2005