Results 1 to 3 of 3

Thread: How to transfer Freeze Map to MultiMap

  1. #1
    kent is offline Registered User
    Name: quhao
    Organization: OPI
    Project: Testing
    Join Date
    Jul 2005
    Posts
    24

    Question How to transfer Freeze Map to MultiMap

    Hello,
    I am using Ice-2.1.1 for C++, I found that Freeze Map resembles STL map not STL multimap, but sometimes we use Berkeley DB with duplicated key, and in this condition, Freeze Map resembles STL multimap maybe a better way. How do you think? Have you already implemented it? And if I want to rewrite the Freeze codes, what do I need to do?

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    You can easily emulate a multimap by using a sequence of whatever type you want to store as value type.

  3. #3
    kent is offline Registered User
    Name: quhao
    Organization: OPI
    Project: Testing
    Join Date
    Jul 2005
    Posts
    24
    Great! Thank you very much!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. the freeze Evictor map
    By wdp221651 in forum Help Center
    Replies: 1
    Last Post: 08-28-2008, 07:41 AM
  2. Freeze::ConnectionPtr from Freeze::Map Obj
    By paolo in forum Comments
    Replies: 1
    Last Post: 01-05-2008, 05:02 PM
  3. Freeze::Map and versioning
    By borax00 in forum Help Center
    Replies: 2
    Last Post: 05-10-2007, 06:34 PM
  4. getting normal map from freeze map
    By ctennis in forum Help Center
    Replies: 2
    Last Post: 03-09-2007, 07:48 AM
  5. Freeze Map doubt
    By pradeep in forum Help Center
    Replies: 1
    Last Post: 11-30-2006, 09:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •