39 #ifndef GTSAM_ENABLE_DEBUG 40 #define GTSAM_ENABLE_DEBUG 45 GTSAM_EXTERN_EXPORT FastMap<std::string, ValueWithDefault<bool,false> >
debugFlags;
58 #ifdef GTSAM_ENABLE_DEBUG 60 #define ISDEBUG(S) (gtsam::guardedIsDebug(S)) 61 #define SETDEBUG(S,V) ((void)(gtsam::guardedSetDebug(S,V))) 65 #define ISDEBUG(S) (false) 66 #define SETDEBUG(S,V) ((void)false) void guardedSetDebug(const std::string &s, const bool v)
Included from all GTSAM files.
A thin wrapper around std::map that uses boost's fast_pool_allocator.
bool guardedIsDebug(const std::string &s)
GTSAM_EXPORT FastMap< std::string, ValueWithDefault< bool, false > > debugFlags