void DwFieldBody::_PrintDebugInfo(ostream& aStrm) const { #if defined (DW_DEBUG_VERSION) DwMessageComponent::_PrintDebugInfo(aStrm); aStrm << "LineOffset: " << mLineOffset << '\n'; aStrm << "IsFolding: " << (IsFolding() ? "True" : "False") << '\n'; #endif // defined (DW_DEBUG_VERSION) }
void DwMailboxList::Assemble() { if (!mIsModified) return; mString = ""; int count = 0; DwMailbox* mb = mFirstMailbox; while (mb) { mb->Assemble(); if (mb->IsValid()) { if (count > 0){ if (IsFolding()) { mString += "," DW_EOL " "; } else { mString += ", "; } } mString += mb->AsString(); ++count; } mb = (DwMailbox*) mb->Next(); } mIsModified = 0; }
void DwDispositionType::Assemble() { if(!mIsModified) return; mString = ""; if(mDispositionTypeStr.length() == 0) return; mString += mDispositionTypeStr; DwParameter *param = FirstParameter(); while(param) { param->Assemble(); if(IsFolding()) { mString += ";" DW_EOL " "; } else { mString += "; "; } mString += param->AsString(); param = param->Next(); } mIsModified = 0; }