logo       

std::map problem: msg#00182

programming.swig

Subject: std::map problem

I am using a std::map in C++ of the following form

            std::map<std::string, std::string>

which I am trying to translated to Java using SWIG.

 

SWIG does not translate the return value of the get() method of the map class found in std_map.i to a java.lang.String. Instead it is creating a class called SWIGTYPE_p_std__string.java. I have included both std_string.i and std_map.i in my .i file. What can I do to fix this?

 

Thanks,

Rob

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise