LIBINT
2.6.0
|
Libint2Iface is used to generate Libint2 interfaces. More...
#include <iface.h>
Public Types | |
typedef std::vector< std::string > | Tasks |
Public Member Functions | |
Libint2Iface (const SafePtr< CompilationParameters > &cparams, const SafePtr< CodeContext > &ctext) | |
void | to_types (const std::string &s) |
Writes string s to the types header. | |
void | to_params (const std::string &s) |
Writes string s to the params header. | |
void | to_iface (const std::string &s) |
Writes string s to the iface header. | |
void | to_int_iface (const std::string &s) |
Writes string s to the internal iface header. | |
void | to_static_init (const std::string &s) |
Writes string s to the static init code. | |
void | to_static_cleanup (const std::string &s) |
Writes string s to the static cleanup code. | |
std::string | macro (const std::string &label) |
Writes string s to the Libint_t init code. | |
std::string | macro (const std::string &task_label, const std::string &label) |
template<typename T > | |
std::string | macro_define (const std::string &label, const T &value) |
template<typename T > | |
std::string | macro_define (const std::string &task_label, const std::string &label, const T &value) |
template<typename T > | |
std::string | var_declare_v (const std::string &label) |
Libint2Iface is used to generate Libint2 interfaces.
The external API consists of the main header file libint2.h (not generated), type definition file libint2_types.h, parameter file libint2_params.h, function declarations in libint2_iface.h, init/cleanup codes libint2_init.cc, libint2_cleanup.cc, libint2_static_init.cc, and libint2_static_cleanup.cc. The internal API consists of the header file libint2_iface_internal.h, which contains prototypes for the top level evaluator functions. The internal API is only needed to compile the generated components of Libint2.