WeStringLinks Class Reference

Operations with linked list of strings. More...

#include <weStrings.h>

Inheritance diagram for WeStringLinks:

WeLinkedList< _Key, _Val >

List of all members.

Public Member Functions

 WeStringLinks (string sep="=", string delim="\n\r")
 WeStringLinks (WeStringLinks &lst)
void Parse (string data, string sep="", string delim="")
string & Compose (string sep="", string delim="")
const string & Separator (void) const
void Separator (const string &sep)
const string & Delimiter (void) const
void Delimiter (const string &delim)


Detailed Description

Operations with linked list of strings.

Separator and delimiter are regular expressions to process input string. Delimiter is used to break string onto the parts of key-value, and separator is used to detach key from value.

Author:
A. Abramov
Date:
27.05.2009

Definition at line 47 of file weStrings.h.


Constructor & Destructor Documentation

WeStringLinks::WeStringLinks ( string  sep = "=",
string  delim = "\n\r" 
)

Definition at line 26 of file weStrings.cpp.

WeStringLinks::WeStringLinks ( WeStringLinks lst  ) 

Definition at line 33 of file weStrings.cpp.


Member Function Documentation

string & WeStringLinks::Compose ( string  sep = "",
string  delim = "" 
)

Definition at line 99 of file weStrings.cpp.

void WeStringLinks::Delimiter ( const string &  delim  )  [inline]

Definition at line 62 of file weStrings.h.

const string& WeStringLinks::Delimiter ( void   )  const [inline]

Definition at line 61 of file weStrings.h.

void WeStringLinks::Parse ( string  data,
string  sep = "",
string  delim = "" 
)

Definition at line 52 of file weStrings.cpp.

void WeStringLinks::Separator ( const string &  sep  )  [inline]

Definition at line 58 of file weStrings.h.

const string& WeStringLinks::Separator ( void   )  const [inline]

Definition at line 57 of file weStrings.h.


The documentation for this class was generated from the following files:


 
©2009 Positive Technologies
 
Generated on Tue Jul 14 18:27:32 2009 for WebEngine by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads