HepLib
|
class to export GiNaC expression to cpp format More...
#include <SD.h>
Public Member Functions | |
CppFormat (ostream &os, const string &s="L", unsigned opt=0) | |
template<class T > | |
const CppFormat & | operator<< (const T &v) const |
const CppFormat & | operator<< (const basic &v) const |
const CppFormat & | operator<< (const ex &v) const |
const CppFormat & | operator<< (const lst &v) const |
const CppFormat & | operator<< (std::ostream &(*v)(std::ostream &)) const |
Public Attributes | |
string | suffix |
string | MQuote = "\"" |
HepLib::SD::CppFormat::CppFormat | ( | ostream & | os, |
const string & | s = "L" , |
||
unsigned | opt = 0 |
||
) |
Definition at line 105 of file CppFormat.cpp.
const CppFormat & HepLib::SD::CppFormat::operator<< | ( | const basic & | v | ) | const |
Definition at line 13 of file CppFormat.cpp.
const CppFormat & HepLib::SD::CppFormat::operator<< | ( | const ex & | v | ) | const |
Definition at line 17 of file CppFormat.cpp.
const CppFormat & HepLib::SD::CppFormat::operator<< | ( | const lst & | v | ) | const |
Definition at line 21 of file CppFormat.cpp.
|
inline |
const CppFormat & HepLib::SD::CppFormat::operator<< | ( | std::ostream &(*)(std::ostream &) | v | ) | const |
Definition at line 25 of file CppFormat.cpp.