KeyRing::FloatArray Class Reference

Inheritance diagram for KeyRing::FloatArray:
KeyRing::KValue

List of all members.

Public Member Functions

float * value ()
 FloatArray (const float *values, int size)
 ~FloatArray ()

Private Attributes

float * myValues

Detailed Description

Definition at line 32 of file KeyRing.h.


Constructor & Destructor Documentation

KeyRing::FloatArray::FloatArray ( const float *  values,
int  size 
) [inline]

Definition at line 36 of file KeyRing.h.

References KT_FLOAT, KeyRing::KValue::mySize, KeyRing::KValue::myType, and myValues.

00036                                                  {
00037          myValues = new float[size] ;
00038          for (int element = 0 ; element < size ; element++) {
00039             myValues[element] = values[element] ;
00040          }
00041          mySize = size ;
00042          myType = KT_FLOAT;
00043       } ;

KeyRing::FloatArray::~FloatArray (  )  [inline]

Definition at line 44 of file KeyRing.h.

References myValues.

00044 {delete [] myValues ;} ;


Member Function Documentation

float* KeyRing::FloatArray::value (  )  [inline]

Definition at line 35 of file KeyRing.h.

References myValues.

Referenced by KeyRing::dump(), KeyRing::floatKey(), and KeyRing::write().

00035 {return (myValues) ;};


Member Data Documentation

Definition at line 33 of file KeyRing.h.

Referenced by FloatArray(), value(), and ~FloatArray().


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

Generated on 22 Jul 2018 for loon by  doxygen 1.6.1