VTK
Public Attributes | List of all members
_StringTokenizer Struct Reference

A struct for going through a string one token at a time. More...

#include <vtkParseString.h>

Public Attributes

int tok
 
unsigned int hash
 
const char * text
 
size_t len
 
parse_space_t ws
 

Detailed Description

A struct for going through a string one token at a time.

If ws is set to WS_PREPROC, then tokenization stops when a newline or null is encountered. If ws is set to WS_DEFAULT, then tokenization only stops when a null is encountered. If ws is set to WS_COMMENT, then tokenization stops only when a null is encountered, and comments are returned as tokens instead of being skipped as whitespace.

Definition at line 143 of file vtkParseString.h.

Member Data Documentation

int _StringTokenizer::tok

Definition at line 145 of file vtkParseString.h.

unsigned int _StringTokenizer::hash

Definition at line 146 of file vtkParseString.h.

const char* _StringTokenizer::text

Definition at line 147 of file vtkParseString.h.

size_t _StringTokenizer::len

Definition at line 148 of file vtkParseString.h.

parse_space_t _StringTokenizer::ws

Definition at line 149 of file vtkParseString.h.


The documentation for this struct was generated from the following file: