|
dca_interface
6.3.4
|
GetVersion DCA sample. More...
#include <string>#include <vector>#include <iostream>#include <fstream>#include <ctime>#include "dca/dca_base.h"#include "dca/dca_callbacks.h"Go to the source code of this file.
Macros | |
| #define | DCA_BINDIR "bin/linux" |
| DCA subdirectory of the DCA binaries. | |
| #define | DCA_INITDIR "init" |
| DCA subdirectory of the DCA initialization data. | |
| #define | DCA_LOGDIR "./logs" |
| Relative directory for logfile(s). | |
Functions | |
| static void | SetupInitData (const std::string &redist_folder, InitData &initData) |
| Sets up the given initData by substituting the given redist_folder with DCA subdirectories. More... | |
| static void | SetupLicense (const std::string &ticket, const std::string &product, LicenseData &licenseData) |
| Sets up the given licenseData by copying the given ticket and product strings. More... | |
| static void | PrintLicenseInfo (const License &aLicense) |
| Prints out the information about the provided License. More... | |
| static void | PrintVersion (const VersionInfoResults &aVersionInfoResults) |
| Prints out the version information gathered from current DcaInstance. More... | |
| static void | PrintToolHeader () |
| Prints out the name and the version of this sample. | |
| static void | PrintUsage (const char *name) |
| Prints out the syntax of the sample. More... | |
| int | main (int argc, char *argv[]) |
| The main routine. More... | |
Variables | |
| const std::string | S_ToolName = "getversionsample" |
| const std::string | S_ToolVersion = "1.0" |
| const std::string | S_UsageString |
| Usage string, displayed if a parameter is missing. More... | |
GetVersion DCA sample.
Definition in file generic_samples/getversionsample/main.cpp.
1.8.18