KeyRing::IntArray Class Reference

Inheritance diagram for KeyRing::IntArray:
KeyRing::KValue

List of all members.

Public Member Functions

int * value ()
 IntArray (const int *values, int size)
 ~IntArray ()

Private Attributes

int * myValues

Detailed Description

Definition at line 18 of file KeyRing.h.


Constructor & Destructor Documentation

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

Definition at line 22 of file KeyRing.h.

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

00022                                              {
00023          myValues = new int[size] ;
00024          for (int element = 0 ; element < size ; element++) {
00025             myValues[element] = values[element] ;
00026          }
00027          mySize = size ;
00028          myType = KT_INT;
00029       } ;

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

Definition at line 30 of file KeyRing.h.

References myValues.

00030 {delete [] myValues ;} ;


Member Function Documentation

int* KeyRing::IntArray::value (  )  [inline]

Definition at line 21 of file KeyRing.h.

References myValues.

Referenced by KeyRing::dump(), KeyRing::intArray(), KeyRing::intKey(), and KeyRing::write().

00021 {return (myValues) ;};


Member Data Documentation

Definition at line 19 of file KeyRing.h.

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


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

Generated on 18 Oct 2018 for loon by  doxygen 1.6.1