Revision: 41442
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41442&view=rev
Author:   davidloman
Date:     2010-11-23 16:10:27 +0000 (Tue, 23 Nov 2010)

Log Message:
-----------
More c++ -> c style comments conversion.

Modified Paths:
--------------
    rt^3/trunk/src/libNet/netMsg/FailureMsg.cxx
    rt^3/trunk/src/libNet/netMsg/GenericFourBytesMsg.cxx
    rt^3/trunk/src/libNet/netMsg/GenericMultiByteMsg.cxx
    rt^3/trunk/src/libNet/netMsg/GenericOneByteMsg.cxx
    rt^3/trunk/src/libNet/netMsg/GenericOneStringMsg.cxx
    rt^3/trunk/src/libNet/netMsg/GenericTwoBytesMsg.cxx
    rt^3/trunk/src/libNet/netMsg/GeometryChunkMsg.cxx
    rt^3/trunk/src/libNet/netMsg/GeometryManifestMsg.cxx
    rt^3/trunk/src/libNet/netMsg/GeometryReqMsg.cxx
    rt^3/trunk/src/libNet/netMsg/NetMsg.cxx
    rt^3/trunk/src/libNet/netMsg/NewNodeOnNetMsg.cxx
    rt^3/trunk/src/libNet/netMsg/NewSessionReqMsg.cxx
    rt^3/trunk/src/libNet/netMsg/RemoteNodenameSetMsg.cxx
    rt^3/trunk/src/libNet/netMsg/SessionInfoMsg.cxx
    rt^3/trunk/src/libNet/netMsg/SuccessMsg.cxx
    rt^3/trunk/src/libNet/netMsg/TypeOnlyMsg.cxx

Modified: rt^3/trunk/src/libNet/netMsg/FailureMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/FailureMsg.cxx 2010-11-23 16:01:20 UTC (rev 
41441)
+++ rt^3/trunk/src/libNet/netMsg/FailureMsg.cxx 2010-11-23 16:10:27 UTC (rev 
41442)
@@ -50,10 +50,12 @@
  */
 quint8 FailureMsg::getFailureCode() {return this->data;}
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/GenericFourBytesMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/GenericFourBytesMsg.cxx        2010-11-23 
16:01:20 UTC (rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/GenericFourBytesMsg.cxx        2010-11-23 
16:10:27 UTC (rev 41442)
@@ -84,10 +84,12 @@
     return this->data;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/GenericMultiByteMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/GenericMultiByteMsg.cxx        2010-11-23 
16:01:20 UTC (rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/GenericMultiByteMsg.cxx        2010-11-23 
16:10:27 UTC (rev 41442)
@@ -32,7 +32,7 @@
        quint32 dataInLen) :
     NetMsg(type), dataLen(dataInLen)
 {
-    //Deep copy
+    /* Deep copy */
     this->data = (char*) malloc(dataInLen);
 
     for (quint32 i = 0; i < dataInLen; ++i) {
@@ -44,7 +44,7 @@
 GenericMultiByteMsg::GenericMultiByteMsg(quint32 type, NetMsg* msg, char* 
dataIn, quint32 dataInLen) :
        NetMsg(type, msg), dataLen(dataInLen)
 {
-    //Deep copy
+    /* Deep copy */
     this->data = (char*) malloc(dataInLen);
 
     for (quint32 i = 0; i < dataInLen; ++i) {
@@ -76,8 +76,9 @@
 {
     *ds << this->dataLen;
     for (quint32 i = 0; i < this->dataLen; ++i) {
-       //Oddness, the DataStream won't detect this is a quint8
-       //Therefore you MUST cast it.
+
+       /* Oddness, the DataStream won't detect this is a quint8 */
+       /* Therefore you MUST cast it. */
        *ds << (quint8) this->data[i];
     }
     return true;
@@ -137,10 +138,12 @@
        return data;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/GenericOneByteMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/GenericOneByteMsg.cxx  2010-11-23 16:01:20 UTC 
(rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/GenericOneByteMsg.cxx  2010-11-23 16:10:27 UTC 
(rev 41442)
@@ -79,10 +79,12 @@
     return this->data;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/GenericOneStringMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/GenericOneStringMsg.cxx        2010-11-23 
16:01:20 UTC (rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/GenericOneStringMsg.cxx        2010-11-23 
16:10:27 UTC (rev 41442)
@@ -83,10 +83,12 @@
     return this->strData;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/GenericTwoBytesMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/GenericTwoBytesMsg.cxx 2010-11-23 16:01:20 UTC 
(rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/GenericTwoBytesMsg.cxx 2010-11-23 16:10:27 UTC 
(rev 41442)
@@ -84,10 +84,12 @@
     return this->data;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/GeometryChunkMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/GeometryChunkMsg.cxx   2010-11-23 16:01:20 UTC 
(rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/GeometryChunkMsg.cxx   2010-11-23 16:10:27 UTC 
(rev 41442)
@@ -37,7 +37,7 @@
        GenericMultiByteMsg(GEOMETRYCHUNK, msg, dataIn, dataInLen)
 {}
 
-//Deserializing Constructor
+/* Deserializing Constructor */
 GeometryChunkMsg::GeometryChunkMsg(QDataStream* ds, Portal* origin) :
     GenericMultiByteMsg(ds, origin)
 {}
@@ -46,10 +46,12 @@
 GeometryChunkMsg::~GeometryChunkMsg()
 {}
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/GeometryManifestMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/GeometryManifestMsg.cxx        2010-11-23 
16:01:20 UTC (rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/GeometryManifestMsg.cxx        2010-11-23 
16:10:27 UTC (rev 41442)
@@ -120,10 +120,12 @@
     return this->itemData;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/GeometryReqMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/GeometryReqMsg.cxx     2010-11-23 16:01:20 UTC 
(rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/GeometryReqMsg.cxx     2010-11-23 16:10:27 UTC 
(rev 41442)
@@ -49,7 +49,7 @@
 
 bool GeometryReqMsg::_serialize(QDataStream* ds)
 {
-    //Call the super
+    /* Call the super */
     GenericOneStringMsg::_serialize(ds);
 
     *ds << this->reqType;
@@ -93,10 +93,12 @@
     return this->strData;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/NetMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/NetMsg.cxx     2010-11-23 16:01:20 UTC (rev 
41441)
+++ rt^3/trunk/src/libNet/netMsg/NetMsg.cxx     2010-11-23 16:10:27 UTC (rev 
41442)
@@ -70,7 +70,7 @@
 NetMsg::~NetMsg()
 {}
 
-//Serializers
+/* Serializers */
 QByteArray*
 NetMsg::serialize()
 {
@@ -84,10 +84,10 @@
 void
 NetMsg::serialize(QByteArray* ba)
 {
-  //Make a DS for the subclass
+  /* Make a DS for the subclass */
   QDataStream subDS(ba, QIODevice::ReadWrite);
 
-  //Serialize Header
+  /* Serialize Header */
   subDS << this->msgType;
   Utils::putQUuid(&subDS, this->msgUUID);
   subDS << this->hasReUUID;
@@ -97,7 +97,7 @@
       Utils::putQUuid(&subDS, this->reUUID);
     }
 
-  //Call subclass serialize
+  /* Call subclass serialize */
   if (!this->_serialize(&subDS))
     {
       std::cerr << "A serialization Error in NetMsg::serialize() occurred.\n";
@@ -210,10 +210,12 @@
   std::cout << this->toStdString();
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/NewNodeOnNetMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/NewNodeOnNetMsg.cxx    2010-11-23 16:01:20 UTC 
(rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/NewNodeOnNetMsg.cxx    2010-11-23 16:10:27 UTC 
(rev 41442)
@@ -54,10 +54,12 @@
     return this->strData;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/NewSessionReqMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/NewSessionReqMsg.cxx   2010-11-23 16:01:20 UTC 
(rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/NewSessionReqMsg.cxx   2010-11-23 16:10:27 UTC 
(rev 41442)
@@ -95,10 +95,12 @@
     return this->passwd;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/RemoteNodenameSetMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/RemoteNodenameSetMsg.cxx       2010-11-23 
16:01:20 UTC (rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/RemoteNodenameSetMsg.cxx       2010-11-23 
16:10:27 UTC (rev 41442)
@@ -54,10 +54,12 @@
     return this->strData;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/SessionInfoMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/SessionInfoMsg.cxx     2010-11-23 16:01:20 UTC 
(rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/SessionInfoMsg.cxx     2010-11-23 16:10:27 UTC 
(rev 41442)
@@ -84,10 +84,12 @@
     return this->sessionID;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/SuccessMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/SuccessMsg.cxx 2010-11-23 16:01:20 UTC (rev 
41441)
+++ rt^3/trunk/src/libNet/netMsg/SuccessMsg.cxx 2010-11-23 16:10:27 UTC (rev 
41442)
@@ -54,10 +54,12 @@
     return this->data;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */

Modified: rt^3/trunk/src/libNet/netMsg/TypeOnlyMsg.cxx
===================================================================
--- rt^3/trunk/src/libNet/netMsg/TypeOnlyMsg.cxx        2010-11-23 16:01:20 UTC 
(rev 41441)
+++ rt^3/trunk/src/libNet/netMsg/TypeOnlyMsg.cxx        2010-11-23 16:10:27 UTC 
(rev 41442)
@@ -55,10 +55,12 @@
     return true;
 }
 
-// Local Variables: ***
-// mode: C++ ***
-// tab-width: 8 ***
-// c-basic-offset: 2 ***
-// indent-tabs-mode: t ***
-// End: ***
-// ex: shiftwidth=2 tabstop=8
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to