Parser.h File Reference

#include "String.h"
#include "StringList.h"

Include dependency graph for Parser.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Parser

Enumerations

enum  CaseSensitivity { CASE_SENSITIVE, CASE_INSENSITIVE }

Functions

int Parser::getValue (const String &str, const String &key, String &value, const CaseSensitivity caseSensitive=CASE_INSENSITIVE, const unsigned int maxValueSize=0)
int Parser::split (const String &str, StringList &values, const unsigned int maxValuesNum=0, const String &delimiters=PARSER_DELIMITERS, const bool combineDelimiters=true)
int Parser::split (char *str, char **values, unsigned int maxValuesNum, unsigned int &valuesNum, const char *delimiters=PARSER_DELIMITERS)
String Parser::join (const StringList &values, const String &delimiter=" ")
String Parser::join (const char *tokens[], const unsigned int tokensNum, const char *delimiter=" ")
int Parser::parseAddress (const String &str, String &ip, String &port)

Variables

static const char *const ERROR_PARSER_GENERAL = "Error parsing String '%s'."
static const char *const PARSER_DELIMITERS = " \r\n\t="
static const char *const PARSER_ADDRESS_DELIMITERS = ":"
static const char PARSER_QUOT = '\''


Enumeration Type Documentation

enum CaseSensitivity

Enumerator:
CASE_SENSITIVE 
CASE_INSENSITIVE 

Definition at line 18 of file Parser.h.


Variable Documentation

const char* const ERROR_PARSER_GENERAL = "Error parsing String '%s'." [static]

Definition at line 14 of file Parser.h.

Referenced by Parser::parseAddress().

const char* const PARSER_ADDRESS_DELIMITERS = ":" [static]

Definition at line 25 of file Parser.h.

Referenced by Parser::parseAddress().

const char* const PARSER_DELIMITERS = " \r\n\t=" [static]

Definition at line 24 of file Parser.h.

Referenced by Parser::getValue().

const char PARSER_QUOT = '\'' [static]

Definition at line 27 of file Parser.h.

Referenced by Parser::getValue().


Generated on Thu Sep 6 20:12:04 2007 for Pylon Application Platform by  doxygen 1.5.1