sptk2 logo
SPTK Home Page
Public Member Functions | List of all members
sptk::SourceModule Class Reference

Helper module to generate source files. More...

#include <SourceModule.h>

Public Member Functions

 SourceModule (String moduleName, const String &modulePath)
 Constructor. More...
 
void open ()
 Opens module output files.
 
std::ostream & header ()
 Returns header file stream.
 
std::ostream & source ()
 Returns source file stream.
 
void writeOutputFiles ()
 Write output .h and .cpp files if they don't exist or have different content.
 

Detailed Description

Helper module to generate source files.

Constructor & Destructor Documentation

◆ SourceModule()

sptk::SourceModule::SourceModule ( String  moduleName,
const String modulePath 
)

Constructor.

Parameters
moduleNameModule name
modulePathModule path

The documentation for this class was generated from the following file:

Fri Oct 14 2022 09:58:45: SPTK 5.4.1