1 #include "Test_Saver.h"
3 #include <ace/streams.h>
4 #include <ace/OS_NS_stdio.h>
6 Test_Saver::Test_Saver()
11 Test_Saver::begin_object(CORBA::Long id
,
12 const ACE_CString
&type
,
13 const TAO_Notify::NVPList
& attrs
,
16 ACE_OS::fprintf (stdout
, "Test_Saver::begin_object type=\"%s\""
17 " id=%d changed=\"%d\"", type
.c_str(), id
, changed
);
18 for (size_t idx
= 0; idx
< attrs
.size(); idx
++)
20 ACE_OS::fprintf (stdout
, " %s=\"%s\"", attrs
[idx
].name
.c_str(),
21 attrs
[idx
].value
.c_str());
23 ACE_OS::fprintf (stdout
, "\n");
28 Test_Saver::end_object (CORBA::Long id
,
29 const ACE_CString
&type
)
31 ACE_OS::fprintf (stdout
, "Test_Saver::end_object type=\"%s\" id=%d\n",