Author: wyoung
Date: Thu Jan 24 05:46:09 2008
New Revision: 2132

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2132&view=rev
Log:
Doxygen fixes

Modified:
    trunk/lib/connection.cpp
    trunk/lib/mystring.cpp
    trunk/lib/mystring.h
    trunk/lib/stadapter.cpp
    trunk/lib/tcp_connection.cpp
    trunk/lib/uds_connection.cpp

Modified: trunk/lib/connection.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/connection.cpp?rev=2132&r1=2131&r2=2132&view=diff
==============================================================================
--- trunk/lib/connection.cpp (original)
+++ trunk/lib/connection.cpp Thu Jan 24 05:46:09 2008
@@ -189,8 +189,8 @@
 
 
 bool
-Connection::parse_ipc_method(const char* server, string& host,
-               unsigned int& port, string& socket_name)
+Connection::parse_ipc_method(const char* server, std::string& host,
+               unsigned int& port, std::string& socket_name)
 {
        // NOTE: This routine has no connection type knowledge.  It can only
        // recognize a 0 value for the server parameter.  All substantial

Modified: trunk/lib/mystring.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/mystring.cpp?rev=2132&r1=2131&r2=2132&view=diff
==============================================================================
--- trunk/lib/mystring.cpp (original)
+++ trunk/lib/mystring.cpp Thu Jan 24 05:46:09 2008
@@ -33,11 +33,6 @@
 namespace mysqlpp {
 
 
-String::~String()
-{
-}
-
-
 char
 String::at(size_type pos) const
 {
@@ -63,23 +58,27 @@
        }
 }
 
+
 int
 String::compare(const std::string& other) const
 {
        return compare(0, length(), other.data());
 }
 
+
 int
 String::compare(size_type pos, size_type num, std::string& other) const
 {
        return compare(pos, num, other.data());
 }
 
+
 int
 String::compare(const char* other) const
 {
        return compare(0, length(), other);
 }
+
 
 int
 String::compare(size_type pos, size_type num,

Modified: trunk/lib/mystring.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/mystring.h?rev=2132&r1=2131&r2=2132&view=diff
==============================================================================
--- trunk/lib/mystring.h (original)
+++ trunk/lib/mystring.h Thu Jan 24 05:46:09 2008
@@ -100,9 +100,8 @@
        };
 } // namespace detail
 
-#if !defined(DOXYGEN_IGNORE)
 class MYSQLPP_EXPORT SQLTypeAdapter;
-#endif
+#endif // !defined(DOXYGEN_IGNORE)
 
 /// \brief A std::string work-alike that can convert itself from SQL
 /// text data formats to C++ data types.
@@ -231,7 +230,7 @@
        }
 
        /// \brief Destroy string
-       ~String();
+       ~String() { }
 
        /// \brief Assign raw data to this object
        ///
@@ -659,9 +658,8 @@
 #if !defined(NO_LONG_LONGS)
 operator_binary_int(longlong, longlong)
 operator_binary_int(ulonglong, ulonglong)
-#endif
-#endif // MYSQLPP_NO_BINARY_OPERS
-#endif // DOXYGEN_IGNORE
+#endif // !defined(NO_LONG_LONGS)
+#endif // !defined(MYSQLPP_NO_BINARY_OPERS) && !defined(DOXYGEN_IGNORE)
 
 
 #if !defined(DOXYGEN_IGNORE)

Modified: trunk/lib/stadapter.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/stadapter.cpp?rev=2132&r1=2131&r2=2132&view=diff
==============================================================================
--- trunk/lib/stadapter.cpp (original)
+++ trunk/lib/stadapter.cpp Thu Jan 24 05:46:09 2008
@@ -54,7 +54,7 @@
 {
 }
 
-SQLTypeAdapter::SQLTypeAdapter(const string& str, bool processed) :
+SQLTypeAdapter::SQLTypeAdapter(const std::string& str, bool processed) :
 buffer_(new SQLBuffer(str, mysql_type_info::string_type, false)),
 is_processed_(processed)
 {
@@ -373,13 +373,14 @@
 }
 
 int
-SQLTypeAdapter::compare(const string& other) const
+SQLTypeAdapter::compare(const std::string& other) const
 {
        return compare(0, length(), other.data());
 }
 
 int
-SQLTypeAdapter::compare(size_type pos, size_type num, string& other) const
+SQLTypeAdapter::compare(size_type pos, size_type num, 
+               std::string& other) const
 {
        return compare(pos, num, other.data());
 }

Modified: trunk/lib/tcp_connection.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/tcp_connection.cpp?rev=2132&r1=2131&r2=2132&view=diff
==============================================================================
--- trunk/lib/tcp_connection.cpp (original)
+++ trunk/lib/tcp_connection.cpp Thu Jan 24 05:46:09 2008
@@ -69,8 +69,8 @@
 
 
 bool
-TCPConnection::parse_address(string& addr, unsigned int& port,
-               string& error)
+TCPConnection::parse_address(std::string& addr, unsigned int& port,
+               std::string& error)
 {
        error.clear();
        

Modified: trunk/lib/uds_connection.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/uds_connection.cpp?rev=2132&r1=2131&r2=2132&view=diff
==============================================================================
--- trunk/lib/uds_connection.cpp (original)
+++ trunk/lib/uds_connection.cpp Thu Jan 24 05:46:09 2008
@@ -64,7 +64,7 @@
 
 
 bool
-UnixDomainSocketConnection::is_socket(cchar* path, string* error)
+UnixDomainSocketConnection::is_socket(cchar* path, std::string* error)
 {
 #if !defined(MYSQLPP_PLATFORM_WINDOWS)
        if (path) {


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to