Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

odicop.cc File Reference

#include <iostream>
#include <sstream>
#include <cstdlib>
#include <dirent.h>
#include <unistd.h>
#include <sys/stat.h>

Include dependency graph for odicop.cc:

Include dependency graph

Go to the source code of this file.

Functions

bool isdir (const string &path)
 returns true if the given path is an existing directory (or a symbolic link pointing to a directory)

bool islink (const string &path)
void makedir (const string &dir)
int goAndCreateDir (string sourcedir, string destdir, string spc)
void copyAndLinkObjs (string &sourceOBJdir, string &original_sourcedir, string &destOBJdir)
int main (int argc, char *argv[])


Function Documentation

void copyAndLinkObjs (  string &  sourceOBJdir,
string &  original_sourcedir,
string &  destOBJdir
) 
 

Definition at line 170 of file odicop.cc.

Referenced by goAndCreateDir().

int goAndCreateDir (  string  sourcedir,
string  destdir,
string  spc
) 
 

Definition at line 79 of file odicop.cc.

References copyAndLinkObjs(), isdir(), islink(), and makedir().

Referenced by main().

bool isdir (  const string &  path  ) 
 

returns true if the given path is an existing directory (or a symbolic link pointing to a directory)

Definition at line 200 of file odicop.cc.

Referenced by PLearn::abspath(), PLearn::DiskVMatrix::build_(), PLearn::VVMatrix::createPreproVMat(), PLearn::force_mkdir(), PLearn::force_rmdir(), goAndCreateDir(), makedir(), PLearn::VMatrix::resolveFieldInfoLink(), PLearn::train_and_test(), and PLearn::PrecomputedVMatrix::usePrecomputed().

bool islink (  const string &  path  ) 
 

Definition at line 216 of file odicop.cc.

Referenced by goAndCreateDir().

int main (  int  argc,
char *  argv[]
) 
 

Definition at line 54 of file odicop.cc.

References goAndCreateDir().

void makedir (  const string &  dir  ) 
 

Definition at line 189 of file odicop.cc.

References isdir().

Referenced by goAndCreateDir().


Generated on Tue Aug 17 16:17:28 2004 for PLearn by doxygen 1.3.7