21 if ( m_pAccumulator !=
NULL )
23 delete m_pAccumulator;
24 m_pAccumulator =
NULL;
35 catch ( std::bad_alloc )
37 throw gcnew GeographicErr(
"Failed to allocate memory for a GeogrpicLib::Accumulator");
Header for NETGeographicLib::NETGeographicLib objects.
Exception class for NETGeographicLib.
void Sum(double a)
Adds a value to the accumulator.
static bool operator!=(Accumulator^ lhs, double a)
Inequality operator.
void Assign(double a)
Assigns a value to an accumulator.
GeographicLib::Accumulator< double > * m_pAccumulator
double Result()
Returns the accumulated value.
void Multiply(int i)
Multiplication by an integer.
Header for GeographicLib::Accumulator class.
static bool operator<=(Accumulator^ lhs, double a)
Less than or equal to operator.
static bool operator>(Accumulator^ lhs, double a)
Greater than operator.
static bool operator==(Accumulator^ lhs, double a)
Equality operator.
static bool operator>=(Accumulator^ lhs, double a)
Greater than or equal to operator.
Header for NETGeographicLib::Accumulator class.
Accumulator(void)
Constructor.
.NET wrapper for GeographicLib::Accumulator.
static bool operator<(Accumulator^ lhs, double a)
Less than operator.