niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » C++
CORBA object used in Vector
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
niks
*nix forums beginner


Joined: 21 Jul 2006
Posts: 2

PostPosted: Fri Jul 21, 2006 7:45 am    Post subject: CORBA object used in Vector Reply with quote

Hi ,
I am trying to create a vector that makes use of Vector.The vector is
of CORBA object type.
The CORBA object is defined by me in the idl.

For ex:-

the idl definition is as given below

module A
{
module B
{
sequence < int> list;
}
}

Now i am using this CORBA definition in my C++ programme as follows

I have created an object of type A::B::list;
This list is of type vector.

I create the iterator for this list .
Now when i try to use it in the for loop as below it shows the
following error

for(iter = list.begin();i!=list.end();i++)

The error message says that the operator = and != are not defined for
the argument list.
Further is says that the operator is defined for the CORBA object and
expects return value as int
i mean

int = opertor is defined.

Why is this so??

Another thing when we define the vector the vector will behave
depending upon the properties of a vector so why should it give such a
error??

This is problem i face when i try in linux version while the same thing
works for HP Unix.

Please reply
Thanks
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 7:32 am | All times are GMT
navigation Forum index » Programming » C++
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts how can i use fstream object to clear file's content? horneye C++ 2 Fri Jul 21, 2006 7:52 am
No new posts CORBA object used in Vector niks C++ 1 Fri Jul 21, 2006 7:40 am
No new posts Bug#379054: ITP: lisaac -- Lisaac is the first object-ori... picca frederic devel 0 Thu Jul 20, 2006 9:30 pm
No new posts Bug#379051: ITP: libsvm -- LibSVM is a machine-learning l... Rudi Cilibrasi devel 0 Thu Jul 20, 2006 9:00 pm
No new posts ImportError: libclntsh.so.10.1: cannot open shared object... gmax2006 python 2 Thu Jul 20, 2006 7:05 pm

Repair Bad Credit | Advertising | Magic The Gathering Cards | Mortgage | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0925s ][ Queries: 16 (0.0296s) ][ GZIP on - Debug on ]