Public Types | Public Member Functions

nstream::File Class Reference
[Named Stream Management]

an atom in the namespace: a File is a named object from which you can request read-only streams. More...

#include <nstream.h>

Inheritance diagram for nstream::File:
Inheritance graph
[legend]
Collaboration diagram for nstream::File:
Collaboration graph
[legend]

List of all members.

Public Types

enum  eType {
  eType_Folder = 1,
  eType_File = 2,
  eType_Invalid = 0
}

Public Member Functions

virtual ~File (void) throw ()
virtual smart_ptr< StreamopenStream (void)=0
 creates a new instance of a read-only stream for this File's data
virtual eType getType (void) const =0 throw ()
 what type of entry is this?
virtual const char * getName (void) const =0 throw ()
 this Entry's name in the namespace (that is, relative to the root of the namespace).
virtual smart_ptr< ManagergetManager (void)=0
 the Manager of this namespace

Detailed Description

an atom in the namespace: a File is a named object from which you can request read-only streams.

Definition at line 160 of file nstream.h.


Member Enumeration Documentation

enum nstream::Entry::eType [inherited]
Enumerator:
eType_Folder 

this is a Folder object

eType_File 

this is a File object

eType_Invalid 

Definition at line 132 of file nstream.h.


Constructor & Destructor Documentation

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

Definition at line 48 of file nstream.cpp.


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