42 #ifndef FUNCTIONBASE_H
43 #define FUNCTIONBASE_H
49 #include <boost/serialization/nvp.hpp>
84 s_tracing_enabled = on;
99 if (!obj)
return false;
123 return "(function type)";
152 return s_tracing_enabled;
159 :
RObject(stype), m_traced(false)
167 :
RObject(pattern), m_traced(false)
172 friend class boost::serialization::access;
174 static bool s_tracing_enabled;
177 static void reportCall(
const Expression* call);
180 template <
class Archive>
181 void serialize(Archive& ar,
const unsigned int version)
183 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(
RObject);
204 using namespace CXXR;
206 const FunctionBase& f = *SEXP_downcast<const FunctionBase*>(x);
224 using namespace CXXR;