TORCS  1.3.9
The Open Racing Car Simulator
Tuple4 Class Reference

#include <Tuple4.h>

Inheritance diagram for Tuple4:

Public Member Functions

 Tuple4 ()
 
 Tuple4 (const float v[4])
 
 Tuple4 (const double v[4])
 
 Tuple4 (Scalar x, Scalar y, Scalar z, Scalar w)
 
Scalaroperator[] (int i)
 
const Scalaroperator[] (int i) const
 
ScalargetValue ()
 
const ScalargetValue () const
 
void setValue (const float v[4])
 
void setValue (const double v[4])
 
void setValue (Scalar x, Scalar y, Scalar z, Scalar w)
 

Protected Attributes

Scalar comp [4]
 

Detailed Description

Definition at line 37 of file Tuple4.h.

Constructor & Destructor Documentation

◆ Tuple4() [1/4]

Tuple4::Tuple4 ( )
inline

Definition at line 39 of file Tuple4.h.

◆ Tuple4() [2/4]

Tuple4::Tuple4 ( const float  v[4])
inline

Definition at line 40 of file Tuple4.h.

◆ Tuple4() [3/4]

Tuple4::Tuple4 ( const double  v[4])
inline

Definition at line 41 of file Tuple4.h.

◆ Tuple4() [4/4]

Tuple4::Tuple4 ( Scalar  x,
Scalar  y,
Scalar  z,
Scalar  w 
)
inline

Definition at line 42 of file Tuple4.h.

Member Function Documentation

◆ getValue() [1/2]

Scalar* Tuple4::getValue ( )
inline

Definition at line 47 of file Tuple4.h.

◆ getValue() [2/2]

const Scalar* Tuple4::getValue ( ) const
inline

Definition at line 48 of file Tuple4.h.

◆ operator[]() [1/2]

Scalar& Tuple4::operator[] ( int  i)
inline

Definition at line 44 of file Tuple4.h.

◆ operator[]() [2/2]

const Scalar& Tuple4::operator[] ( int  i) const
inline

Definition at line 45 of file Tuple4.h.

◆ setValue() [1/3]

void Tuple4::setValue ( const float  v[4])
inline

Definition at line 50 of file Tuple4.h.

◆ setValue() [2/3]

void Tuple4::setValue ( const double  v[4])
inline

Definition at line 54 of file Tuple4.h.

◆ setValue() [3/3]

void Tuple4::setValue ( Scalar  x,
Scalar  y,
Scalar  z,
Scalar  w 
)
inline

Definition at line 58 of file Tuple4.h.

Member Data Documentation

◆ comp

Scalar Tuple4::comp[4]
protected

Definition at line 63 of file Tuple4.h.


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