NDEVR
API Documentation
ModuleBuilder.h
1#pragma once
2#include <iostream>
3#include "../Headers/BoilerMaker.h"
4#include <NDEVR/String.h>
5#include <NDEVR/File.h>
6#include <NDEVR/Scanner.h>
7#include <NDEVR/UUID.h>
8#include <NDEVR/File.h>
9
10namespace NDEVR
11{
15 {
16 public:
18 File source_folder = File("$(NDEVR_SOURCE_DIR)");
19 bool include_qt = true;
21 LogPtr log = nullptr;
22 public:
24 void createModule() const;
25 private:
28 String defineName() const;
31 void createDLLInfo(File& file) const;
34 void createModuleHeader(File& file) const;
37 void createModuleSource(File& file) const;
40 void createVSProjFile(File& file) const;
43 void createVSFiltersFile(File& file) const;
44 };
45}
Reads a boilerplate copyright/license header template and applies file-specific substitutions,...
Definition BoilerMaker.h:11
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
Definition File.h:53
A light-weight wrapper that will be a no-op if there is not a valid log reference,...
Scaffolds a complete NDEVR module from scratch, generating DLLInfo, module header,...
LogPtr log
Log for status messages.
String project_name
The name of the new module.
bool include_qt
Whether the module should include Qt support.
File source_folder
The root source folder for the new module.
void createModule() const
Creates the full module scaffold (all files and directories).
BoilerMaker boiler_maker
Boilerplate template generator.
The core String class for the NDEVR API.
Definition String.h:95
The primary namespace for the NDEVR SDK.
@ file
The source file path associated with this object.