You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2001/11/22 21:23:00 UTC
cvs commit: xml-xerces/c/src/util XMLFloat.hpp XMLDouble.hpp XMLDateTime.hpp XMLAbstractDoubleFloat.hpp HashCMStateSet.hpp
peiyongz 01/11/22 12:23:00
Modified: c/src/util XMLFloat.hpp XMLDouble.hpp XMLDateTime.hpp
XMLAbstractDoubleFloat.hpp HashCMStateSet.hpp
Log:
_declspec(dllimport) and inline warning C4273
Revision Changes Path
1.8 +6 -3 xml-xerces/c/src/util/XMLFloat.hpp
Index: XMLFloat.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLFloat.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- XMLFloat.hpp 2001/11/19 21:33:42 1.7
+++ XMLFloat.hpp 2001/11/22 20:23:00 1.8
@@ -55,8 +55,11 @@
*/
/*
- * $Id: XMLFloat.hpp,v 1.7 2001/11/19 21:33:42 peiyongz Exp $
+ * $Id: XMLFloat.hpp,v 1.8 2001/11/22 20:23:00 peiyongz Exp $
* $Log: XMLFloat.hpp,v $
+ * Revision 1.8 2001/11/22 20:23:00 peiyongz
+ * _declspec(dllimport) and inline warning C4273
+ *
* Revision 1.7 2001/11/19 21:33:42 peiyongz
* Reorganization: Double/Float
*
@@ -136,8 +139,8 @@
};
-int XMLFloat::compareValues(const XMLFloat* const lValue
- , const XMLFloat* const rValue)
+inline int XMLFloat::compareValues(const XMLFloat* const lValue
+ , const XMLFloat* const rValue)
{
return XMLAbstractDoubleFloat::compareValues((const XMLAbstractDoubleFloat* const) lValue,
(const XMLAbstractDoubleFloat* const) rValue );
1.10 +6 -3 xml-xerces/c/src/util/XMLDouble.hpp
Index: XMLDouble.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLDouble.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XMLDouble.hpp 2001/11/19 21:33:42 1.9
+++ XMLDouble.hpp 2001/11/22 20:23:00 1.10
@@ -55,8 +55,11 @@
*/
/*
- * $Id: XMLDouble.hpp,v 1.9 2001/11/19 21:33:42 peiyongz Exp $
+ * $Id: XMLDouble.hpp,v 1.10 2001/11/22 20:23:00 peiyongz Exp $
* $Log: XMLDouble.hpp,v $
+ * Revision 1.10 2001/11/22 20:23:00 peiyongz
+ * _declspec(dllimport) and inline warning C4273
+ *
* Revision 1.9 2001/11/19 21:33:42 peiyongz
* Reorganization: Double/Float
*
@@ -141,8 +144,8 @@
};
-int XMLDouble::compareValues(const XMLDouble* const lValue
- , const XMLDouble* const rValue)
+inline int XMLDouble::compareValues(const XMLDouble* const lValue
+ , const XMLDouble* const rValue)
{
return XMLAbstractDoubleFloat::compareValues((const XMLAbstractDoubleFloat* const) lValue,
(const XMLAbstractDoubleFloat* const) rValue );
1.4 +11 -8 xml-xerces/c/src/util/XMLDateTime.hpp
Index: XMLDateTime.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLDateTime.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XMLDateTime.hpp 2001/11/12 20:36:54 1.3
+++ XMLDateTime.hpp 2001/11/22 20:23:00 1.4
@@ -55,8 +55,11 @@
*/
/*
- * $Id: XMLDateTime.hpp,v 1.3 2001/11/12 20:36:54 peiyongz Exp $
+ * $Id: XMLDateTime.hpp,v 1.4 2001/11/22 20:23:00 peiyongz Exp $
* $Log: XMLDateTime.hpp,v $
+ * Revision 1.4 2001/11/22 20:23:00 peiyongz
+ * _declspec(dllimport) and inline warning C4273
+ *
* Revision 1.3 2001/11/12 20:36:54 peiyongz
* SchemaDateTimeException defined
*
@@ -290,7 +293,7 @@
};
-void XMLDateTime::setBuffer(const XMLCh* const aString)
+inline void XMLDateTime::setBuffer(const XMLCh* const aString)
{
reset();
fBuffer = XMLString::replicate(aString);
@@ -298,7 +301,7 @@
}
-void XMLDateTime::reset()
+inline void XMLDateTime::reset()
{
for ( int i=0; i < TOTAL_SIZE; i++ )
fValue[i] = 0;
@@ -314,7 +317,7 @@
}
-void XMLDateTime::copy(const XMLDateTime& rhs)
+inline void XMLDateTime::copy(const XMLDateTime& rhs)
{
for ( int i = 0; i < TOTAL_SIZE; i++ )
fValue[i] = rhs.fValue[i];
@@ -335,7 +338,7 @@
}
-void XMLDateTime::assertBuffer() const
+inline void XMLDateTime::assertBuffer() const
{
if ( ( !fBuffer ) ||
( fBuffer[0] == chNull ) )
@@ -346,19 +349,19 @@
}
-void XMLDateTime::initParser()
+inline void XMLDateTime::initParser()
{
assertBuffer();
fStart = 0; // to ensure scan from the very first beginning
// in case the pointer is updated accidentally by someone else.
}
-bool XMLDateTime::isNormalized() const
+inline bool XMLDateTime::isNormalized() const
{
return ( fValue[utc] == UTC_STD ? true : false );
}
-int XMLDateTime::getRetVal(int c1, int c2)
+inline int XMLDateTime::getRetVal(int c1, int c2)
{
if ((c1 == LESS_THAN && c2 == GREATER_THAN) ||
(c1 == GREATER_THAN && c2 == LESS_THAN) )
1.2 +6 -3 xml-xerces/c/src/util/XMLAbstractDoubleFloat.hpp
Index: XMLAbstractDoubleFloat.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLAbstractDoubleFloat.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XMLAbstractDoubleFloat.hpp 2001/11/19 21:33:42 1.1
+++ XMLAbstractDoubleFloat.hpp 2001/11/22 20:23:00 1.2
@@ -55,8 +55,11 @@
*/
/*
- * $Id: XMLAbstractDoubleFloat.hpp,v 1.1 2001/11/19 21:33:42 peiyongz Exp $
+ * $Id: XMLAbstractDoubleFloat.hpp,v 1.2 2001/11/22 20:23:00 peiyongz Exp $
* $Log: XMLAbstractDoubleFloat.hpp,v $
+ * Revision 1.2 2001/11/22 20:23:00 peiyongz
+ * _declspec(dllimport) and inline warning C4273
+ *
* Revision 1.1 2001/11/19 21:33:42 peiyongz
* Reorganization: Double/Float
*
@@ -183,7 +186,7 @@
LiteralType fType;
};
-bool XMLAbstractDoubleFloat::isSpecialValue() const
+inline bool XMLAbstractDoubleFloat::isSpecialValue() const
{
return (fType < SpecialTypeNum);
}
1.2 +6 -3 xml-xerces/c/src/util/HashCMStateSet.hpp
Index: HashCMStateSet.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/HashCMStateSet.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HashCMStateSet.hpp 2001/08/16 21:54:01 1.1
+++ HashCMStateSet.hpp 2001/11/22 20:23:00 1.2
@@ -55,8 +55,11 @@
*/
/*
- * $Id: HashCMStateSet.hpp,v 1.1 2001/08/16 21:54:01 peiyongz Exp $
+ * $Id: HashCMStateSet.hpp,v 1.2 2001/11/22 20:23:00 peiyongz Exp $
* $Log: HashCMStateSet.hpp,v $
+ * Revision 1.2 2001/11/22 20:23:00 peiyongz
+ * _declspec(dllimport) and inline warning C4273
+ *
* Revision 1.1 2001/08/16 21:54:01 peiyongz
* new class creation
*
@@ -100,7 +103,7 @@
return ((pkey->hashCode()) % mod);
}
-bool HashCMStateSet::equals(const void *const key1, const void *const key2)
+inline bool HashCMStateSet::equals(const void *const key1, const void *const key2)
{
const CMStateSet* const pkey1 = (const CMStateSet* const) key1;
const CMStateSet* const pkey2 = (const CMStateSet* const) key2;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org