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

Public Types

using value_type = typename Formatter::value_type
 

Public Member Functions

DocElementHelper Element (const value_type name[]) const
 
DocElementHelper FirstChild () const
 
DocElementHelper NextSibling () const
 
DocAttributeHelper< Formatter > Attribute (const value_type name[]) const
 
DocAttributeHelper< Formatter > FirstAttribute () const
 
Formatter::InteriorSection Name () const
 
template<typename Type >
Type Attribute (const value_type name[], const Type &def) const
 
template<typename Type >
Type operator() (const value_type name[], const Type &def) const
 
 operator bool () const
 
bool operator! () const
 

Protected Member Functions

 DocElementHelper (unsigned elementIndex, const Document< Formatter > &doc)
 
unsigned FindAttribute (StringSection< value_type > name) const
 

Protected Attributes

const Document< Formatter > * _doc
 
unsigned _index
 

Friends

class Document< Formatter >
 

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