LIBINT  2.1.0-stable
Public Types | Public Member Functions | List of all members
libint2::Libint2Iface Class Reference

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.
 
const std::string macro (const std::string &label)
 Writes string s to the Libint_t init code.
 
const std::string macro (const std::string &task_label, const std::string &label)
 
template<typename T >
const std::string macro_define (const std::string &label, const T &value)
 
template<typename T >
const std::string macro_define (const std::string &task_label, const std::string &label, const T &value)
 
template<typename T >
const std::string var_declare_v (const std::string &label)
 

Detailed Description

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.


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