lugre_robstring.cpp File Reference

#include <stdarg.h>
#include <string.h>
#include <assert.h>
#include "lugre_profile.h"
#include "lugre_robstring.h"

Include dependency graph for lugre_robstring.cpp:

Go to the source code of this file.

Namespaces

namespace  Lugre

Functions

void Lugre::explodestr (const char *separator, const char *str, std::vector< std::string > &res)
 also known as split, explode("#","abc#def#ghi",res) pushes "abc","def","ghi" onto res
bool Lugre::charmatchrange (const char c, const char *r)
int Lugre::cinrange (const char *str, const char *range)
int Lugre::coutrange (const char *str, const char *range)
unsigned int Lugre::stringhash (const char *str)
std::string Lugre::addslashes (const char *str)
std::string Lugre::pathgetdir (const std::string &path)
std::string Lugre::pathgetfile (const std::string &path)
std::string Lugre::pathgetext (const std::string &path)
char Lugre::pathgetdirslash (const std::string &path)
char Lugre::pathgetwindrive (const std::string &path)
bool Lugre::pathisabsolute (const std::string &path)
std::string Lugre::pathadd (const std::string &base, std::string &add)
bool Lugre::pathissubpath (const std::string &base, std::string &path)

Variables

char Lugre::gRobStringBuffer [kRobStringBufferSize] = ""
const char * Lugre::directory_dividers = "\\/:"


Generated on Wed May 23 06:00:17 2012 for cpp by  doxygen 1.5.6