summaryrefslogtreecommitdiff
path: root/src/BinMDF/BinMDF_ADriver.cxx
blob: a807ff10759c3f105ad1b5c342ab3c296d4a273b (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
// File:      BinMDF_ADriver.cxx
// Created:   29.10.02 19:26:53
// Author:    Michael SAZONOV
// Copyright: Open CASCADE 2002

#include <BinMDF_ADriver.ixx>

//=======================================================================
//function : BinMDF_ADriver
//purpose  : Constructor
//=======================================================================

BinMDF_ADriver::BinMDF_ADriver (const Handle(CDM_MessageDriver)& theMsgDriver,
                                const Standard_CString           theName)
     : myMessageDriver (theMsgDriver)
{
  if (theName)
    myTypeName = theName;
}
//=======================================================================
//function : WriteMessage
//purpose  :
//=======================================================================

void BinMDF_ADriver::WriteMessage
                              (const TCollection_ExtendedString& aMessage) const
{
  myMessageDriver -> Write (aMessage.ToExtString());
}