Class providing information about a licensed product.
More...
#include <Inventor/lock/SoLicenseProperty.h>
Inheritance diagram for SoLicenseProperty:Public Types | |
| enum | SbLicenseType { SDK , RT } |
| Indicates the type of the license (SDK or RunTime). More... | |
Public Member Functions | |
| SoLicenseProperty () | |
| virtual | ~SoLicenseProperty () |
| const SbString & | getProductName () const |
| Returns the name of the product for this license. | |
| const SbString & | getProductVersion () const |
| Returns the version of the product for this license. | |
| const SbString & | getExpirationDate () const |
| Returns the expire date of the product for this license. | |
| const SbString & | getNumUsers () const |
| Returns the number of users of the product for this license. | |
| const SbString & | getCheckSum () const |
| Returns the checksum of this license. | |
| const SbString & | getInfo () const |
| Returns the info for this license. | |
| const SbString & | getHostID () const |
| Returns the HostID for this license. | |
| SbLicenseType | getLicenseType () const |
| Gets the product type (RunTime or SDK). | |
| bool | isExpired () const |
| Returns true if the product is expired. | |
| int | getDaysToExpire () const |
| Gets number of days before expiration for the given product version. | |
| bool | isMasterPassword () const |
| Returns true if the license is a master password. | |
Public Member Functions inherited from SoRefCounter | |
| void | ref () const |
| Adds a reference to an instance. | |
| void | unref () const |
| Removes a reference from an instance. | |
| void | unrefNoDelete () const |
| unrefNoDelete() should be called when it is desired to decrement the reference count, but not delete the instance if this brings the reference count to zero. | |
| int | getRefCount () const |
| Returns current reference count. | |
| void | lock () const |
| lock this instance. | |
| void | unlock () const |
| unlock this instance. | |
Class providing information about a licensed product.
This class provides information about a product license, such as the product version or expiration date of the license.
Definition at line 42 of file SoLicenseProperty.h.
Indicates the type of the license (SDK or RunTime).
| Enumerator | |
|---|---|
| SDK | indicates the product can be used as an SDK |
| RT | indicates the product is used in RunTime mode only |
Definition at line 53 of file SoLicenseProperty.h.
| SoLicenseProperty::SoLicenseProperty | ( | ) |
|
virtual |
| const SbString & SoLicenseProperty::getCheckSum | ( | ) | const |
Returns the checksum of this license.
| int SoLicenseProperty::getDaysToExpire | ( | ) | const |
Gets number of days before expiration for the given product version.
Returns : 0 if license has expired or never expires >0 if license has not expired -1 if license is invalid
| const SbString & SoLicenseProperty::getExpirationDate | ( | ) | const |
Returns the expire date of the product for this license.
| const SbString & SoLicenseProperty::getHostID | ( | ) | const |
Returns the HostID for this license.
| const SbString & SoLicenseProperty::getInfo | ( | ) | const |
Returns the info for this license.
| SbLicenseType SoLicenseProperty::getLicenseType | ( | ) | const |
Gets the product type (RunTime or SDK).
| const SbString & SoLicenseProperty::getNumUsers | ( | ) | const |
Returns the number of users of the product for this license.
| const SbString & SoLicenseProperty::getProductName | ( | ) | const |
Returns the name of the product for this license.
| const SbString & SoLicenseProperty::getProductVersion | ( | ) | const |
Returns the version of the product for this license.
| bool SoLicenseProperty::isExpired | ( | ) | const |
Returns true if the product is expired.
| bool SoLicenseProperty::isMasterPassword | ( | ) | const |
Returns true if the license is a master password.