 Class providing information about a licensed product.  
 More...
  Class providing information about a licensed product.  
 More...
#include <Inventor/lock/SoLicenseProperty.h>
 Inheritance diagram for SoLicenseProperty:
 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 | 
| Return the maximum number of licenses for the product. | |
| const SbString & | getCheckSum () const | 
| Returns the checksum of this license. | |
| const SbString & | getInfo () const | 
| Limitation:  This function returns a non-empty string only if a master password is used. | |
| const SbString & | getHostID () const | 
| Limitation:  This function returns a non-empty string only if a master password is used. | |
| 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.
  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 47 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 58 of file SoLicenseProperty.h.
| SoLicenseProperty::SoLicenseProperty | ( | ) | 
| 
 | virtual | 
| const SbString & SoLicenseProperty::getCheckSum | ( | ) | const | 
Returns the checksum of this license.
Limitation: This function returns a non-empty string only if a master password is used.
| 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 | 
Limitation: This function returns a non-empty string only if a master password is used.
| const SbString & SoLicenseProperty::getInfo | ( | ) | const | 
Limitation: This function returns a non-empty string only if a master password is used.
| SbLicenseType SoLicenseProperty::getLicenseType | ( | ) | const | 
Gets the product type (RunTime or SDK).
| const SbString & SoLicenseProperty::getNumUsers | ( | ) | const | 
Return the maximum number of licenses for the product.
| 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.