Public Member Functions | Private Attributes

TinyXPath::byte_stream Class Reference

#include <byte_stream.h>

Inheritance diagram for TinyXPath::byte_stream:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Private Attributes


Detailed Description

A Byte stream class, very crude. The only purpose of this class is to walk in a byte stream, available at construction time.


Constructor & Destructor Documentation

TinyXPath::byte_stream::byte_stream ( const char *  cp_in  )  [inline]

constructor

References bp_current, bp_end, bp_in, o_valid, and u_length.

TinyXPath::byte_stream::~byte_stream (  )  [inline]

destructor

References bp_in.


Member Function Documentation

_byte_ TinyXPath::byte_stream::b_top (  )  [inline]

Returns the byte on top.

References bp_current.

Referenced by TinyXPath::xpath_stream::v_lexico_decode().

Here is the caller graph for this function:

_byte_ TinyXPath::byte_stream::b_pop (  )  [inline]

Consumes one byte.

References bp_current, bp_end, o_is_valid(), and o_valid.

Referenced by TinyXPath::xpath_stream::v_lexico_decode().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TinyXPath::byte_stream::o_is_valid (  )  [inline]

true if there are still some byte to consume

References o_valid.

Referenced by b_pop().

Here is the caller graph for this function:

unsigned TinyXPath::byte_stream::u_remain (  )  [inline]

number of bytes still to consume

References bp_current, and bp_end.

Referenced by b_forward().

Here is the caller graph for this function:

_byte_ TinyXPath::byte_stream::b_forward ( unsigned  u_nb_char  )  [inline]

peek a byte a little further down the stream

References bp_current, and u_remain().

Referenced by TinyXPath::xpath_stream::v_lexico_decode().

Here is the call graph for this function:

Here is the caller graph for this function:

const _byte_* TinyXPath::byte_stream::bp_get_backward ( unsigned  u_amount  )  [inline]

get a byte backward pointer to the stream

References bp_current.

Referenced by TinyXPath::xpath_stream::v_lexico_decode().

Here is the caller graph for this function:


Member Data Documentation

Length of the total string, + 1.

Referenced by byte_stream().

Total string.

Referenced by byte_stream(), and ~byte_stream().

Current read position.

Referenced by b_forward(), b_pop(), b_top(), bp_get_backward(), byte_stream(), and u_remain().

First invalid position.

Referenced by b_pop(), byte_stream(), and u_remain().

true when there are still some byte to read

Referenced by b_pop(), byte_stream(), and o_is_valid().


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