qx_shared_ptr as shared pointer

Use this forum to request new features or suggest modifications to existing features

qx_shared_ptr as shared pointer

Postby mdw » Thu May 26, 2016 12:00 pm

It would be nice if QxEntityEditor could offer qx_shared_ptr as a smart pointer, and maybe others as well: http://www.qxorm.com/qxorm_en/manual.html#manual_400

So the generated entites would become more consistent, since the last typedef below remains always "qx_shared_ptr".
Code: Select all
class QTPROGRAM_EXPORT Addresses
{
...
public:
typedef qx_shared_ptr<Mg::QtProgram::Dal_QxORM::Countries> type_idCountry;
...
};
...
typedef qx_shared_ptr<Addresses> Addresses_ptr;
mdw
 
Posts: 34
Joined: Mon Feb 15, 2016 2:45 pm

Re: qx_shared_ptr as shared pointer

Postby qxorm » Mon Jun 06, 2016 1:42 pm

Hello,

qx_shared_ptr is just an alias to boost::shared_ptr or std::shared_ptr if C++11 compiler is enabled.
This is not a new shared pointer.

But ok, I will add it to the list of decorations in the next QxEntityEditor version.

EDIT : added in QxEntityEditor 1.2.1 : for changes log and download, please go to QxOrm download web page : https://www.qxorm.com/qxorm_en/download.html.
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am


Return to QxEntityEditor - Feature request

Who is online

Users browsing this forum: No registered users and 2 guests

cron