You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2007/07/13 19:53:07 UTC

svn commit: r556079 - in /incubator/tuscany/cpp/sdo/runtime/core: src/commonj/sdo/ test/

Author: robbinspg
Date: Fri Jul 13 10:53:06 2007
New Revision: 556079

URL: http://svn.apache.org/viewvc?view=rev&rev=556079
Log:
Undo accidental renaming of BigIntegerType to BigIntType

Modified:
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/ChangeSummaryImpl.cpp
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/DataObjectImpl.cpp
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/EqualityHelper.cpp
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Setting.cpp
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Type.h
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp
    incubator/tuscany/cpp/sdo/runtime/core/test/utils.cpp

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/ChangeSummaryImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/ChangeSummaryImpl.cpp?view=diff&rev=556079&r1=556078&r2=556079
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/ChangeSummaryImpl.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/ChangeSummaryImpl.cpp Fri Jul 13 10:53:06 2007
@@ -535,7 +535,7 @@
                 }
                 break;
             case Type::BigDecimalType: 
-            case Type::BigIntType: 
+            case Type::BigIntegerType: 
             case Type::StringType: 
             case Type::UriType:
                 if (!ob->isSet(prop) && !prop.isDefaulted())
@@ -701,7 +701,7 @@
                 }
                 break;
             case Type::BigDecimalType: 
-            case Type::BigIntType: 
+            case Type::BigIntegerType: 
             case Type::StringType: 
             case Type::UriType:
                 if (!ob->isSet(prop) && !prop.isDefaulted())
@@ -996,7 +996,7 @@
 //                            cout << "Date:" << sl[j].getDateValue().getTime();
 //                        break;
 //                        case Type::BigDecimalType: 
-//                        case Type::BigIntType: 
+//                        case Type::BigIntegerType: 
 //                        case Type::StringType: 
 //                        case Type::UriType:
 //                            {
@@ -1269,7 +1269,7 @@
             return sizeof(time_t);
             
         case Type::BigDecimalType: 
-        case Type::BigIntType: 
+        case Type::BigIntegerType: 
         case Type::StringType:    
         case Type::UriType:
             {

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp?view=diff&rev=556079&r1=556078&r2=556079
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/CopyHelper.cpp Fri Jul 13 10:53:06 2007
@@ -79,7 +79,7 @@
             to->setDate( p, from->getDate(p));
             break;
         case Type::BigDecimalType: 
-        case Type::BigIntType: 
+        case Type::BigIntegerType: 
         case Type::UriType:
         case Type::StringType:
             {
@@ -160,7 +160,7 @@
                 to.append(from.getDate(i));
                 break;
             case Type::BigDecimalType: 
-            case Type::BigIntType: 
+            case Type::BigIntegerType: 
             case Type::UriType:
             case Type::StringType:
                 {
@@ -238,7 +238,7 @@
             to->addDate( p, from->getDateValue(index));
             break;
         case Type::BigDecimalType: 
-        case Type::BigIntType: 
+        case Type::BigIntegerType: 
         case Type::UriType:
         case Type::StringType:
             {

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/DataObjectImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/DataObjectImpl.cpp?view=diff&rev=556079&r1=556078&r2=556079
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/DataObjectImpl.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/DataObjectImpl.cpp Fri Jul 13 10:53:06 2007
@@ -138,7 +138,7 @@
         case Type::DoubleType:
             return MAX_DOUBLE_SIZE;
         case Type::BigDecimalType:
-        case Type::BigIntType:
+        case Type::BigIntegerType:
         case Type::UriType:
         case Type::StringType:
             return getString(p,0,0);
@@ -166,7 +166,7 @@
         case Type::DoubleType:
             return MAX_DOUBLE_SIZE;
         case Type::BigDecimalType:
-        case Type::BigIntType:
+        case Type::BigIntegerType:
         case Type::UriType:
         case Type::StringType:
             return getString(0,0);
@@ -1149,7 +1149,7 @@
                 
             case  Type::BytesType:
             case  Type::BigDecimalType:
-            case  Type::BigIntType:
+            case  Type::BigIntegerType:
             case  Type::StringType:
             case  Type::UriType:
                 {
@@ -2662,7 +2662,7 @@
           case Type::LongType:
           case Type::DateType:
           case Type::BigDecimalType: 
-          case Type::BigIntType: 
+          case Type::BigIntegerType: 
           case Type::StringType:    
           case Type::BytesType:
           case Type::UriType:
@@ -2691,7 +2691,7 @@
          case Type::ShortType:
          case Type::LongType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -2732,7 +2732,7 @@
          case Type::LongType:      
          case Type::DateType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -2770,7 +2770,7 @@
          case Type::LongType:      
          case Type::DateType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -2798,7 +2798,7 @@
        switch (getTypeEnum())
        {
           case Type::BigDecimalType:
-          case Type::BigIntType:
+          case Type::BigIntegerType:
           case Type::UriType:
           case Type::StringType:
           case Type::BytesType:
@@ -2836,7 +2836,7 @@
       {
           case Type::BytesType:
           case Type::BigDecimalType: 
-          case Type::BigIntType: 
+          case Type::BigIntegerType: 
           case Type::UriType:
           case Type::StringType:
           case Type::BooleanType:    
@@ -2881,7 +2881,7 @@
          case Type::LongType:      
          case Type::DateType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -2922,7 +2922,7 @@
             break;
 
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -2959,7 +2959,7 @@
             break;
 
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -2995,7 +2995,7 @@
          case Type::LongType:      
          case Type::DateType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -3033,7 +3033,7 @@
          case Type::LongType:      
          case Type::DateType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -3075,7 +3075,7 @@
          case Type::LongType:   
          case Type::DateType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -3111,7 +3111,7 @@
          case Type::LongType:      
          case Type::DateType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::UriType:
          case Type::BytesType:
@@ -3156,7 +3156,7 @@
          case Type::LongType:
          case Type::DateType:
          case Type::BigDecimalType: 
-         case Type::BigIntType: 
+         case Type::BigIntegerType: 
          case Type::StringType:    
          case Type::BytesType:
          case Type::UriType:

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/EqualityHelper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/EqualityHelper.cpp?view=diff&rev=556079&r1=556078&r2=556079
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/EqualityHelper.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/EqualityHelper.cpp Fri Jul 13 10:53:06 2007
@@ -56,7 +56,7 @@
         case Type::DateType:
             return (to->getDate(p).getTime() ==  from->getDate(p).getTime());
         case Type::BigDecimalType: 
-        case Type::BigIntType: 
+        case Type::BigIntegerType: 
         case Type::UriType:
         case Type::StringType:
             {
@@ -225,7 +225,7 @@
         }
 
     case Type::BigDecimalType: 
-    case Type::BigIntType: 
+    case Type::BigIntegerType: 
     case Type::UriType:
     case Type::StringType:
         {

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Setting.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Setting.cpp?view=diff&rev=556079&r1=556078&r2=556079
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Setting.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Setting.cpp Fri Jul 13 10:53:06 2007
@@ -80,7 +80,7 @@
                 *(long*)value = long(s.getDateValue().getTime());
                 break;
             case Type::BigDecimalType: 
-            case Type::BigIntType: 
+            case Type::BigIntegerType: 
             case Type::StringType: 
             case Type::UriType:
                 value = new wchar_t[length];
@@ -137,7 +137,7 @@
                 delete (long*)value;
                 break;
             case Type::BigDecimalType: 
-            case Type::BigIntType: 
+            case Type::BigIntegerType: 
             case Type::StringType: 
             case Type::UriType:
                 delete[] (wchar_t*) value;

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Type.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Type.h?view=diff&rev=556079&r1=556078&r2=556079
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Type.h (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/Type.h Fri Jul 13 10:53:06 2007
@@ -61,7 +61,7 @@
     // Zero is a value for 'unknown type; - all data objects'
     OtherTypes = 0,
     BigDecimalType, 
-    BigIntType, 
+    BigIntegerType, 
     BooleanType,   
     ByteType,
     BytesType,

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp?view=diff&rev=556079&r1=556078&r2=556079
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp Fri Jul 13 10:53:06 2007
@@ -868,7 +868,7 @@
             return sizeof(int64_t);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             if (*value != 0)delete (char*)(*value);
@@ -1009,7 +1009,7 @@
             return sizeof(time_t);
             
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -1118,7 +1118,7 @@
         return sizeof(time_t);
             
       case BigDecimalType: 
-      case BigIntType: 
+      case BigIntegerType: 
       case StringType:    
       case UriType:
         {
@@ -1172,7 +1172,7 @@
     switch (typeEnum)
         {
         case BigDecimalType:
-        case BigIntType:
+        case BigIntegerType:
         case UriType:
         case StringType:
             {
@@ -1298,7 +1298,7 @@
             }
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case UriType:
         case StringType:
             {
@@ -1410,7 +1410,7 @@
         }
 
       case BigDecimalType: 
-      case BigIntType: 
+      case BigIntegerType: 
       case UriType:
       case StringType:
         {
@@ -1583,7 +1583,7 @@
             return sizeof(time_t);
             
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -1677,7 +1677,7 @@
             return sizeof(time_t);
             
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -1767,7 +1767,7 @@
             return sizeof(time_t);
             
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
         case BytesType:
@@ -1827,7 +1827,7 @@
             return sizeof(time_t);
             
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
         case BytesType:
@@ -1884,7 +1884,7 @@
             return sizeof(time_t);
             
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
         case BytesType:
@@ -1922,7 +1922,7 @@
         case LongType:
         case DateType:
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType: 
         case BytesType:
         case UriType:
@@ -1950,7 +1950,7 @@
         {
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case UriType:
         case StringType:
             {
@@ -2163,7 +2163,7 @@
    switch (typeEnum) 
    {
       case BigDecimalType: 
-      case BigIntType: 
+      case BigIntegerType: 
       case UriType:
       case StringType:
       case BytesType:
@@ -2211,7 +2211,7 @@
             }
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case UriType:
         case StringType:
             {
@@ -2333,7 +2333,7 @@
         {
         case BytesType:
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case UriType:
         case StringType:
         case BooleanType:
@@ -2391,7 +2391,7 @@
         }
 
       case BigDecimalType: 
-      case BigIntType: 
+      case BigIntegerType: 
       case UriType:
       case StringType:
         {
@@ -2638,7 +2638,7 @@
             return *asstringbuf;
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -2708,7 +2708,7 @@
          case LongType:
          case DateType:
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case StringType:    
          case UriType:
          case BytesType:
@@ -2783,7 +2783,7 @@
             return false;
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             if (value == 0 || len < 4) 
@@ -2838,7 +2838,7 @@
          case LongType:
          case DateType:
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case StringType:    
          case UriType:
          case BytesType:
@@ -2909,7 +2909,7 @@
             return (char)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -2968,7 +2968,7 @@
          case LongType:
          case DateType:
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case StringType:    
          case UriType:
          case BytesType:
@@ -3038,7 +3038,7 @@
             return (wchar_t)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -3080,7 +3080,7 @@
          case LongType:
          case DateType:
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case StringType:    
          case UriType:
          case BytesType:
@@ -3154,7 +3154,7 @@
             return (short)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             if (value == 0 || len == 0) 
@@ -3205,7 +3205,7 @@
          case LongType:
          case DateType:
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case StringType:    
          case UriType:
          case BytesType:
@@ -3275,7 +3275,7 @@
             return (int)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             if (value == 0) 
@@ -3376,7 +3376,7 @@
             return (long)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             if (value == 0) 
@@ -3434,7 +3434,7 @@
          case LongType:
          case DateType:
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case StringType:    
          case UriType:
          case BytesType:
@@ -3509,7 +3509,7 @@
             return (int64_t)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             if (value == 0) 
@@ -3572,7 +3572,7 @@
         case LongType:
         case DateType:
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
         case BytesType:
@@ -3641,7 +3641,7 @@
             return (float)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -3733,7 +3733,7 @@
             return (double)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -3825,7 +3825,7 @@
             return (long double)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
             {
@@ -3886,7 +3886,7 @@
          case LongType:
          case DateType:
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case StringType:    
          case UriType:
          case BytesType:
@@ -3919,7 +3919,7 @@
          case LongType:
          case DateType:
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case StringType:    
          case UriType:
          case BytesType:
@@ -3987,7 +3987,7 @@
             return (time_t)(*(time_t*)value);
 
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case UriType:
         case BooleanType:     
@@ -4023,7 +4023,7 @@
             return sdoValue.getDate();
 
          case BigDecimalType: 
-         case BigIntType: 
+         case BigIntegerType: 
          case UriType:
          case OtherTypes:
          case DataObjectType:
@@ -4059,7 +4059,7 @@
         case LongType:
         case DateType:
         case BigDecimalType: 
-        case BigIntType: 
+        case BigIntegerType: 
         case StringType:    
         case BytesType:
         case UriType:

Modified: incubator/tuscany/cpp/sdo/runtime/core/test/utils.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/test/utils.cpp?view=diff&rev=556079&r1=556078&r2=556079
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/test/utils.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/test/utils.cpp Fri Jul 13 10:53:06 2007
@@ -90,7 +90,7 @@
                     fprintf(f,"Date:%d\n",sl[j].getDateValue().getTime());
                 break;
                 case Type::BigDecimalType: 
-                case Type::BigIntType: 
+                case Type::BigIntegerType: 
                 case Type::StringType: 
                 case Type::UriType:
                     fprintf(f,"String:%s\n",sl[j].getCStringValue());
@@ -186,7 +186,7 @@
             fprintf(f,"date:%d\n",dp->getDate(p).getTime());
         break;
         case Type::BigDecimalType: 
-        case Type::BigIntType: 
+        case Type::BigIntegerType: 
         case Type::StringType: 
         case Type::UriType:
             fprintf(f,"string:%s\n", dp->getCString(p));
@@ -262,7 +262,7 @@
             fprintf(f,"date[%d]=%d\n",i,dobl.getDate(i).getTime());
         break;
         case Type::BigDecimalType: 
-        case Type::BigIntType: 
+        case Type::BigIntegerType: 
         case Type::StringType: 
         case Type::UriType:
             fprintf(f,"string[%d]=%s\n",i,dobl.getCString(i));



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org