CorTeX
Core ABI 7
ToolTech Software · C++ library reference
ToolTech
CorTeX overview
Programmer’s manual
Class reference
Change history
CycloPos ↗
Toggle main menu visibility
Loading...
Searching...
No Matches
include
ctxLicense.h
Go to the documentation of this file.
1
//*****************************************************************************
2
// File : ctxLicense.h
3
// Description : Usage control
4
// Author : Anders Modén
5
// Product : CorTeX 2.0.1
6
//
7
// Copyright © 2015- Anders Modén, Sweden
8
//
9
// NOTE: CorTeX is a software development kit (SDK)
10
// for neural networks and genetic programming.
11
// Licensed by Anders Modén.
12
//
13
//
14
// Revision History...
15
//
16
// Who Date Description
17
//
18
// AMO 160312 Created file (1.0.2)
19
//
20
//******************************************************************************
21
#ifndef __CTX_LICENSE_H__
22
#define __CTX_LICENSE_H__
23
24
#include "
ctxBase.h
"
25
26
enum
ctxLicenseFeature
27
{
28
CTX_LICENSE_FEATURE_RUNTIME
= 1 << 0,
29
CTX_LICENSE_FEATURE_BACKPROP
= 1 << 1,
30
CTX_LICENSE_FEATURE_GENETIC
= 1 << 2,
31
CTX_LICENSE_FEATURE_COMPILER
= 1 << 3,
32
CTX_LICENSE_FEATURE_ASSEMBLER
= 1 << 4,
33
CTX_LICENSE_FEATURE_CPP
= 1 << 5,
34
};
35
36
GZ_USE_BIT_LOGIC
(
ctxLicenseFeature
);
37
38
class
ctxLicense
39
{
40
public
:
41
42
CTX_EXPORT
static
gzBool
checkLicense
(
ctxLicenseFeature
feature, gzBool close = TRUE);
43
44
45
};
46
47
48
#endif
//__CTX_LICENSE_H__
49
50
51
52
ctxLicense
Definition
ctxLicense.h:39
ctxLicense::checkLicense
static gzBool checkLicense(ctxLicenseFeature feature, gzBool close=TRUE)
ctxBase.h
CTX_EXPORT
#define CTX_EXPORT
Definition
ctxBase.h:68
GZ_USE_BIT_LOGIC
GZ_USE_BIT_LOGIC(ctxInstrumentationFlags)
ctxLicenseFeature
ctxLicenseFeature
Definition
ctxLicense.h:27
CTX_LICENSE_FEATURE_ASSEMBLER
@ CTX_LICENSE_FEATURE_ASSEMBLER
Definition
ctxLicense.h:32
CTX_LICENSE_FEATURE_BACKPROP
@ CTX_LICENSE_FEATURE_BACKPROP
Definition
ctxLicense.h:29
CTX_LICENSE_FEATURE_RUNTIME
@ CTX_LICENSE_FEATURE_RUNTIME
Definition
ctxLicense.h:28
CTX_LICENSE_FEATURE_GENETIC
@ CTX_LICENSE_FEATURE_GENETIC
Definition
ctxLicense.h:30
CTX_LICENSE_FEATURE_CPP
@ CTX_LICENSE_FEATURE_CPP
Definition
ctxLicense.h:33
CTX_LICENSE_FEATURE_COMPILER
@ CTX_LICENSE_FEATURE_COMPILER
Definition
ctxLicense.h:31
Generated by
1.18.0