|
#ifndef _QX_SERVICE_BO_USER_SEARCH_H_
#define _QX_SERVICE_BO_USER_SEARCH_H_
class QX_SERVICE_DLL_EXPORT user_search
{
public:
// -- contructor, virtual destructor
user_search() { ; }
virtual ~user_search() { ; }
// -- properties
QString first_name;
QString last_name;
QDateTime birth_date;
// -- methods
bool empty() const
{ return (first_name.isEmpty() && last_name.isEmpty() && ! birth_date.isValid()); }
};
QX_REGISTER_HPP_QX_SERVICE(user_search, qx::trait::no_base_class_defined, 0)
typedef boost::shared_ptr<user_search> user_search_ptr;
#endif // _QX_SERVICE_BO_USER_SEARCH_H_
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.