1 #ifndef ZMEXCLASSINFO_ICC 2 #error "Exceptions/ZMexClassInfo.icc included without Exceptions/ZMexClassInfo.h" 52 inline const std::string ZMexClassInfo::name()
const {
59 inline const std::string ZMexClassInfo::setName(
const std::string& newName) {
68 inline const std::string ZMexClassInfo::facility()
const {
75 inline const std::string
76 ZMexClassInfo::setFacility(
const std::string& newFacility) {
77 std::string f=facility_;
78 facility_ = newFacility;
85 inline ZMexSeverity ZMexClassInfo::severity()
const {
93 ZMexClassInfo::setSeverity(
const ZMexSeverity& newSeverity) {
94 ZMexSeverity s=severity_;
95 severity_ = newSeverity;
102 inline int ZMexClassInfo::nextCount() {
109 inline ZMexHandler ZMexClassInfo::setHandler(
110 const ZMexHandler & newHandler
112 ZMexHandler oldHandler = handler_;
113 handler_ = newHandler;
120 inline ZMexHandler ZMexClassInfo::getHandler()
const {
127 inline ZMexLogger ZMexClassInfo::setLogger(
const ZMexLogger & newLogger ) {
128 ZMexLogger oldLogger = logger_;
136 inline ZMexLogger ZMexClassInfo::getLogger()
const {
144 inline void ZMexClassInfo::logNMore(
const int N ) {
145 filterMax_ = count_ + N;
152 inline bool ZMexClassInfo::OKtoLog()
const {
153 return (filterMax_ < 0) || (count_ <= filterMax_) ;
160 inline int ZMexClassInfo::count()
const {
168 inline int ZMexClassInfo::filterMax()
const {