Commit in lcio/src on MAIN
aid/EVENT/LCParameters.aid+4-41.2 -> 1.3
cpp/include/IMPL/LCParametersImpl.h+3-31.2 -> 1.3
cpp/src/IMPL/LCParametersImpl.cc+3-31.6 -> 1.7
+10-10
3 modified files
made vector arguments const & in setValues

lcio/src/aid/EVENT
LCParameters.aid 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- LCParameters.aid	14 Jul 2004 15:50:40 -0000	1.2
+++ LCParameters.aid	20 Nov 2009 11:20:20 -0000	1.3
@@ -10,7 +10,7 @@
  *  run, event or collection dependent. 
  * 
  * @author gaede 
- * @version $Id: LCParameters.aid,v 1.2 2004/07/14 15:50:40 gaede Exp $
+ * @version $Id: LCParameters.aid,v 1.3 2009/11/20 11:20:20 gaede Exp $
  * @see LCRunHeader.parameters()
  * @see LCEvent.parameters()
  * @see LCCollection.parameters()
@@ -118,15 +118,15 @@
 
     /** Set integer values for the given key.
      */
-    public void setValues(const String & key, IntVec & values);
+    public void setValues(const String & key, const IntVec & values);
 
     /** Set float values for the given key.
      */
-    public void setValues(const String & key, FloatVec & values);
+    public void setValues(const String & key, const FloatVec & values);
 
     /** Set string values for the given key.
      */
-    public void setValues(const String & key, StringVec & values);
+    public void setValues(const String & key, const StringVec & values);
 
 }
 

lcio/src/cpp/include/IMPL
LCParametersImpl.h 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- LCParametersImpl.h	14 Jul 2004 15:50:41 -0000	1.2
+++ LCParametersImpl.h	20 Nov 2009 11:20:20 -0000	1.3
@@ -110,15 +110,15 @@
 
     /** Set integer values for the given key.
      */
-    virtual void setValues(const std::string & key, EVENT::IntVec & values);
+    virtual void setValues(const std::string & key, const EVENT::IntVec & values);
 
     /** Set float values for the given key.
      */
-    virtual void setValues(const std::string & key, EVENT::FloatVec & values);
+    virtual void setValues(const std::string & key, const EVENT::FloatVec & values);
 
     /** Set string values for the given key.
      */
-    virtual void setValues(const std::string & key, EVENT::StringVec & values);
+    virtual void setValues(const std::string & key, const EVENT::StringVec & values);
 
 
   protected:

lcio/src/cpp/src/IMPL
LCParametersImpl.cc 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- LCParametersImpl.cc	15 Apr 2005 08:37:46 -0000	1.6
+++ LCParametersImpl.cc	20 Nov 2009 11:20:20 -0000	1.7
@@ -163,7 +163,7 @@
 
 
 
-  void LCParametersImpl::setValues(const std::string & key, EVENT::IntVec & values){
+  void LCParametersImpl::setValues(const std::string & key,const EVENT::IntVec & values){
     
     checkAccess("LCParametersImpl::setValues") ;
 
@@ -173,7 +173,7 @@
     _intMap[ key ].assign(  values.begin() , values.end() ) ;
   }
   
-  void LCParametersImpl::setValues(const std::string & key, EVENT::FloatVec & values){
+  void LCParametersImpl::setValues(const std::string & key,const  EVENT::FloatVec & values){
 
     checkAccess("LCParametersImpl::setValues") ;
 
@@ -183,7 +183,7 @@
     _floatMap[ key ].assign(  values.begin() , values.end() ) ;
   }
   
-  void LCParametersImpl::setValues(const std::string & key, EVENT::StringVec & values){
+  void LCParametersImpl::setValues(const std::string & key, const EVENT::StringVec & values){
 
     checkAccess("LCParametersImpl::setValues") ;
 
CVSspam 0.2.8