Robotics Library  0.7.0
Public Member Functions | Private Attributes | List of all members
rl::xml::Schema Class Reference

#include <Schema.h>

Public Member Functions

 Schema (const ::std::string &url)
 
 ~Schema ()
 
::xmlSchemaPtr get () const
 
::xmlSchema & operator* () const
 
bool validate (const Document &doc)
 

Private Attributes

::std::shared_ptr< ::xmlSchemaParserCtxt > parser
 
::std::shared_ptr< ::xmlSchema > schema
 
::std::shared_ptr< ::xmlSchemaValidCtxt > valid
 

Constructor & Destructor Documentation

◆ Schema()

rl::xml::Schema::Schema ( const ::std::string &  url)
inlineexplicit

◆ ~Schema()

rl::xml::Schema::~Schema ( )
inline

Member Function Documentation

◆ get()

::xmlSchemaPtr rl::xml::Schema::get ( ) const
inline

◆ operator*()

::xmlSchema& rl::xml::Schema::operator* ( ) const
inline

◆ validate()

bool rl::xml::Schema::validate ( const Document doc)
inline

Member Data Documentation

◆ parser

::std::shared_ptr< ::xmlSchemaParserCtxt> rl::xml::Schema::parser
private

◆ schema

::std::shared_ptr< ::xmlSchema> rl::xml::Schema::schema
private

◆ valid

::std::shared_ptr< ::xmlSchemaValidCtxt> rl::xml::Schema::valid
private

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