XLE  v0.02.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Utility::InputStreamFormatter< CharType > Class Template Reference

Public Types

enum  Blob {
  BeginElement, EndElement, AttributeName, AttributeValue,
  None
}
 
using InteriorSection = StringSection< CharType >
 
using value_type = CharType
 

Public Member Functions

Blob PeekNext ()
 
bool TryBeginElement (InteriorSection &name)
 
bool TryEndElement ()
 
bool TryAttribute (InteriorSection &name, InteriorSection &value)
 
void SkipElement ()
 
StreamLocation GetLocation () const
 
 InputStreamFormatter (const MemoryMappedInputStream &stream)
 

Protected Member Functions

void ReadHeader ()
 

Protected Attributes

MemoryMappedInputStream _stream
 
Blob _primed
 
signed _activeLineSpaces
 
signed _parentBaseLine
 
signed _baseLineStack [32]
 
unsigned _baseLineStackPtr
 
unsigned _lineIndex
 
const void * _lineStart
 
bool _protectedStringMode
 
unsigned _format
 
unsigned _tabWidth
 
bool _pendingHeader
 

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