Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosstorage] || [Date Prev] [04-2002 Date Index] [Date Next] || [Thread Prev] [04-2002 Thread Index] [Thread Next]

[openbeosstorage] Re: BDirectory <-> BEntry

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeosstorage@xxxxxxxxxxxxx
  • Date: Thu, 11 Apr 2002 12:24:01 +0200 (MET DST)
On Tue, 9 Apr 2002, Tyler Dauwalder wrote:

> > BEntry::SetTo(const BDirectory *dir, const char *path, bool traverse).
> > Since BDirectory::FindEntry() offers the same functionality, I suggest to
> > move the actual implementation into the latter. I would do that, as soon
> > as I start with the class implementation of BDirectory, which might be
> > in a couple days from now.
> 
> Yeah, that would make sense. Go for it.

Argh, well, apparently I was wrong. The functionality differs in that
BDirectory::FindEntry() finds only actually existing entries, whereas
BEntry::SetTo() requires only the entry's parent directory to exist,
whereas the entry itself don't need to be (abstract entry).

So I will touch BEntry::SetTo() only to substitute the access of private
member variables by functions.

CU, Ingo






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.