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
NETGeographicLib::Accumulator::Result
double Result()
Returns the accumulated value.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:48
NETGeographicLib::Accumulator::operator>
static bool operator>(Accumulator^ lhs, double a)
Greater than operator.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:90
NETGeographicLib::Accumulator::operator<=
static bool operator<=(Accumulator^ lhs, double a)
Less than or equal to operator.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:84
NETGeographicLib::Accumulator
.NET wrapper for GeographicLib::Accumulator.
Definition: Accumulator.h:44
NETGeographicLib::Accumulator::operator>=
static bool operator>=(Accumulator^ lhs, double a)
Greater than or equal to operator.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:96
NETGeographicLib::Accumulator::Multiply
void Multiply(int i)
Multiplication by an integer.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:60
NETGeographicLib::Accumulator::operator<
static bool operator<(Accumulator^ lhs, double a)
Less than operator.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:78
NETGeographicLib::Accumulator::Assign
void Assign(double a)
Assigns a value to an accumulator.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:42
GeographicLib::Accumulator< double >
NETGeographicLib::Accumulator::operator!=
static bool operator!=(Accumulator^ lhs, double a)
Inequality operator.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:72
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
NETGeographicLib::Accumulator::~Accumulator
~Accumulator()
Destructor calls the finalizer.
Definition: Accumulator.h:55
NETGeographicLib::Accumulator::operator==
static bool operator==(Accumulator^ lhs, double a)
Equality operator.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:66
NETGeographicLib::Accumulator::Sum
void Sum(double a)
Adds a value to the accumulator.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:54
NETGeographicLib::Accumulator::m_pAccumulator
GeographicLib::Accumulator< double > * m_pAccumulator
Definition: Accumulator.h:48
NETGeographicLib
Definition: Accumulator.h:13
i
int i
Definition: BiCGSTAB_step_by_step.cpp:9
NETGeographicLib::Accumulator::Accumulator
Accumulator(void)
Constructor.
Definition: dotnet/NETGeographicLib/Accumulator.cpp:29


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:47