LogCabin
Classes | Namespaces | Enumerations | Functions
Examples/TreeOps.cc File Reference
#include <cassert>
#include <getopt.h>
#include <iostream>
#include <iterator>
#include <sstream>
#include <LogCabin/Client.h>
#include <LogCabin/Debug.h>
#include <LogCabin/Util.h>

Go to the source code of this file.

Classes

class  anonymous_namespace{TreeOps.cc}::OptionParser
 Parses argv for the main function. More...

Namespaces

namespace  anonymous_namespace{TreeOps.cc}

Enumerations

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

Functions

void anonymous_namespace{TreeOps.cc}::dumpTree (const Tree &tree, std::string path)
 Depth-first search tree traversal, dumping out contents of all files.
std::string anonymous_namespace{TreeOps.cc}::readStdin ()
int main (int argc, char **argv)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 316 of file TreeOps.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines