Hide menu
Loading...
Searching...
No Matches
cadex.MTKBase_DoubleList Class Reference

Defines a list of double values. More...

Inherits global.SystemIDisposable.

Public Member Functions

 MTKBase_DoubleList (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 MTKBase_DoubleList ()
 Constructor.
 
void Append (double theValue)
 Adds a value to the list.
 
double Value (uint theIndex)
 Access specified element.
 
double Access (uint theIndex)
 
uint Size ()
 Returns the number of elements in the list.
 
bool IsEmpty ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Defines a list of double values.

Values can be added using Append() and retrieved using Value() or operator[]. The number of added values can be retrieved by Size().

Constructor & Destructor Documentation

◆ MTKBase_DoubleList()

cadex.MTKBase_DoubleList.MTKBase_DoubleList ( )
inline

Constructor.

Creates an empty list.

Member Function Documentation

◆ Value()

double cadex.MTKBase_DoubleList.Value ( uint theIndex)
inline

Access specified element.

Returns a reference to the value at specified location pos.

theIndex must be in the range [0, Size()-1]. Otherwise the result is undefined.

See also
Size()

Access specified element.

Returns the value at specified location pos.

theIndex must be in the range [0, Size()-1]. Otherwise the result is undefined.

See also
Size()