Back to index

nordugrid-arc-nox  1.1.0~rc6
Namespaces | Functions | Variables
StringConv.cpp File Reference
#include <vector>
#include <ctype.h>
#include <algorithm>
#include "Logger.h"
#include <glib.h>

Go to the source code of this file.


namespace  Arc
 ARCJSDLParser The ARCJSDLParser class, derived from the JobDescriptionParser class, is primarily a job description parser for the consolidated job description language (ARCJSDL), derived from JSDL, described in the following document


Logger Arc::stringLogger (Logger::getRootLogger(),"StringConv")
std::string Arc::lower (const std::string &s)
 This method converts to lower case of the string.
std::string Arc::upper (const std::string &s)
 This method converts to upper case of the string.
void Arc::tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ")
 This method tokenizes string.
void Arc::tokenize (const std::string &str, std::list< std::string > &tokens, const std::string &delimiters=" ")
std::string Arc::trim (const std::string &str, const char *sep=NULL)
 This method removes given separators from the beginning and the end of the string.
std::string Arc::strip (const std::string &str)
 This method removes blank lines from the passed text string. Lines with only space on them are considered blank.
static int Arc::unescape_character (const std::string &scanner, int i)
std::string Arc::uri_unescape (const std::string &str)
 This method unescape the URI encoded string.
std::string Arc::convert_to_rdn (const std::string &dn)
 Convert dn to rdn: /O=Grid/OU=Knowarc/CN=abc ---> CN=abc,OU=Knowarc,O=Grid.


static const char Arc::kBlankChars [] = " \t\n\r"