class ServicesParameter : public Base {
- SALOME_ModuleCatalog::ServicesParameter _ServicesParameter ;
+ private:
+
+ SALOME_ModuleCatalog::ServicesParameter _ServicesParameter ;
public:
- ServicesParameter() {
- cout << "ServicesParameter()" << endl ;
+ ServicesParameter() {
+ //cout << "ServicesParameter()" << endl ;
_ServicesParameter.Parametername = (char *) NULL ;
_ServicesParameter.Parametertype = (char *) NULL ;
} ;
- ServicesParameter( const SALOME_ModuleCatalog::ServicesParameter aserviceParameter ) {
- _ServicesParameter = aserviceParameter ; } ;
- virtual ~ServicesParameter() {
+ ServicesParameter( const SALOME_ModuleCatalog::ServicesParameter aserviceParameter ) {
+ _ServicesParameter.Parametertype = CORBA::string_dup( aserviceParameter.Parametertype ) ;
+ _ServicesParameter.Parametername = CORBA::string_dup( aserviceParameter.Parametername ) ; } ;
+ virtual ~ServicesParameter() {
// cout << "ServicesParameter::~ServicesParameter()" << endl ;
} ;
- const SALOME_ModuleCatalog::ServicesParameter & GetServicesParameter() const {
- return _ServicesParameter ; } ;
- const char * ServicesParameterName() const {
- return _ServicesParameter.Parametername ; } ;
- const char * ServicesParameterType() const {
- return _ServicesParameter.Parametertype ; } ;
+ const SALOME_ModuleCatalog::ServicesParameter & GetServicesParameter() const {
+ return _ServicesParameter ; } ;
+ const char * ServicesParameterName() const {
+ return _ServicesParameter.Parametername ; } ;
+ const char * ServicesParameterType() const {
+ return _ServicesParameter.Parametertype ; } ;
+ void ServicesParameterType(char * aParametertype ) {
+ _ServicesParameter.Parametertype = CORBA::string_dup( aParametertype ) ; } ;
} ;