Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoLicenseProperty Class Reference

VSG extension 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 SbStringgetProductName () const
 Returns the name of the product for this license.
 
const SbStringgetProductVersion () const
 Returns the version of the product for this license.
 
const SbStringgetExpirationDate () const
 Returns the expire date of the product for this license.
 
const SbStringgetNumUsers () const
 Returns the number of users of the product for this license.
 
const SbStringgetCheckSum () const
 Returns the checksum of this license.
 
const SbStringgetInfo () const
 Returns the info for this license.
 
const SbStringgetHostID () 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.
 

Detailed Description

VSG extension 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.

Member Enumeration Documentation

◆ SbLicenseType

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.

Constructor & Destructor Documentation

◆ SoLicenseProperty()

SoLicenseProperty::SoLicenseProperty ( )

◆ ~SoLicenseProperty()

virtual SoLicenseProperty::~SoLicenseProperty ( )
virtual

Member Function Documentation

◆ getCheckSum()

const SbString & SoLicenseProperty::getCheckSum ( ) const

Returns the checksum of this license.

◆ getDaysToExpire()

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

◆ getExpirationDate()

const SbString & SoLicenseProperty::getExpirationDate ( ) const

Returns the expire date of the product for this license.

◆ getHostID()

const SbString & SoLicenseProperty::getHostID ( ) const

Returns the HostID for this license.

◆ getInfo()

const SbString & SoLicenseProperty::getInfo ( ) const

Returns the info for this license.

◆ getLicenseType()

SbLicenseType SoLicenseProperty::getLicenseType ( ) const

Gets the product type (RunTime or SDK).

◆ getNumUsers()

const SbString & SoLicenseProperty::getNumUsers ( ) const

Returns the number of users of the product for this license.

◆ getProductName()

const SbString & SoLicenseProperty::getProductName ( ) const

Returns the name of the product for this license.

◆ getProductVersion()

const SbString & SoLicenseProperty::getProductVersion ( ) const

Returns the version of the product for this license.

◆ isExpired()

bool SoLicenseProperty::isExpired ( ) const

Returns true if the product is expired.

◆ isMasterPassword()

bool SoLicenseProperty::isMasterPassword ( ) const

Returns true if the license is a master password.


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