[Ace-users] Re: [ciao-users] (no subject)

Sowayan, Abdullah (N-DUA) abdullah.sowayan at lmco.com
Thu Sep 20 15:23:17 CDT 2007


Santos,

Your question has nothing to do with CIAO. It is an ACE question. I
suggest you post your question to the ACE users list, since not all ACE
gurus monitor, or are subscribed to the CIAO users list.

Thanks,
Abdul

> -----Original Message-----
> From: ciao-users-bounces at cse.wustl.edu [mailto:ciao-users-
> bounces at cse.wustl.edu] On Behalf Of santos .
> Sent: Thursday, September 20, 2007 4:19 PM
> To: ciao-users at cse.wustl.edu
> Subject: [ciao-users] (no subject)
> 
>     CIAO VERSION: 0.5.9
>     TAO VERSION : 1.5.9
>     ACE VERSION : 5.5.9
> 
>     HOST MACHINE and OPERATING SYSTEM:
>         If on Windows based OS's, which version of WINSOCK do you
>         use?: Pentium IV, Debian linux kernel 2.6
> 
>     TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>     COMPILER NAME AND VERSION (AND PATCHLEVEL):
> 
>     THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
>     specific file, simply state which one]:#include "ace/config-
> linux.h"
> 
>     THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
>     use a link to a platform-specific file, simply state which one
>     (unless this isn't used in this case, e.g., with Microsoft Visual
>     C++)]:
>     no_hidden_visibility=1
>     include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
> 
>     CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/
> default.features
>     (used by MPC when you generate your own makefiles): There is no
> such file.
> 
>     AREA/CLASS/EXAMPLE AFFECTED:
> [What example failed?  What module failed to compile?]
> 
>     DOES THE PROBLEM AFFECT:
>         COMPILATION? No.
>             If so, what do your $ACE_ROOT/ace/config.h and
>             $ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
>         LINKING? No.
>             On Unix systems, did you run make realclean first?
>         EXECUTION? No.
>         OTHER (please specify)?
> [Please indicate whether ACE/TAO/CIAO, your application, or both are
> affected.]
> 
>     SYNOPSIS: Help with key parameter of the Hash Map find method
> [Brief description of the problem]
> 
>     DESCRIPTION:
> [Detailed description of problem.  Don't just say "<blah>
> doesn't work, here's a fix," explain what your program does
> to get to the <blah> state. ]
> 
> Hi,
> 
> I'm trying to use a Hash Map and I would appreciatte if you can help
> me with the following question:
> 
> I have a Hash Map declared as:
> 
> struct Info {
>        string id;
>        string type;
> };
> 
> typedef ACE_Hash_Map_Manager_Ex<ACE_CString,
>                                     Info,
>                                     ACE_Hash<ACE_CString>,
>                                     ACE_Equal_To<ACE_CString>,
>                                     ACE_Null_Mutex> InfoMap; ///
> Connections information
> InfoMap map;
> 
> How can I inform a std::string as parameter of the find method? I have
> an function that returns a value of std::string and I need to use this
> value to find an record in the Hash Map but the find method doesn't
> accept as parameter a std::string.
> 
> Thank you.
> 
> Santos
> 
>     REPEAT BY:
> [What you did to get the error; include test program or session
> transcript if at all possible.  ]
> 
> 
>     SAMPLE FIX/WORKAROUND:
> [If available ]
> 
> _______________________________________________
> ciao-users mailing list
> ciao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ciao-users



More information about the Ace-users mailing list