Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / drwho / Single_Lookup.cpp
bloba286ab8e226ee1f610964960475f8647303298ea
1 #include "Options.h"
2 #include "Single_Lookup.h"
3 #include "ace/ACE.h"
4 #include "ace/Log_Msg.h"
5 #include "ace/OS_Memory.h"
7 Single_Lookup::Single_Lookup (const char *usr_name)
9 ACE_NEW (this->prp_,
10 Protocol_Record (ACE::strnew (usr_name)));
13 Single_Lookup::~Single_Lookup ()
15 if (Options::get_opt (Options::DEBUGGING))
16 ACE_DEBUG ((LM_DEBUG,
17 "disposing Single_Lookup\n"));
20 Protocol_Record *
21 Single_Lookup::get_each_entry ()
23 return this->prp_;
26 Protocol_Record *
27 Single_Lookup::get_next_entry ()
29 return this->get_each_entry ();