certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

certi/libCERTI Interaction.cc Interaction.hh


From: certi-cvs
Subject: certi/libCERTI Interaction.cc Interaction.hh
Date: Tue, 11 Dec 2007 19:46:53 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      07/12/11 19:46:53

Modified files:
        libCERTI       : Interaction.cc Interaction.hh 

Log message:
        Remove miss-overloaded method setName

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Interaction.cc?cvsroot=certi&r1=3.34&r2=3.35
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Interaction.hh?cvsroot=certi&r1=3.25&r2=3.26

Patches:
Index: Interaction.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/Interaction.cc,v
retrieving revision 3.34
retrieving revision 3.35
diff -u -b -r3.34 -r3.35
--- Interaction.cc      31 Oct 2007 10:30:21 -0000      3.34
+++ Interaction.cc      11 Dec 2007 19:46:53 -0000      3.35
@@ -19,7 +19,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: Interaction.cc,v 3.34 2007/10/31 10:30:21 erk Exp $
+// $Id: Interaction.cc,v 3.35 2007/12/11 19:46:53 erk Exp $
 // ----------------------------------------------------------------------------
 
 
@@ -503,24 +503,24 @@
 //! Change the interaction name.
 // Name attribute access(GetName reference must be considered READ-ONLY).
 // NewName length must be lower or equal to MAX_USER_TAG_LENGTH.
-void
-Interaction::setName(const char *new_name)
-    throw (ValueLengthExceeded, RTIinternalError)
-{
-       std::stringstream msg;
-       
-       if (strlen(new_name)>MAX_USER_TAG_LENGTH) {
-               msg <<"<"<< new_name <<"> length <"<< strlen(new_name)
-                       <<"> exceed MAX_USER_TAG_LENGTH = 
"<<MAX_USER_TAG_LENGTH;
-               throw ValueLengthExceeded(msg.str().c_str());
-       }
-       
-       if (new_name==0) {
-               Named::setName("");
-       } else {        
-               Named::setName(new_name);       
-       }    
-}
+//void
+//Interaction::setName(const char *new_name)
+//    throw (ValueLengthExceeded, RTIinternalError)
+//{
+//     std::stringstream msg;
+//     
+//     if (strlen(new_name)>MAX_USER_TAG_LENGTH) {
+//             msg <<"<"<< new_name <<"> length <"<< strlen(new_name)
+//                     <<"> exceed MAX_USER_TAG_LENGTH = 
"<<MAX_USER_TAG_LENGTH;
+//             throw ValueLengthExceeded(msg.str().c_str());
+//     }
+//     
+//     if (new_name==0) {
+//             Named::setName("");
+//     } else {        
+//             Named::setName(new_name);       
+//     }    
+//}
 
 // ----------------------------------------------------------------------------
 //! Change the level ID.
@@ -553,4 +553,4 @@
 
 } // namespace certi
 
-// $Id: Interaction.cc,v 3.34 2007/10/31 10:30:21 erk Exp $
+// $Id: Interaction.cc,v 3.35 2007/12/11 19:46:53 erk Exp $

Index: Interaction.hh
===================================================================
RCS file: /sources/certi/certi/libCERTI/Interaction.hh,v
retrieving revision 3.25
retrieving revision 3.26
diff -u -b -r3.25 -r3.26
--- Interaction.hh      31 Oct 2007 10:30:22 -0000      3.25
+++ Interaction.hh      11 Dec 2007 19:46:53 -0000      3.26
@@ -19,7 +19,7 @@
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 // USA
 //
-// $Id: Interaction.hh,v 3.25 2007/10/31 10:30:22 erk Exp $
+// $Id: Interaction.hh,v 3.26 2007/12/11 19:46:53 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _CERTI_INTERACTION_HH
@@ -47,10 +47,7 @@
 {
 public:
     Interaction();
-    ~Interaction()
-    ;    
-    void setName(const char *new_name)
-        throw (ValueLengthExceeded, RTIinternalError);
+    ~Interaction();        
 
     void setSpace(SpaceHandle);
     SpaceHandle getSpace();
@@ -170,4 +167,4 @@
 
 #endif // _CERTI_INTERACTION.HH
 
-// $Id: Interaction.hh,v 3.25 2007/10/31 10:30:22 erk Exp $
+// $Id: Interaction.hh,v 3.26 2007/12/11 19:46:53 erk Exp $




reply via email to

[Prev in Thread] Current Thread [Next in Thread]