473,385 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

CORBA object used in Vector

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 < intlist;
}
}

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??

Please reply
Thanks

Jul 21 '06 #1
1 2025
niks schrieb:
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 < intlist;
}
}

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??

Please reply
Thanks
The answer might be here:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

/S
--
Stefan Naewe
naewe.s_AT_atlas_DOT_de
Jul 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: csafd | last post by:
hi everyone, can anyone help me here, I want to know which communication technology is good for my system(which of course is being implemented as a distributed system). The technologies which I...
0
by: gerald.maher | last post by:
Hi, I just want to execute a script that used omniORB, omniORBpy Python, Here are the version that I Tried, is this correct ? omniORBpy 2.5 omniORB 4.0.5 Python 2.4.1 The script is below:
1
by: Bob Smith | last post by:
Hello all, I am having a very difficult time getting something to work. This involves CORBA, hopefully someone here will be able to answer it, and if not maybe someone can point me in the right...
0
by: Craig Rodrigues | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.object.corba.tao This is a formal Request For Discussion (RFD) to create comp.object.corba.tao as an unmoderated world-wide Usenet newsgroup...
30
by: Kong Bhat | last post by:
With XML becoming the de facto data description standard, I am extremely surprised that there is no movement towards standardizing an xml library API for use with C and C++. Personally I have been...
2
by: Krzysztof Opa³a | last post by:
Hi I've got my CORBA application written in Borland C++ Builder, using Visibroker. What I wanna do is get from server a set of strings (the number of string is not constant). I was trying to do it...
0
by: Tomek | last post by:
Welcome. I`m trying to prepere some project that shows how to use Corba technology i heterogenic systems.I`d like to create CORBA server with Borland Delphi (or C#.NET) and few client...
0
by: niks | last post by:
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 ...
0
by: news.onet.pl | last post by:
I hava a problem with communication between Java/Corba server based on JDK ORB with Java/Corba client (applet) based on the same ORB. I`m using IOR to localize server. client`s ORB i initialize...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.