|
10Duke Scale C++ Client
|
#include <FluentConsumptionBuilder.h>
Base class for fluent building of license checkout parameters.
| Builder | the concrete builder instance (for inheritance) |
Public Member Functions | |
| FluentConsumptionBuilder (std::string licenseKey) | |
| Constructs new instance. | |
| Builder & | seats (const std::string &pProductName, std::int64_t numSeats) |
| Start building a license-consumption for seats. | |
| Builder & | seat (const std::string &pProductName) |
| Start building a license-consumption for one seat. | |
| Builder & | count (const std::string &pProductName, std::int64_t useCount) |
| Start building a license consumption for use count. | |
| Builder & | count (const std::string &pProductName) |
| Starts building a license consumption for one use count. | |
| Builder & | time (const std::string &pProductName, std::int64_t useTime) |
| Starts building a license consumption of use time. | |
| Builder & | version (const std::string &pClientVersion) |
| Set the client version. | |
|
inlineexplicit |
Constructs new instance.
| licenseKey | - |
|
inline |
Starts building a license consumption for one use count.
| pProductName | - |
|
inline |
Start building a license consumption for use count.
| pProductName | - |
| useCount | - |
|
inline |
Start building a license-consumption for one seat.
| pProductName | - |
|
inline |
Start building a license-consumption for seats.
| pProductName | - |
| numSeats | - |
|
inline |
Starts building a license consumption of use time.
| pProductName | - |
| useTime | - |
|
inline |
Set the client version.
If set before any license item definition (building of which start with methods like FluentConsumptionBuilder::seat(), FluentConsumptionBuilder::seats() and so on), it sets default version. The default version is applied on every license to check out unless overridden at license level by calling the method again.
If called after item definition, then sets version of the given item. For example:
| pClientVersion | - |