LogCabin
Classes | Enumerations | Functions
anonymous_namespace{TreeOps.cc} Namespace Reference

Classes

class  OptionParser
 Parses argv for the main function. More...

Enumerations

enum  Command {
  MKDIR,
  LIST,
  DUMP,
  RMDIR,
  WRITE,
  READ,
  REMOVE
}

Functions

void dumpTree (const Tree &tree, std::string path)
 Depth-first search tree traversal, dumping out contents of all files.
std::string readStdin ()

Enumeration Type Documentation

enum anonymous_namespace{TreeOps.cc}::Command
Enumerator:
MKDIR 
LIST 
DUMP 
RMDIR 
WRITE 
READ 
REMOVE 

Definition at line 33 of file TreeOps.cc.


Function Documentation

void anonymous_namespace{TreeOps.cc}::dumpTree ( const Tree &  tree,
std::string  path 
)

Depth-first search tree traversal, dumping out contents of all files.

Definition at line 288 of file TreeOps.cc.

std::string anonymous_namespace{TreeOps.cc}::readStdin ( )

Definition at line 304 of file TreeOps.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines