SKIPSET Struct Reference

An object which represents a set of characters which a Stream should ignore when parsing with operator>>. The parsed characters are discarded from the stream. At least one member of the set must appear or an error results. More...

#include <BIscan.h>

List of all members.

Public Member Functions

 SKIPSET (char const *s)
 SKIPSET (char const *f, char const *l)

Public Attributes

char const * first_
char const * last_

Detailed Description

An object which represents a set of characters which a Stream should ignore when parsing with operator>>. The parsed characters are discarded from the stream. At least one member of the set must appear or an error results.

           int x, y;
        
           stream("19 , 20") >> x >> SKIPSET(", ") >> y;
        
           // here, x will be 19 and and y will be 20 because the SKIPSET specifies that
           // space and comma re ignorable characters.  However, there must be a match
           // or the parsing will stop.

Definition at line 1634 of file BIscan.h.


Constructor & Destructor Documentation

SKIPSET ( char const *  f,
char const *  l 
)

Definition at line 1654 of file BIscan.h.

SKIPSET ( char const *  s  )  [explicit]

Definition at line 1660 of file BIscan.h.


Member Data Documentation

char const* first_

Definition at line 1651 of file BIscan.h.

char const* last_

Definition at line 1652 of file BIscan.h.


The documentation for this struct was generated from the following file:
Generated on Wed Feb 29 22:52:18 2012 for CXXUtilities by  doxygen 1.6.3