Back to index

salome-kernel  6.5.0
Public Member Functions | Private Attributes
NSTEST_aFactory_i Class Reference

#include <NamingServiceTest.hxx>

List of all members.

Public Member Functions

 NSTEST_aFactory_i ()
 a factory of CORBA objects for use with namingService tests
 ~NSTEST_aFactory_i ()
NSTEST::echo_ptr createInstance ()

Private Attributes

int _num

Detailed Description

Definition at line 44 of file NamingServiceTest.hxx.


Constructor & Destructor Documentation

a factory of CORBA objects for use with namingService tests

Definition at line 79 of file NamingServiceTest.cxx.

{
  _num=0;
}

Definition at line 84 of file NamingServiceTest.cxx.

{
}

Member Function Documentation

NSTEST::echo_ptr NSTEST_aFactory_i::createInstance ( )

Definition at line 88 of file NamingServiceTest.cxx.

{
  NSTEST_echo_i * anEcho = new NSTEST_echo_i(_num);
  _num++;
  NSTEST::echo_var anEchoRef = anEcho->_this();
  anEcho->_remove_ref();
  return anEchoRef._retn();
}

Member Data Documentation

int NSTEST_aFactory_i::_num [private]

Definition at line 52 of file NamingServiceTest.hxx.


The documentation for this class was generated from the following files: