summaryrefslogtreecommitdiff
path: root/src/TDocStd/TDocStd_ApplicationDelta.cxx
blob: 445821078a45f1056ef2df050a3a7ee24deab6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// File:      TDocStd_ApplicationDelta.cxx
// Created:   19.11.02 16:17:37
// Author:    Vladimir ANIKIN
// Copyright: Open CASCADE 2002

#include <TDocStd_ApplicationDelta.ixx>
#include <TCollection_AsciiString.hxx>
#include <TDocStd_Document.hxx>

//=======================================================================
//function : TDocStd_ApplicationDelta
//purpose  : 
//=======================================================================

TDocStd_ApplicationDelta::TDocStd_ApplicationDelta() {}

//=======================================================================
//function : Dump
//purpose  : 
//=======================================================================

void TDocStd_ApplicationDelta::Dump(Standard_OStream& anOS) const {
  anOS<<"\t";
  myName.Print(anOS);
  anOS<<" - " << myDocuments.Length() << " documents ";
  anOS<<" ( ";
  Standard_Integer i;
  for (i = 1; i <= myDocuments.Length(); i++) {
    Handle(TDocStd_Document) aDocAddr= myDocuments.Value(i);
    anOS << "\"" << ((Standard_Transient*)aDocAddr);
    anOS << "\" ";
  }
  anOS << ") ";
}