Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoLicenseProperty.h
1/*=================================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2015 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19 =================================================================================*/
20
21#ifndef SO_LICENSE_PROPERTY_H
22#define SO_LICENSE_PROPERTY_H
23
24#include <Inventor/misc/SoRefCounter.h>
25#include <Inventor/SbPImpl.h>
26
27class CLicensesTools;
28
29SO_PIMPL_PUBLIC_DECLARATION(SoLicensedProduct)
30
31SO_PIMPL_BASE_PUBLIC_DECLARATION(SoLicenseProperty)
32
33
43{
44 SO_PIMPL_BASE_PUBLIC_HEADER(SoLicenseProperty)
45
46public:
49
54 {
58 RT
59 };
60
64 const SbString& getProductName() const;
65
70
75
79 const SbString& getNumUsers() const;
80
84 const SbString& getCheckSum() const;
85
89 const SbString& getInfo() const;
90
94 const SbString& getHostID() const;
95
100
104 bool isExpired() const;
105
112 int getDaysToExpire() const;
113
117 bool isMasterPassword() const;
118
119#ifndef HIDDEN_FROM_DOC
120 // Only CLicensesTools and SoLicensedProductImpl are allowed to modify SbLicenseProperty impl members.
121 friend class CLicensesTools;
122 friend class inventor::impl::SoLicensedProductImpl;
123#endif /* HIDDEN_FROM_DOC */
124};
125
126#endif /* SO_LICENSE_PROPERTY_H */
Class for smart character strings.
Definition SbString.h:202
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class providing ...
const SbString & getProductVersion() const
Returns the version of the product for this license.
const SbString & getCheckSum() const
Returns the checksum of this license.
virtual ~SoLicenseProperty()
SbLicenseType
Indicates the type of the license (SDK or RunTime).
@ SDK
indicates the product can be used as an SDK
int getDaysToExpire() const
Gets number of days before expiration for the given product version.
const SbString & getExpirationDate() const
Returns the expire date of the product for this license.
const SbString & getProductName() const
Returns the name of the product for this license.
bool isMasterPassword() const
Returns true if the license is a master password.
SbLicenseType getLicenseType() const
Gets the product type (RunTime or SDK).
const SbString & getInfo() const
Returns the info for this license.
const SbString & getNumUsers() const
Returns the number of users of the product for this license.
const SbString & getHostID() const
Returns the HostID for this license.
bool isExpired() const
Returns true if the product is expired.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class managing a...
Base class for ref-counted objects.