Class: FFIDB::Exporters::Cpp

Inherits:
C show all
Defined in:
lib/ffidb/exporters/cpp.rb

Overview

Code generator for the C++ programming language.

Constant Summary

Constants inherited from C

FFIDB::Exporters::C::EXTERN_QUALIFIER, FFIDB::Exporters::C::SYMBOL_INDENT

Instance Attribute Summary

Attributes inherited from FFIDB::Exporter

#options

Instance Method Summary collapse

Methods inherited from C

#_export_function

Methods inherited from FFIDB::Exporter

#begin, #begin_library, #close, #debug?, #dlopen_paths_for, #emit, #export_enum, #export_function, #export_header, #export_struct, #export_symbol, #export_typedef, #export_union, #finish_library, for, #header?, #initialize, #verbose?

Constructor Details

This class inherits a constructor from FFIDB::Exporter

Instance Method Details

#finishObject



9
10
11
# File 'lib/ffidb/exporters/cpp.rb', line 9

def finish
  puts self.render_template('cpp.erb')
end