Iris SDK  1.0
Iris Recognition Software Development Kit
Classes | Functions
license.h File Reference
#include <iris_base/export.h>
#include <string>
#include <memory>
#include <vector>
Include dependency graph for license.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  iris_sdk::license
 The license object. A license object provide information about your limits in iris_sdk. See Licensing Use iris_sdk::load_license_from_file() and iris_sdk::load_license_from_data() functions for instantiate a license object. More...
 

Functions

std::unique_ptr< license > IRIS_SDK_EXPORT iris_sdk::load_license_file ()
 Load license from file in known paths. (see known_paths) More...
 
std::unique_ptr< license > IRIS_SDK_EXPORT iris_sdk::load_license_file (const std::string &path)
 Load license from specified file. More...
 
std::unique_ptr< license > IRIS_SDK_EXPORT iris_sdk::load_license_from_data (const std::vector< uint8_t > &data)
 Load license from data container. More...
 

Function Documentation

◆ load_license_file() [1/2]

std::unique_ptr<license> IRIS_SDK_EXPORT iris_sdk::load_license_file ( )

Load license from file in known paths. (see known_paths)

Exceptions
iris_sdk::exception

◆ load_license_file() [2/2]

std::unique_ptr<license> IRIS_SDK_EXPORT iris_sdk::load_license_file ( const std::string &  path)

Load license from specified file.

Parameters
[in]pathfile with license
Exceptions
iris_sdk::exception

◆ load_license_from_data()

std::unique_ptr<license> IRIS_SDK_EXPORT iris_sdk::load_license_from_data ( const std::vector< uint8_t > &  data)

Load license from data container.

Parameters
[in]datacontainer with license
Exceptions
iris_sdk::exception