void DwMechanism::PrintDebugInfo(ostream& aStrm, int /*aDepth*/) const { #if defined (DW_DEBUG_VERSION) aStrm << "--------------- Debug info for DwMechanism class ---------------\n"; _PrintDebugInfo(aStrm); #endif // defined (DW_DEBUG_VERSION) }
void DwMessage::PrintDebugInfo(std::ostream &aStrm, int aDepth) const { aStrm << "------------ Debug info for DwMessage class ------------\n"; _PrintDebugInfo(aStrm); int depth = aDepth - 1; depth = (depth >= 0) ? depth : 0; if(aDepth == 0 || depth > 0) { mHeaders->PrintDebugInfo(aStrm, depth); mBody->PrintDebugInfo(aStrm, depth); } }
void DwBodyPart::PrintDebugInfo(ostream& aStrm, int aDepth) const { #if defined(DW_DEBUG_VERSION) aStrm << "----------- Debug info for DwBodyPart class -----------\n"; _PrintDebugInfo(aStrm); int depth = aDepth - 1; depth = (depth >= 0) ? depth : 0; if (aDepth == 0 || depth > 0) { mHeaders->PrintDebugInfo(aStrm, depth); mBody->PrintDebugInfo(aStrm, depth); } #endif // defined(DW_DEBUG_VERSION) }
void DwField::PrintDebugInfo(ostream& aStrm, int aDepth) const { #if defined (DW_DEBUG_VERSION) aStrm << "----------------- Debug info for DwField class -----------------\n"; _PrintDebugInfo(aStrm); int depth = aDepth - 1; depth = (depth >= 0) ? depth : 0; if (mFieldBody && (aDepth == 0 || depth > 0)) { mFieldBody->PrintDebugInfo(aStrm, depth); } #endif // defined (DW_DEBUG_VERSION) }
void DwMailboxList::PrintDebugInfo(std::ostream& aStrm, int aDepth) const { aStrm << "-------------- Debug info for DwMailboxList class --------------\n"; _PrintDebugInfo(aStrm); int depth = aDepth - 1; depth = (depth >= 0) ? depth : 0; if (aDepth == 0 || depth > 0) { DwMailbox* mbox = mFirstMailbox; while (mbox) { mbox->PrintDebugInfo(aStrm, depth); mbox = (DwMailbox*) mbox->Next(); } } }
void DwHeaders::PrintDebugInfo(ostream& aStrm, int aDepth) const { #if defined (DW_DEBUG_VERSION) aStrm << "---------------- Debug info for DwHeaders class ----------------\n"; _PrintDebugInfo(aStrm); int depth = aDepth - 1; depth = (depth >= 0) ? depth : 0; if (aDepth == 0 || depth > 0) { DwField* field = mFirstField; while (field) { field->PrintDebugInfo(aStrm, depth); field = (DwField*) field->Next(); } } #endif // defined (DW_DEBUG_VERSION) }
void DwDispositionType::PrintDebugInfo(std::ostream &aStrm, int aDepth) const { aStrm << "------------ Debug info for DwDispositionType class ------------\n"; _PrintDebugInfo(aStrm); int depth = aDepth - 1; depth = (depth >= 0) ? depth : 0; if(aDepth == 0 || depth > 0) { DwParameter *param = mFirstParameter; while(param) { param->PrintDebugInfo(aStrm, depth); param = param->Next(); } } }
void DwMessageComponent::PrintDebugInfo(std::ostream& aStrm, int /*aDepth*/) const { _PrintDebugInfo(aStrm); }
void DwDateTime::PrintDebugInfo(std::ostream& aStrm, int /*aDepth*/) const { aStrm << "---------------- Debug info for DwDateTime class ---------------\n"; _PrintDebugInfo(aStrm); }