PLearn 0.1
Namespaces | Defines | Functions
PPath.cc File Reference
#include <ctype.h>
#include <nspr/prenv.h>
#include "PPath.h"
#include "PStream.h"
#include "openFile.h"
#include "pl_log.h"
#include "fileutils.h"
#include <plearn/base/stringutils.h>
#include <unistd.h>
Include dependency graph for PPath.cc:

Go to the source code of this file.

Namespaces

namespace  PLearn
 

< for swap


Defines

#define SYS_GETCWD   ::getcwd
 < For the split() method.
#define PPATH_SLASH   '/'
#define PL_DEFAULT_HOME   PPath("/")

Functions

bool PLearn::startsWith (const string &str, const char &c)
bool PLearn::endsWith (const string &str, const char &c)
bool PLearn::startsWith (const string &str, const string &s)
bool PLearn::endsWith (const string &str, const string &s)
PStream & PLearn::operator<< (PStream &out, const PPath &path)
 Serialization and output of a PPath.
PStream & PLearn::operator>> (PStream &in, PPath &path)
map< string, PPath > & PLearn::metaprotocol_to_metapath ()

Detailed Description

Definition in file PPath.cc.


Define Documentation

#define PL_DEFAULT_HOME   PPath("/")

Referenced by PLearn::PPath::home().

#define PPATH_SLASH   '/'

Definition at line 71 of file PPath.cc.

Referenced by PLearn::PPath::canonical(), and PLearn::PPath::resolveSlashChars().

#define SYS_GETCWD   ::getcwd

< For the split() method.

Definition at line 67 of file PPath.cc.

Referenced by PLearn::PPath::getcwd().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines