Accumulator.h
Go to the documentation of this file.
1 #pragma once
2 
14 {
44  public ref class Accumulator
45  {
46  private:
47  // Pointer to the unmanaged GeographicLib::Accumulator.
49  // The finalizer releases the unmanaged object when this class is destroyrd.
50  !Accumulator(void);
51  public:
53  Accumulator(void);
55  ~Accumulator() { this->!Accumulator(); }
60  void Assign( double a );
62  double Result();
67  void Sum( double a );
72  void Multiply( int i );
79  static bool operator == ( Accumulator^ lhs, double a );
86  static bool operator != ( Accumulator^ lhs, double a );
93  static bool operator < ( Accumulator^ lhs, double a );
100  static bool operator <= ( Accumulator^ lhs, double a );
107  static bool operator > ( Accumulator^ lhs, double a );
114  static bool operator >= ( Accumulator^ lhs, double a );
115  };
116 } //namespace 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
Definition: Accumulator.h:48
double Result()
Returns the accumulated value.
void Multiply(int i)
Multiplication by an integer.
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.
~Accumulator()
Destructor calls the finalizer.
Definition: Accumulator.h:55
static bool operator>=(Accumulator^ lhs, double a)
Greater than or equal to operator.
.NET wrapper for GeographicLib::Accumulator.
Definition: Accumulator.h:44
static bool operator<(Accumulator^ lhs, double a)
Less than operator.


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:33:53