StringReader Class Reference
[Various accompanying utilities]

Inheritance diagram for StringReader:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($string)
 close ()
 
Returns:
StringReader

 read ($count)
 mark ()
 
Returns:
StringReader

 markSupported ()
 reset ()
 
Returns:
StringReader

 skip ($count)
 isEof ()
 getWhole ()

Static Public Member Functions

static create ($string)
 
Returns:
StringReader


Protected Attributes

 $string = null
 $length = null
 $next = 0
 $mark = 0

Private Member Functions

 ensureOpen ()


Detailed Description

Definition at line 16 of file StringReader.class.php.


Constructor & Destructor Documentation

StringReader::__construct ( string  ) 

Definition at line 32 of file StringReader.class.php.

References $string.


Member Function Documentation

static StringReader::create ( string  )  [static]

Returns:
StringReader

Definition at line 27 of file StringReader.class.php.

References $string.

StringReader::close (  ) 

Returns:
StringReader

Reimplemented from Reader.

Definition at line 41 of file StringReader.class.php.

StringReader::read ( count  ) 

Reimplemented from Reader.

Definition at line 48 of file StringReader.class.php.

References ensureOpen().

Referenced by getWhole().

Here is the call graph for this function:

StringReader::mark (  ) 

Returns:
StringReader

Reimplemented from Reader.

Definition at line 65 of file StringReader.class.php.

References ensureOpen().

Referenced by reset().

Here is the call graph for this function:

StringReader::markSupported (  ) 

Reimplemented from Reader.

Definition at line 74 of file StringReader.class.php.

StringReader::reset (  ) 

Returns:
StringReader

Reimplemented from Reader.

Definition at line 82 of file StringReader.class.php.

References ensureOpen(), and mark().

Here is the call graph for this function:

StringReader::skip ( count  ) 

Reimplemented from Reader.

Definition at line 91 of file StringReader.class.php.

References ensureOpen(), and isEof().

Here is the call graph for this function:

StringReader::isEof (  ) 

Reimplemented from Reader.

Definition at line 109 of file StringReader.class.php.

Referenced by skip().

StringReader::getWhole (  ) 

Reimplemented from Reader.

Definition at line 114 of file StringReader.class.php.

References read().

Here is the call graph for this function:

StringReader::ensureOpen (  )  [private]

Definition at line 119 of file StringReader.class.php.

Referenced by mark(), read(), reset(), and skip().


Member Data Documentation

StringReader::$string = null [protected]

Definition at line 18 of file StringReader.class.php.

Referenced by __construct(), and create().

StringReader::$length = null [protected]

Definition at line 19 of file StringReader.class.php.

StringReader::$next = 0 [protected]

Definition at line 21 of file StringReader.class.php.

StringReader::$mark = 0 [protected]

Definition at line 22 of file StringReader.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:58:34 2007 for onPHP by  doxygen 1.5.4