Remove UNSIGNED_INTEGER property type as it does not fully work and causes headache
[platform/core/uifw/dali-core.git] / dali / internal / event / common / property-input-impl.h
index c8fa3ad..1778b54 100644 (file)
@@ -43,7 +43,6 @@ namespace Internal
 static const bool DUMMY_BOOLEAN_VALUE( false );
 static const float DUMMY_FLOAT_VALUE( 0.0f );
 static const int DUMMY_INTEGER_VALUE( 0 );
-static const unsigned int DUMMY_UNSIGNED_INTEGER_VALUE( 0u );
 static const Vector2 DUMMY_VECTOR2_VALUE( 0.0f, 0.0f );
 static const Vector3 DUMMY_VECTOR3_VALUE( 0.0f, 0.0f, 0.0f );
 static const Vector4 DUMMY_VECTOR4_VALUE( 0.0f, 0.0f, 0.0f, 0.0f );
@@ -109,18 +108,6 @@ public:
   }
 
   /**
-   * Retrieve an integer value.
-   * @pre GetType() returns Property::UNSIGNED_INTEGER.
-   * @param[in] bufferIndex The buffer to read from.
-   * @return The integer value.
-   */
-  virtual const unsigned int& GetUnsignedInteger( BufferIndex bufferIndex ) const
-  {
-    DALI_ASSERT_ALWAYS( false && "Property type mismatch" );
-    return DUMMY_UNSIGNED_INTEGER_VALUE;
-  }
-
-  /**
    * Retrieve a float value.
    * @pre GetType() returns Property::FLOAT.
    * @param[in] bufferIndex The buffer to read from.
@@ -233,19 +220,6 @@ public:
   }
 
   /**
-   * Retrieve an unsigned integer input for a constraint function.
-   * @note For inherited properties, this method should be overriden to return the value
-   * from the previous frame i.e. not from the current update buffer.
-   * @pre GetType() returns Property::UNSIGNED_INTEGER.
-   * @param[in] updateBufferIndex The current update buffer index.
-   * @return The integer value.
-   */
-  virtual const unsigned int& GetConstraintInputUnsignedInteger( BufferIndex updateBufferIndex ) const
-  {
-    return GetUnsignedInteger( updateBufferIndex );
-  }
-
-  /**
    * Retrieve a float input for a constraint function.
    * @note For inherited properties, this method should be overriden to return the value
    * from the previous frame i.e. not from the current update buffer.
@@ -358,12 +332,6 @@ public:
         break;
       }
 
-      case Property::UNSIGNED_INTEGER:
-      {
-        debugStream << GetUnsignedInteger( bufferIndex );
-        break;
-      }
-
       case Property::FLOAT:
       {
         debugStream << GetFloat( bufferIndex );