Class managing a licensed product. More...
#include <Inventor/lock/SoLicensedProduct.h>
Public Types | |
enum | SbProduct { OpenInventor = 0, HardCopy, ImageViz, MeshVizXLM, MeshViz, MeshVizInterface, MeshVizExtractor, VolumeVizLDM, VolumeViz, LDMWriter, AllInventor, OivCatia5Reader, OivCatia6Reader, OivDxfReader, OivDwgReader, OivIgesReader, OivJtReader, OivProeReader, OivSolidedgeReader, OivSolidworksReader, OivStepReader, OivUgReader, OivVdaReader, OivXmtReader, IvTuneViewer, RemoteViz, ScaleVizCluster, ScaleVizWorkstation, NumberOfProducts } |
Public Member Functions | |
SoLicensedProduct () | |
virtual | ~SoLicensedProduct () |
SbProduct | getProduct () const |
SbString | getProductName () const |
unsigned int | getLicenseCount () const |
const SoLicenseProperty * | getLicenseByIndex (unsigned int index) const |
Friends | |
class | inventor::impl::SoLicensesInfoImpl |
SoLicensedProduct manages a licensed product. This class provides information about the current available licenses for a given product. The getProduct() method returns the SbProduct enum value corresponding to the product. The getLicenseCount() method gives you the number of licenses available. The getLicenseByIndex() method gives you a SoLicenseProperty containing license info for this product.
List of all available Open Inventor products.
SoLicensedProduct::SoLicensedProduct | ( | ) |
virtual SoLicensedProduct::~SoLicensedProduct | ( | ) | [virtual] |
const SoLicenseProperty* SoLicensedProduct::getLicenseByIndex | ( | unsigned int | index | ) | const |
Returns the license of the licensed product for the given index.
If the given index is greater than the value returned by getLicenseCount(), the method returns NULL.
unsigned int SoLicensedProduct::getLicenseCount | ( | ) | const |
Returns the number of licenses available for this product.
SbProduct SoLicensedProduct::getProduct | ( | ) | const |
Returns the SbProduct enum value of the licensed product.
SbString SoLicensedProduct::getProductName | ( | ) | const |
Returns the name of the licensed product.
friend class inventor::impl::SoLicensesInfoImpl [friend] |