Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
ECPPoint Class Reference

Elliptical Curve Point over GF(p), where p is prime. More...

#include <ecpoint.h>

Collaboration diagram for ECPPoint:
[legend]

Public Member Functions

virtual ~ECPPoint ()
 
 ECPPoint ()
 Construct an ECPPoint. More...
 
 ECPPoint (const Integer &x, const Integer &y)
 Construct an ECPPoint from coordinates. More...
 
bool operator== (const ECPPoint &t) const
 Tests points for equality. More...
 
bool operator< (const ECPPoint &t) const
 Tests points for ordering. More...
 

Public Attributes

Integer x
 
Integer y
 
bool identity
 

Detailed Description

Elliptical Curve Point over GF(p), where p is prime.

Since
Crypto++ 2.0

Definition at line 21 of file ecpoint.h.

Constructor & Destructor Documentation

virtual ECPPoint::~ECPPoint ( )
inlinevirtual

Definition at line 23 of file ecpoint.h.

ECPPoint::ECPPoint ( )
inline

Construct an ECPPoint.

identity is set to true

Definition at line 27 of file ecpoint.h.

ECPPoint::ECPPoint ( const Integer x,
const Integer y 
)
inline

Construct an ECPPoint from coordinates.

identity is set to false

Definition at line 31 of file ecpoint.h.

Member Function Documentation

bool ECPPoint::operator< ( const ECPPoint t) const
inline

Tests points for ordering.

Parameters
tthe other point
Returns
true if this point is less than other, false otherwise

Definition at line 43 of file ecpoint.h.

bool ECPPoint::operator== ( const ECPPoint t) const
inline

Tests points for equality.

Parameters
tthe other point
Returns
true if the points are equal, false otherwise

Definition at line 37 of file ecpoint.h.

Member Data Documentation

bool ECPPoint::identity

Definition at line 47 of file ecpoint.h.

Integer ECPPoint::x

Definition at line 46 of file ecpoint.h.

Integer ECPPoint::y

Definition at line 46 of file ecpoint.h.


The documentation for this class was generated from the following file: