CONZEPT 16 C++ API
|
Server hosting databases. More...
#include "C16/Server.hpp"
Public Member Functions | |
virtual const std::string & | name () const =0 |
Gets the name of the server. More... | |
virtual const std::string & | operating_system () const =0 |
Gets the operating system of the server. More... | |
virtual const std::string & | license () const =0 |
Gets the license of the server. More... | |
virtual const std::string & | release () const =0 |
Gets the release of the server. More... | |
virtual int | user_limit () const =0 |
Gets the user limit of the server. More... | |
|
pure virtual |
Gets the name of the server.
|
pure virtual |
Gets the operating system of the server.
The operating system is represented by a string of the form <name> <version>
[ (<details>)
], where the parts in angle brackets (<
... >
) contain the following data:
<name>
– Name of the operating system. A string from the following set:Windows
– WindowsWindows Server
– Windows ServerLinux
– Linux<version>
– Version of the operating system. A string dependent of the name of the operating system from the following sets:XP
, Vista
, 7
, 8
, 8.1
, 10
2003
, 2008
, 2008 R2
, 2012
, 2012 R2
, 2016
kernel X.Y
where X.Y
represents the kernel version of the operating system.<details>
– Details about the operating system. A string from the following set:64-Bit
– 64-bit operating systemFragments in square brackets ([ ... ]) may not be present.
Examples: Windows 7
, Windows 10 (64-Bit)
, Windows Server 2016 (64-Bit)
, Linux kernel 4.4 (64-Bit)
|
pure virtual |
Gets the license of the server.
The license is represented by a string of the form <product><edition><number><operating-system><protection>
[ /<option>
], where the parts in angle brackets (<
... >
) contain the following data:
<product>
– Product of the license. One upper case letter from the following set:C
– CONZEPT 16 license (unlimited in time)T
– Time-limited license (TLL)<edition>
– Edition of the license. One upper case letter from the following set:D
– Developer editionS
– Standard editionA
– Advanced editionE
– Enterprise edition<number>
– Number of the license. An integer consisting of six digits.<operating-system>
– The operating systems supported by the license. One upper case letter from the following set:W
– WindowsL
– LinuxM
– Multi (Windows and Linux)<protection>
– Protection of the license. One upper case letter from the following set:U
– USB port dongleP
– Parallel port dongleN
– Internet-based license<option>
– Optional features or restrictions of the license. One upper case letter from the following set:H
– Hot-standby (HSB)D
– DemonstrationFragments in square brackets ([ ... ]) may not be present.
Examples: CS100001WU
, CE100002LP
, CD100003MU/H
, TA100004WN/D
|
pure virtual |
Gets the release of the server.
The release is represented by a string of the form <major>.<minor>.<revision>
, where the parts in angle brackets (<
... >
) contain the following data:
<major>
– Major release of the server. An integer consisting of one digit.<minor>
– Minor release of the server. An integer consisting of one digit.<revision>
– Revision of the server. An integer consisting of two digits, possibly followed by one lower case letter (a
to z
), identifying the sub-revision of the server.Examples: 5.0.08
, 5.4.16
, 5.8.32b
|
pure virtual |
Gets the user limit of the server.