コード例 #1
0
    bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const noexcept override
    {
        if (otherType.isDouble() || otherType.isInt64() || otherType.isString())
            return otherType.equals (otherData, data, *this);

        return otherType.toInt (otherData) == data.intValue;
    }
コード例 #2
0
ファイル: juce_Variant.cpp プロジェクト: Labmind/GUI
 bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const throw()
 {
     return otherType.toInt (otherData) == data.intValue;
 }
コード例 #3
0
 bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const noexcept override
 {
     return otherType.toInt (otherData) == data.intValue;
 }