Thanks for reply,
This means that I have to add each column manually not using a loop? in
order to initialize the model which also I should inherit new model class
from WAbstractTableModel? Is there any way to iterate the column of dbo
object insted of accessing class member?
Thanks a lot
On Fri, Feb 28, 2014 at 7:33 PM, Nagaev Boris <bnag...@gmail.com> wrote:
> Hello,
>
> you can iterate objects of collection using .begin() and .end().
> To make code shorter, use boost foreach:
>
> #include <boost/foreach.hpp>
> BOOST_FOREACH (dbo::ptr<Model> object, collection) { ... }
>
> or C++11 for:
>
> for (dbo::ptr<Model> object : collection) { ... }
>
> Regards,
> Boris Nagaev
>
> On Fri, Feb 28, 2014 at 9:59 PM, Muhammad Nasser Al-Noimi
> <mnno...@gmail.com> wrote:
> > Hi,
> >
> > I have small question about how to get model from dbo collection, Is
> there
> > any easy to use way to get that? such as the getting dbo object from
> model
> > using resultRow function.
> >
> > Thanx,
> > Nasser Al-Noimi
> >
> >
> ------------------------------------------------------------------------------
> > Flow-based real-time traffic analytics software. Cisco certified tool.
> > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> > Customize your own dashboards, set traffic alerts and generate reports.
> > Network behavioral analysis & security monitoring. All-in-one tool.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> > _______________________________________________
> > witty-interest mailing list
> > witty-interest@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/witty-interest
> >
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest