Public Member Functions

HdrCsvIter Class Reference

#include <HdrUtils.h>

Collaboration diagram for HdrCsvIter:
Collaboration graph
[legend]

Public Member Functions

 HdrCsvIter (const char s= ',')
const char * get_first (MIMEField *m, int *len, bool follow_dups=true)
const char * get_next (int *len)
const char * get_current (int *len)
const char * get_nth (MIMEField *m, int *len, int n, bool follow_dups=true)
int count_values (MIMEField *field, bool follow_dups=true)
int get_index ()
int get_first_int (MIMEField *m, int *valid=NULL)
int get_next_int (int *valid=NULL)

Detailed Description

Definition at line 41 of file HdrUtils.h.


Constructor & Destructor Documentation

HdrCsvIter::HdrCsvIter ( const char  s = ','  )  [inline]

Definition at line 46 of file HdrUtils.h.


Member Function Documentation

int HdrCsvIter::count_values ( MIMEField field,
bool  follow_dups = true 
)

Definition at line 138 of file HdrUtils.cc.

References get_first(), and get_next().

Referenced by HttpCompat::do_header_values_rfc2068_14_43_match().

const char * HdrCsvIter::get_current ( int *  len  )  [inline]

Definition at line 141 of file HdrUtils.h.

Referenced by HttpTransact::delete_warning_value().

const char * HdrCsvIter::get_first ( MIMEField m,
int *  len,
bool  follow_dups = true 
) [inline]
int HdrCsvIter::get_first_int ( MIMEField m,
int *  valid = NULL 
) [inline]

Definition at line 148 of file HdrUtils.h.

References get_first(), and ink_atoi().

Referenced by HttpTransact::delete_warning_value().

int HdrCsvIter::get_index (  ) 
const char * HdrCsvIter::get_next ( int *  len  )  [inline]
int HdrCsvIter::get_next_int ( int *  valid = NULL  )  [inline]

Definition at line 165 of file HdrUtils.h.

References get_next(), and ink_atoi().

Referenced by HttpTransact::delete_warning_value().

const char * HdrCsvIter::get_nth ( MIMEField m,
int *  len,
int  n,
bool  follow_dups = true 
)

Definition at line 119 of file HdrUtils.cc.

References get_first(), get_next(), and ink_assert.


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