[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    CORBA typedef sequence
From:       Rik Hemsley <rik () rikkus ! demon ! co ! uk>
Date:       1999-08-02 18:10:18
[Download RAW message or body]


Hi,

If I have something like this in my idl:
typedef sequence<Group> GroupList;

Then how should I go about iterating over this sequence ?

In my code I can do this:
GroupList * gl = object->groupList();

But I would like to be able to get something like vector<Group> so I can
actually use the thing. GroupList gets defined as an IfaceSequenceTmpl
which isn't really very useful. I can't even manage to get to the data :)

Cheers,
Rik

-- 
KDE - Colour Outside The Lines - http://www.kde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic