Search the web
Sign In
New User? Sign Up
ClearSilver
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Deleting nodes from HDF   Message List  
Reply | Forward Message #1308 of 1347 |
Hi,

I'm using an HDF file to store account info and I wanted to know if there's an easy way to delete nodes and re-order.  For example:

Accounts{
 0{ user=joe
     password=xxx}
 1{user=moe
    password=xxx}
 2{user=tom
    password=xxx}
}

If I delete Accounts.1, I'd like to be able to re-order to this:

Accounts{
 0{ user=joe
     password=xxx}
 1{user=tom
    password=xxx}
}

Or is there a better way to organize this in HDF such that adding/deleting would be easier?  I'm using this in an embedded application so I really don't want to add a database.  I'd rather stick with HDF files if possible.

--
Thanks,
Rick Walsh
rwalsh26@...


Fri Jun 12, 2009 1:02 am

rtwalsh26
Offline Offline
Send Email Send Email

Forward
Message #1308 of 1347 |
Expand Messages Author Sort by Date

Hi, I'm using an HDF file to store account info and I wanted to know if there's an easy way to delete nodes and re-order. For example: Accounts{ 0{ user=joe ...
Rick Walsh
rtwalsh26
Offline Send Email
Jun 12, 2009
2:55 am

... There isn't a quick way to reorder nodes.... I recommend using something unique as the HDF key and then just loading and sorting as needed. (i.e. the...
David Jeske
jeskeca
Offline Send Email
Jun 12, 2009
3:41 am

Thanks -- that's a good suggestion. I'm not concerned about the order, so deleting/adding will be much easier. ... -- Regards, Rick Walsh rwalsh26@......
Rick Walsh
rtwalsh26
Offline Send Email
Jun 12, 2009
12:03 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help