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");
static bool operator<(Accumulator^lhs, double a)
Less than operator.
Header for NETGeographicLib::NETGeographicLib objects.
Exception class for NETGeographicLib.
void Sum(double a)
Adds a value to the accumulator.
void Assign(double a)
Assigns a value to an accumulator.
GeographicLib::Accumulator< double > * m_pAccumulator
static bool operator==(Accumulator^lhs, double a)
Equality operator.
double Result()
Returns the accumulated value.
static bool operator!=(Accumulator^lhs, double a)
Inequality operator.
static bool operator>(Accumulator^lhs, double a)
Greater than operator.
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 or equal to operator.
Header for NETGeographicLib::Accumulator class.
Accumulator(void)
Constructor.
.NET wrapper for GeographicLib::Accumulator.