Page 1 of 1

qx_shared_ptr as shared pointer

PostPosted: Thu May 26, 2016 12:00 pm
by mdw
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;

Re: qx_shared_ptr as shared pointer

PostPosted: Mon Jun 06, 2016 1:42 pm
by qxorm
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.