Afhe constructor

Afhe(
  1. String backendName,
  2. String schemeName
)

Default Constructor initializes Backend with Scheme.

The library stores the memory address of the underlying C++ object.

Implementation

Afhe(String backendName, String schemeName) {
  backend = Backend.set(backendName);
  scheme = Scheme.set(schemeName);
  library = _c_init_backend(backend.value);
  raiseForStatus();
}