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

Classes

class  AttributeDesc
 
class  ElementDesc
 

Public Types

using value_type = typename Formatter::value_type
 
using Section = typename Formatter::InteriorSection
 

Public Member Functions

DocAttributeHelper< Formatter > Attribute (const value_type name[]) const
 
DocElementHelper< Formatter > Element (const value_type name[]) const
 
DocElementHelper< Formatter > FirstChild () const
 
DocAttributeHelper< Formatter > FirstAttribute () 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
 
 Document (Formatter &formatter)
 
 Document (Document &&moveFrom)
 
Documentoperator= (Document &&moveFrom)
 

Protected Member Functions

unsigned ParseElement (Formatter &formatter)
 
unsigned FindAttribute (StringSection< value_type > name) const
 

Protected Attributes

std::vector< ElementDesc_elements
 
std::vector< AttributeDesc_attributes
 
unsigned _firstRootAttribute
 

Friends

class DocElementHelper< Formatter >
 
class DocAttributeHelper< Formatter >
 

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