NDEVR
API Documentation
IOFactoryBuilder.h
1#pragma once
2#include "BoilerMaker.h"
3#include <NDEVR/String.h>
4#include <NDEVR/File.h>
5#include <NDEVR/InfoPipe.h>
6namespace NDEVR
7{
42}
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
Generates boilerplate header and source files for a new IOFactory subclass, enabling file format read...
String factory_name
The human-readable factory name.
String class_name
The derived class name (computed lazily).
void createModuleHeader(File &file) const
Creates the factory header file on disk.
File source_directory
The directory where generated source files are placed.
String ioFactoryHeaderString() const
Generates the IOFactory header file content as a string.
String ioFactorySourceString() const
Generates the IOFactory source file content as a string.
String headerPath() const
Returns the relative header path for the factory class.
void createModuleSource(File &file) const
Creates the factory source file on disk.
LogPtr log
Log for status messages.
BoilerMaker boiler_maker
Boilerplate template generator.
String project_name
The module project that owns the factory.
bool createFactory() const
Generates all factory files (header and source).
String className() const
Returns the computed class name for the factory.
A light-weight wrapper that will be a no-op if there is not a valid log reference,...
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.