OpenCPN Partial API docs
Pincode Class Reference

A random generated int value with accessors for string and hashcode. More...

#include <pincode.h>

Public Member Functions

 Pincode (uint64_t v)
 Create a new pincode based on a known value.
 
uint64_t Get () const
 Return numeric value:
 
std::string ToString () const
 Return value as string.
 
std::string Hash () const
 Return a hashvalue string.
 
std::string CompatHash ()
 Return a hashvalue as computed on 5.8 hosts.
 

Static Public Member Functions

static Pincode Create ()
 Create a new pincode based on a random value.
 
static std::string IntToHash (uint64_t value)
 convert numeric value to hash string.
 

Detailed Description

A random generated int value with accessors for string and hashcode.

Definition at line 27 of file pincode.h.


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