10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
tenduke::ee::licensing::LicenseCheckoutItem Class Reference

#include <LicenseCheckoutItem.h>

Detailed Description

Licensed item to be checked out.

Public Member Functions

 LicenseCheckoutItem (std::string name, std::string requestedVersion=NO_VERSION, std::string licenseId=NO_LICENSE_ID)
 Constructs new instance.
 

Public Attributes

const std::string name
 Name of the licensed item.
 
const std::string requestedVersion
 Requested version.
 
const std::string licenseId
 Checkout this license (note that item name must still be given).
 

Static Public Attributes

static const std::string NO_VERSION = ""
 Named constant to indicate that no version is specified.
 
static const std::string NO_LICENSE_ID = ""
 Named constant to indicate that no license id is specified.
 

Constructor & Destructor Documentation

◆ LicenseCheckoutItem()

tenduke::ee::licensing::LicenseCheckoutItem::LicenseCheckoutItem ( std::string  name,
std::string  requestedVersion = NO_VERSION,
std::string  licenseId = NO_LICENSE_ID 
)
explicit

Constructs new instance.

Parameters
namename of the licensed item to check out
requestedVersionversion requested to be checked out. Optional, and if provided, this overrides a request-level version. Empty string = not provided = the version from the request will be used, if any.
licenseIdcheckout from this license. Name must still be given, and must be name of the item of the license. Optional. Empty string = no license id.

Member Data Documentation

◆ NO_LICENSE_ID

const std::string tenduke::ee::licensing::LicenseCheckoutItem::NO_LICENSE_ID = ""
static

Named constant to indicate that no license id is specified.

The value is empty string.

◆ NO_VERSION

const std::string tenduke::ee::licensing::LicenseCheckoutItem::NO_VERSION = ""
static

Named constant to indicate that no version is specified.

The value is empty string.


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