Author: wyoung
Date: Tue Feb 12 08:56:23 2008
New Revision: 2193

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2193&view=rev
Log:
Type tweak to make Doxygen happy

Modified:
    trunk/lib/datetime.h

Modified: trunk/lib/datetime.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/datetime.h?rev=2193&r1=2192&r2=2193&view=diff
==============================================================================
--- trunk/lib/datetime.h (original)
+++ trunk/lib/datetime.h Tue Feb 12 08:56:23 2008
@@ -100,7 +100,7 @@
        ///
        /// String must be in the HH:MM:SS format.  It doesn't have to be
        /// zero-padded.
-       explicit DateTime(cchar* str) { convert(str); }
+       explicit DateTime(const char* str) { convert(str); }
        
        /// \brief Initialize object from a C++ string containing a
        /// SQL date-and-time string
@@ -108,7 +108,7 @@
        /// This works with any stringish class that declares a c_str()
        /// member function: std::string, mysqlpp::String...
        ///
-       /// \sa DateTime(cchar*)
+       /// \sa DateTime(const char*)
        template <class Str>
        explicit DateTime(const Str& str)
        {
@@ -125,7 +125,7 @@
        int compare(const DateTime& other) const;
 
        /// \brief Parse a SQL date and time string into this object.
-       cchar* convert(cchar*);
+       const char* convert(const char*);
 
        /// \brief Get the date/time value's day part, 1-31
        unsigned char day() const { return day_; }
@@ -253,14 +253,14 @@
        ///
        /// String must be in the YYYY-MM-DD format.  It doesn't have to be
        /// zero-padded.
-       explicit Date(cchar* str) { convert(str); }
+       explicit Date(const char* str) { convert(str); }
        
        /// \brief Initialize object from a C++ string containing a date
        ///
        /// This works with any stringish class that declares a c_str()
        /// member function: std::string, mysqlpp::String...
        ///
-       /// \sa Date(cchar*)
+       /// \sa Date(const char*)
        template <class Str>
        explicit Date(const Str& str) { convert(str.c_str()); }
 
@@ -277,7 +277,7 @@
        int compare(const Date& other) const;
 
        /// \brief Parse a SQL date string into this object.
-       cchar* convert(cchar*);
+       const char* convert(const char*);
 
        /// \brief Get the date's day part, 1-31
        unsigned char day() const { return day_; }
@@ -371,7 +371,7 @@
        ///
        /// String must be in the HH:MM:SS format.  It doesn't have to be
        /// zero-padded.
-       explicit Time(cchar* str) { convert(str); }
+       explicit Time(const char* str) { convert(str); }
 
        /// \brief Initialize object from a C++ string containing a
        /// SQL time string
@@ -379,7 +379,7 @@
        /// This works with any stringish class that declares a c_str()
        /// member function: std::string, mysqlpp::String...
        ///
-       /// \sa Time(cchar*)
+       /// \sa Time(const char*)
        template <class Str>
        explicit Time(const Str& str) { convert(str.c_str()); }
 
@@ -396,7 +396,7 @@
        int compare(const Time& other) const;
 
        /// \brief Parse a SQL time string into this object.
-       cchar* convert(cchar*);
+       const char* convert(const char*);
 
        /// \brief Get the time's hour part, 0-23
        unsigned char hour() const { return hour_; }


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

Reply via email to