PicoScenes API Docs
 
Loading...
Searching...
No Matches
License::License Class Reference

#include <LicenseModel.hxx>

Public Member Functions

 License ()=default
 
std::string toString () const
 
void save2File () const
 
void save2HumanReadableLicenseJson (const std::string &jsonFile) const
 
std::string getLicenseId ()
 

Static Public Member Functions

static License fromFile (const std::string &licenseFilePath)
 

Public Attributes

std::optional< std::string > proLicenseKey {}
 
std::string hardwareId {}
 
std::string licenseName {}
 
std::string licenseDescription {}
 
std::optional< std::chrono::time_point< std::chrono::system_clock, std::chrono::seconds > > licenseExpirationTime
 
std::map< std::string, Featurefeatures
 
std::string licenseFilePath {}
 

Detailed Description

Definition at line 53 of file LicenseModel.hxx.

Constructor & Destructor Documentation

◆ License()

License::License::License ( )
default

Member Function Documentation

◆ fromFile()

static License License::License::fromFile ( const std::string &  licenseFilePath)
static

◆ getLicenseId()

std::string License::License::getLicenseId ( )

◆ save2File()

void License::License::save2File ( ) const

◆ save2HumanReadableLicenseJson()

void License::License::save2HumanReadableLicenseJson ( const std::string &  jsonFile) const

◆ toString()

std::string License::License::toString ( ) const

Member Data Documentation

◆ features

std::map<std::string, Feature> License::License::features

Definition at line 60 of file LicenseModel.hxx.

◆ hardwareId

std::string License::License::hardwareId {}

Definition at line 56 of file LicenseModel.hxx.

◆ licenseDescription

std::string License::License::licenseDescription {}

Definition at line 58 of file LicenseModel.hxx.

◆ licenseExpirationTime

std::optional<std::chrono::time_point<std::chrono::system_clock, std::chrono::seconds> > License::License::licenseExpirationTime

Definition at line 59 of file LicenseModel.hxx.

◆ licenseFilePath

std::string License::License::licenseFilePath {}

Definition at line 61 of file LicenseModel.hxx.

◆ licenseName

std::string License::License::licenseName {}

Definition at line 57 of file LicenseModel.hxx.

◆ proLicenseKey

std::optional<std::string> License::License::proLicenseKey {}

Definition at line 55 of file LicenseModel.hxx.


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