Public Member Functions

nstream::Folder Class Reference
[Named Stream Management]

a folder in the namespace: contains other stream::Entry objects. More...

#include <nstream.h>

Inheritance diagram for nstream::Folder:
Inheritance graph
Collaboration diagram for nstream::Folder:
Collaboration graph

List of all members.

Public Member Functions

virtual ~Folder (void) throw ()
virtual smart_ptr< EntrygetChildByName (const char *name)=0
 get a child entry directly by its name relative to the parent (returns NULL if no such child exists)
virtual void resetIteration (void)=0
 reset the Folder iteration to point to the first Entry again.
virtual smart_ptr< EntrygetNextChild (void)=0
 get the next child Entry object. Returns null when done.

Detailed Description

a folder in the namespace: contains other stream::Entry objects.

The iteration model for Folders is very primitive. That is intentional. If you want multiple iterators for a given Folder at the same time, create multiple Folder objects. Remember that you may be creating expensive iterators underneath (open directory handles, database cursors, etc.) so in general keeping multiple iterators open at the same time is discouraged anyway.

Notes to users and implementers:

Definition at line 197 of file nstream.h.

Constructor & Destructor Documentation

nstream::Folder::~Folder ( void   )  throw () [virtual]

Definition at line 49 of file nstream.cpp.

The documentation for this class was generated from the following files: