SoLicensedProduct Class Reference

VSG extension Class managing a licensed product. More...

#include <Inventor/lock/SoLicensedProduct.h>

List of all members.

Classes

struct  SbLicenseInfo

Public Types

enum  SbLicenseType {
  SDK,
  RT
}

Public Member Functions

SbProduct getProductName () const
const std::vector< SbStringgetProductVersions () const
int getDaysToExpire (const SbString version)
SbLicenseType getLicenseType () const
void getLicense (const SbString version, SbLicenseInfo &lic)
void getExpiredVersions (std::vector< SbString > &vec)
bool isTrialProduct () const
bool isMasterPassword () const

Detailed Description

VSG extension Class managing a licensed product.

SoLicensedProduct manages a licensed product. This class allow to have access to every product versions and licenses.


Member Enumeration Documentation

Enumerator:
SDK 
RT 

Member Function Documentation

int SoLicensedProduct::getDaysToExpire ( const SbString  version  ) 

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

void SoLicensedProduct::getExpiredVersions ( std::vector< SbString > &  vec  ) 

Gets all product versions with expired licenses.

void SoLicensedProduct::getLicense ( const SbString  version,
SbLicenseInfo lic 
)

Gets the license of the licensed product for the given version with the longest period of validity.

SbLicenseType SoLicensedProduct::getLicenseType (  )  const

Gets the product type (RunTime or SDK).

SbProduct SoLicensedProduct::getProductName (  )  const

Gets the name of the licensed product.

const std::vector<SbString> SoLicensedProduct::getProductVersions (  )  const

Gets the list of licensed product versions.

bool SoLicensedProduct::isMasterPassword (  )  const

Returns true if the product has a master password license.

bool SoLicensedProduct::isTrialProduct (  )  const

Returns true if the product is a trial one, false otherwise.


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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/