Commits

Anonymous committed 311f8eb

Removed unused value set/get methods from Solver interface

Hg-commit: 20b5e8001c154540738821e4d170d57584b5c61d

Comments (0)

Files changed (5)

src/tops/server/cxx/TOPS_StructuredSolver_Impl.cxx

 }
 
 /**
- * Method:  setValue[]
- */
-void
-TOPS::StructuredSolver_impl::setValue_impl (
-  /* in */const ::std::string& key,
-  /* in */const ::std::string& value ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.StructuredSolver.setValue)
-  // Insert-Code-Here {TOPS.StructuredSolver.setValue} (setValue method)
-  // DO-NOT-DELETE splicer.end(TOPS.StructuredSolver.setValue)
-}
-
-/**
- * Method:  setValue[Int]
- */
-void
-TOPS::StructuredSolver_impl::setValue_impl (
-  /* in */const ::std::string& key,
-  /* in */int32_t value ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.StructuredSolver.setValueInt)
-  // Insert-Code-Here {TOPS.StructuredSolver.setValueInt} (setValue method)
-  // DO-NOT-DELETE splicer.end(TOPS.StructuredSolver.setValueInt)
-}
-
-/**
- * Method:  setValue[Bool]
- */
-void
-TOPS::StructuredSolver_impl::setValue_impl (
-  /* in */const ::std::string& key,
-  /* in */bool value ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.StructuredSolver.setValueBool)
-  // Insert-Code-Here {TOPS.StructuredSolver.setValueBool} (setValue method)
-  // DO-NOT-DELETE splicer.end(TOPS.StructuredSolver.setValueBool)
-}
-
-/**
- * Method:  setValue[Double]
- */
-void
-TOPS::StructuredSolver_impl::setValue_impl (
-  /* in */const ::std::string& key,
-  /* in */double value ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.StructuredSolver.setValueDouble)
-  // Insert-Code-Here {TOPS.StructuredSolver.setValueDouble} (setValue method)
-  // DO-NOT-DELETE splicer.end(TOPS.StructuredSolver.setValueDouble)
-}
-
-/**
- * Method:  getValue[]
- */
-::std::string
-TOPS::StructuredSolver_impl::getValue_impl (
-  /* in */const ::std::string& key ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.StructuredSolver.getValue)
-  // Insert-Code-Here {TOPS.StructuredSolver.getValue} (getValue method)
-  return ""; // temporary default implementation to prevent compiler warnings
-  // DO-NOT-DELETE splicer.end(TOPS.StructuredSolver.getValue)
-}
-
-/**
- * Method:  getValueInt[]
- */
-int32_t
-TOPS::StructuredSolver_impl::getValueInt_impl (
-  /* in */const ::std::string& key ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.StructuredSolver.getValueInt)
-  // Insert-Code-Here {TOPS.StructuredSolver.getValueInt} (getValueInt method)
-    return 0; // temporary default implementation to prevent compiler warnings
-  // DO-NOT-DELETE splicer.end(TOPS.StructuredSolver.getValueInt)
-}
-
-/**
- * Method:  getValueBool[]
- */
-bool
-TOPS::StructuredSolver_impl::getValueBool_impl (
-  /* in */const ::std::string& key ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.StructuredSolver.getValueBool)
-  // Insert-Code-Here {TOPS.StructuredSolver.getValueBool} (getValueBool method)
-  return false; // temporary default implementation to prevent compiler warnings
-  // DO-NOT-DELETE splicer.end(TOPS.StructuredSolver.getValueBool)
-}
-
-/**
- * Method:  getValueDouble[]
- */
-double
-TOPS::StructuredSolver_impl::getValueDouble_impl (
-  /* in */const ::std::string& key ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.StructuredSolver.getValueDouble)
-  // Insert-Code-Here {TOPS.StructuredSolver.getValueDouble} (getValueDouble method)
-  return 0.0; // temporary default implementation to prevent compiler warnings
-  // DO-NOT-DELETE splicer.end(TOPS.StructuredSolver.getValueDouble)
-}
-
-/**
  *  Starts up a component presence in the calling framework.
  * @param services the component instance's handle on the framework world.
  * Contracts concerning Svc and setServices:

src/tops/server/cxx/TOPS_StructuredSolver_Impl.hxx

     )
     ;
 
-    /**
-     * user defined non-static method.
-     */
-    void
-    setValue_impl (
-      /* in */const ::std::string& key,
-      /* in */const ::std::string& value
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    void
-    setValue_impl (
-      /* in */const ::std::string& key,
-      /* in */int32_t value
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    void
-    setValue_impl (
-      /* in */const ::std::string& key,
-      /* in */bool value
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    void
-    setValue_impl (
-      /* in */const ::std::string& key,
-      /* in */double value
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    ::std::string
-    getValue_impl (
-      /* in */const ::std::string& key
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    int32_t
-    getValueInt_impl (
-      /* in */const ::std::string& key
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    bool
-    getValueBool_impl (
-      /* in */const ::std::string& key
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    double
-    getValueDouble_impl (
-      /* in */const ::std::string& key
-    )
-    ;
-
 
     /**
      *  Starts up a component presence in the calling framework.

src/tops/server/cxx/TOPS_UnstructuredSolver_Impl.cxx

 }
 
 /**
- * Method:  setValue[]
- */
-void
-TOPS::UnstructuredSolver_impl::setValue_impl (
-  /* in */const ::std::string& key,
-  /* in */const ::std::string& value ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.UnstructuredSolver.setValue)
-  // Insert-Code-Here {TOPS.UnstructuredSolver.setValue} (setValue method)
-  // DO-NOT-DELETE splicer.end(TOPS.UnstructuredSolver.setValue)
-}
-
-/**
- * Method:  setValue[Int]
- */
-void
-TOPS::UnstructuredSolver_impl::setValue_impl (
-  /* in */const ::std::string& key,
-  /* in */int32_t value ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.UnstructuredSolver.setValueInt)
-  // Insert-Code-Here {TOPS.UnstructuredSolver.setValueInt} (setValue method)
-  // DO-NOT-DELETE splicer.end(TOPS.UnstructuredSolver.setValueInt)
-}
-
-/**
- * Method:  setValue[Bool]
- */
-void
-TOPS::UnstructuredSolver_impl::setValue_impl (
-  /* in */const ::std::string& key,
-  /* in */bool value ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.UnstructuredSolver.setValueBool)
-  // Insert-Code-Here {TOPS.UnstructuredSolver.setValueBool} (setValue method)
-  // DO-NOT-DELETE splicer.end(TOPS.UnstructuredSolver.setValueBool)
-}
-
-/**
- * Method:  setValue[Double]
- */
-void
-TOPS::UnstructuredSolver_impl::setValue_impl (
-  /* in */const ::std::string& key,
-  /* in */double value ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.UnstructuredSolver.setValueDouble)
-  // Insert-Code-Here {TOPS.UnstructuredSolver.setValueDouble} (setValue method)
-  // DO-NOT-DELETE splicer.end(TOPS.UnstructuredSolver.setValueDouble)
-}
-
-/**
- * Method:  getValue[]
- */
-::std::string
-TOPS::UnstructuredSolver_impl::getValue_impl (
-  /* in */const ::std::string& key ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.UnstructuredSolver.getValue)
-  // Insert-Code-Here {TOPS.UnstructuredSolver.getValue} (getValue method)
-  return ""; // temporary default implementation to prevent compiler warnings
-  // DO-NOT-DELETE splicer.end(TOPS.UnstructuredSolver.getValue)
-}
-
-/**
- * Method:  getValueInt[]
- */
-int32_t
-TOPS::UnstructuredSolver_impl::getValueInt_impl (
-  /* in */const ::std::string& key ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.UnstructuredSolver.getValueInt)
-  // Insert-Code-Here {TOPS.UnstructuredSolver.getValueInt} (getValueInt method)
-  return 0; // temporary default implementation to prevent compiler warnings
-  // DO-NOT-DELETE splicer.end(TOPS.UnstructuredSolver.getValueInt)
-}
-
-/**
- * Method:  getValueBool[]
- */
-bool
-TOPS::UnstructuredSolver_impl::getValueBool_impl (
-  /* in */const ::std::string& key ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.UnstructuredSolver.getValueBool)
-  // Insert-Code-Here {TOPS.UnstructuredSolver.getValueBool} (getValueBool method)
-  return false; // temporary default implementation to prevent compiler warnings
-  // DO-NOT-DELETE splicer.end(TOPS.UnstructuredSolver.getValueBool)
-}
-
-/**
- * Method:  getValueDouble[]
- */
-double
-TOPS::UnstructuredSolver_impl::getValueDouble_impl (
-  /* in */const ::std::string& key ) 
-{
-  // DO-NOT-DELETE splicer.begin(TOPS.UnstructuredSolver.getValueDouble)
-  // Insert-Code-Here {TOPS.UnstructuredSolver.getValueDouble} (getValueDouble method)
-  return 0.0; // temporary default implementation to prevent compiler warnings
-  // DO-NOT-DELETE splicer.end(TOPS.UnstructuredSolver.getValueDouble)
-}
-
-/**
  *  Starts up a component presence in the calling framework.
  * @param services the component instance's handle on the framework world.
  * Contracts concerning Svc and setServices:

src/tops/server/cxx/TOPS_UnstructuredSolver_Impl.hxx

     )
     ;
 
-    /**
-     * user defined non-static method.
-     */
-    void
-    setValue_impl (
-      /* in */const ::std::string& key,
-      /* in */const ::std::string& value
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    void
-    setValue_impl (
-      /* in */const ::std::string& key,
-      /* in */int32_t value
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    void
-    setValue_impl (
-      /* in */const ::std::string& key,
-      /* in */bool value
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    void
-    setValue_impl (
-      /* in */const ::std::string& key,
-      /* in */double value
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    ::std::string
-    getValue_impl (
-      /* in */const ::std::string& key
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    int32_t
-    getValueInt_impl (
-      /* in */const ::std::string& key
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    bool
-    getValueBool_impl (
-      /* in */const ::std::string& key
-    )
-    ;
-
-    /**
-     * user defined non-static method.
-     */
-    double
-    getValueDouble_impl (
-      /* in */const ::std::string& key
-    )
-    ;
-
 
     /**
      *  Starts up a component presence in the calling framework.

src/tops/tops.sidl

       array<double> getSolution();
       void          setSolution(in array<double> location);
 
-      // Allows setting/accessing solver parameters
-      void   setValue(in string key, in string value);
-      void   setValue[Int](in string key, in int value);
-      void   setValue[Bool](in string key, in bool value);
-      void   setValue[Double](in string key, in double value);
-      string getValue(in string key);
-      int    getValueInt(in string key);
-      bool   getValueBool(in string key);
-      double getValueDouble(in string key);
   }
 
   // Interfaces inherited by the user to define the algebraic problem