#include "common/common.h"
#include <istream>
#include "geometry/geometry_3d.h"
#include "threadsafe/smart_ptr.h"
Go to the source code of this file.
Classes | |
class | nstream::Stream |
an instance of a read-only stream More... | |
class | nstream::Entry |
a generic entry in the namespace. This is either a Folder or File More... | |
class | nstream::File |
an atom in the namespace: a File is a named object from which you can request read-only streams. More... | |
class | nstream::Folder |
a folder in the namespace: contains other stream::Entry objects. More... | |
class | nstream::Manager |
the object that manages a particular space of named streams More... | |
Namespaces | |
namespace | nstream |
Typedefs | |
typedef eIterationFlag(* | nstream::visit_entry_fn )(IN Entry *entry, IN void *context) |
callback for nstream::walkChildFolders() | |
Enumerations | |
enum | nstream::eIterationFlag { nstream::eIterate_Continue = 1, nstream::eIterate_Stop = 2, nstream::eIterate_Invalid = 0 } |
used by nstream::walkChildFolders() callback More... | |
Functions | |
smart_ptr< Manager > | nstream::getFilesystemManager (IN const char *root_dir) |
A reference nstream::Manager implementation: this API provides a namespace object based on the local filesystem. | |
smart_ptr< Stream > | nstream::getStreamRelativeTo (IN Stream *startStream, IN const char *relativePath) |
Helper method: given a Stream object, and a path relative to that stream path, return a stream for that. | |
smart_ptr< Stream > | nstream::openNamedStream (IN Manager *mgr, IN const char *name) |
Helper method: open a Stream for a given path on the specified Manager. | |
std::string | nstream::getStreamName (IN Stream *stream) |
Helper method: given a Stream, return its name. | |
eIterationFlag | nstream::walkChildFolders (IN Folder *root, IN visit_entry_fn callback, IN void *context, IN const SetString *extensions=NULL, IN const char *filter=NULL, IN bool visitHidden=false) |
helper methods: given a Folder, walk all child Folders and Entries recursively. |