PLearn 0.1
Namespaces | Functions | Variables
general.cc File Reference
#include "general.h"
#include <sys/stat.h>
#include <nspr/prsystem.h>
#include <nspr/prenv.h>
Include dependency graph for general.cc:

Go to the source code of this file.

Namespaces

namespace  PLearn
 

< for swap


Functions

char * PLearn::strcopy (char *s)
 make a copy of a C string and return it
void PLearn::pretty_print_number (char *buffer, real number)
 print a number without unnecessary trailing zero's, into buffer
bool PLearn::isMapKeysAreInt (map< real, int > &m)
 check that all keys of the map are int values
string PLearn::hostname ()
string PLearn::prgname (const string &setname)

Variables

static PLearnInit PLearn::_plearn_init_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines