CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
CppAD::cg::SaveFilesModelLibraryProcessor< Base > Class Template Reference

#include <save_files_model_library_processor.hpp>

Inheritance diagram for CppAD::cg::SaveFilesModelLibraryProcessor< Base >:
Inheritance graph
Collaboration diagram for CppAD::cg::SaveFilesModelLibraryProcessor< Base >:
Collaboration graph

Public Member Functions

 SaveFilesModelLibraryProcessor (ModelLibraryCSourceGen< Base > &modelLibraryHelper)
 
void saveSources ()
 
void saveSourcesTo (const std::string &sourcesFolder)
 

Static Public Member Functions

static void saveLibrarySourcesTo (ModelLibraryCSourceGen< Base > &modelLibraryHelper, const std::string &sourcesFolder)
 

Protected Member Functions

const std::map< std::string, std::string > & getLibrarySources ()
 
const std::map< std::string, std::string > & getSources (ModelCSourceGen< Base > &model)
 

Protected Attributes

ModelLibraryCSourceGen< Base > * modelLibraryHelper_
 

Detailed Description

template<class Base>
class CppAD::cg::SaveFilesModelLibraryProcessor< Base >

Saves source code generated by a model library source code generator to the file system. This is typically used for debugging purposes.

Author
Joao Leal

Definition at line 29 of file save_files_model_library_processor.hpp.

Constructor & Destructor Documentation

◆ SaveFilesModelLibraryProcessor()

template<class Base >
CppAD::cg::SaveFilesModelLibraryProcessor< Base >::SaveFilesModelLibraryProcessor ( ModelLibraryCSourceGen< Base > &  modelLibraryHelper)
inlineexplicit

Definition at line 32 of file save_files_model_library_processor.hpp.

Member Function Documentation

◆ getLibrarySources()

template<class Base >
const std::map< std::string, std::string > & CppAD::cg::ModelLibraryProcessor< Base >::getLibrarySources ( )
inlineprotectedinherited

Definition at line 41 of file model_library_processor.hpp.

◆ getSources()

template<class Base >
const std::map< std::string, std::string > & CppAD::cg::ModelLibraryProcessor< Base >::getSources ( ModelCSourceGen< Base > &  model)
inlineprotectedinherited

Definition at line 45 of file model_library_processor.hpp.

◆ saveLibrarySourcesTo()

template<class Base >
static void CppAD::cg::SaveFilesModelLibraryProcessor< Base >::saveLibrarySourcesTo ( ModelLibraryCSourceGen< Base > &  modelLibraryHelper,
const std::string &  sourcesFolder 
)
inlinestatic

Definition at line 73 of file save_files_model_library_processor.hpp.

◆ saveSources()

template<class Base >
void CppAD::cg::SaveFilesModelLibraryProcessor< Base >::saveSources ( )
inline

Definition at line 38 of file save_files_model_library_processor.hpp.

◆ saveSourcesTo()

template<class Base >
void CppAD::cg::SaveFilesModelLibraryProcessor< Base >::saveSourcesTo ( const std::string &  sourcesFolder)
inline

Definition at line 42 of file save_files_model_library_processor.hpp.

Member Data Documentation

◆ modelLibraryHelper_

template<class Base >
ModelLibraryCSourceGen<Base>* CppAD::cg::ModelLibraryProcessor< Base >::modelLibraryHelper_
protectedinherited

Definition at line 30 of file model_library_processor.hpp.


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