Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TupleItem Class Reference

#include <Tuple.h>

List of all members.

Public Methods

 TupleItem ()
 TupleItem (const std::string& name, float x=0)
 TupleItem (const std::string& name, float* x)
 alternate constructor uses pointer to other buffer. More...

void operator= (float x)
float operator() () const
 operator float () const
std::string name () const

Private Methods

float& operator() ()

Private Attributes

std::string m_name
float datum
float* m_pdatum

Friends

class  Tuple
std::ostream& operator<< (std::ostream&, const TupleItem& )
std::istream& operator>> (std::istream&, Tuple& )


Constructor & Destructor Documentation

TupleItem::TupleItem ( ) [inline]
 

Definition at line 14 of file Tuple.h.

TupleItem::TupleItem ( const std::string & iname,
float x = 0 )
 

Definition at line 183 of file Tuple.cxx.

TupleItem::TupleItem ( const std::string & iname,
float * px )
 

alternate constructor uses pointer to other buffer.

Definition at line 205 of file Tuple.cxx.


Member Function Documentation

std::string TupleItem::name ( ) const [inline]
 

Definition at line 35 of file Tuple.h.

Referenced by TupleItem(), main(), and operator<<().

TupleItem::operator float ( ) const [inline]
 

Definition at line 30 of file Tuple.h.

float & TupleItem::operator() ( ) [private]
 

Definition at line 213 of file Tuple.cxx.

float TupleItem::operator() ( ) const [inline]
 

Definition at line 26 of file Tuple.h.

void TupleItem::operator= ( float x ) [inline]
 

Definition at line 20 of file Tuple.h.


Friends And Related Function Documentation

class Tuple [friend]
 

Definition at line 11 of file Tuple.h.

std::ostream& operator<< ( std::ostream & out,
const TupleItem & t ) [friend]
 

Definition at line 218 of file Tuple.cxx.

std::istream& operator>> ( std::istream & in,
Tuple & t ) [friend]
 

Definition at line 138 of file Tuple.cxx.


Member Data Documentation

float TupleItem::datum [private]
 

Definition at line 47 of file Tuple.h.

std::string TupleItem::m_name [private]
 

Definition at line 46 of file Tuple.h.

float * TupleItem::m_pdatum [private]
 

Definition at line 48 of file Tuple.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:53 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000