API Documentation
Loading...
Searching...
No Matches
ReportGeneratorSettings.h
Go to the documentation of this file.
1#pragma once
6namespace NDEVR
7{
9 {
10 public:
14 : INIInterface(FileResource::PathToProgramSettings().appendPath("report_generator.ini"))
16 {
17
18 }
19 INIFactory getINI() final override
20 {
21 INIFactory ini;
22 ini.addOption("path_to_nc_editor", path_to_nc_editor);
23 return ini;
24 }
26 {
27 static ReportGeneratorSettings settings;
28 return settings;
29 }
30 };
31}
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
Contains methods for getting information about particular OS directories.
Definition FileResource.h:43
Contains methods for easily reading and writing to an INI file including efficient casting,...
Definition INIReader.h:68
void addOption(const String &label, Resource< Vector< t_dims, t_type > > &mem_loc)
Definition INIReader.h:76
Contains methods for easily reading and writing to an INI file including.
Definition INIInterface.h:45
Definition ReportGeneratorSettings.h:9
Dictionary< String, NCCustomReport * > custom_reports
Definition ReportGeneratorSettings.h:12
Resource< String > path_to_nc_editor
Definition ReportGeneratorSettings.h:11
static ReportGeneratorSettings & DefaultSettings()
Definition ReportGeneratorSettings.h:25
INIFactory getINI() final override
Definition ReportGeneratorSettings.h:19
ReportGeneratorSettings()
Definition ReportGeneratorSettings.h:13
A core part of the engine, stores variables that can be listened to with ResourceListener which will ...
Definition Toggle.h:41
Definition ACIColor.h:37