|
reader< reading_policy_type > Class Template Reference
[XML helpers]
#include <reader.hpp>
List of all members.
Detailed Description
template<typename reading_policy_type = reader_policy::by_default<>>
class reader< reading_policy_type >
You must set all tags and launch the reader on an istream.
- Todo:
- make copie contructor and assignment operator.
Definition at line 166 of file reader.hpp.
|
Public Types |
typedef helper::abstract_copy_holder | abs_reader_type |
typedef ::std::pair< xstring,
xstring > | qname_type |
typedef ::std::map< qname_type,
abs_reader_type * > | map_type |
Public Member Functions |
| reader () |
template<typename String1, typename String2, typename T> | reader (const String1 &uri, const String2 tag, const T &x) |
template<typename String1, typename T> | reader (const String1 &tag, const T &x) |
| ~reader () |
| delete all pointer
|
template<typename String1, typename String2, typename T> reader & | operator() (const String1 &uri, const String2 tag, const T &x) |
template<typename String1, typename T> reader & | operator() (const String1 &tag, const T &x) |
xistream & | read (xistream &xis) |
Protected Types |
typedef map_type::iterator | iterator |
typedef map_type::const_iterator | const_iterator |
Protected Member Functions |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
Member Typedef Documentation
template<typename reading_policy_type = reader_policy::by_default<>> |
typedef map_type::const_iterator reader< reading_policy_type >::const_iterator [protected]
|
|
template<typename reading_policy_type = reader_policy::by_default<>> |
typedef map_type::iterator reader< reading_policy_type >::iterator [protected]
|
|
Constructor & Destructor Documentation
template<typename reading_policy_type = reader_policy::by_default<>> |
reader< reading_policy_type >::reader |
( |
|
) |
[inline] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
template<typename String1, typename String2, typename T> |
reader< reading_policy_type >::reader |
( |
const String1 & |
uri, |
|
|
const String2 |
tag, |
|
|
const T & |
x |
|
) |
[inline] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
template<typename String1, typename T> |
reader< reading_policy_type >::reader |
( |
const String1 & |
tag, |
|
|
const T & |
x |
|
) |
[inline] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
reader< reading_policy_type >::~reader |
( |
|
) |
[inline] |
|
Member Function Documentation
template<typename reading_policy_type = reader_policy::by_default<>> |
const_iterator reader< reading_policy_type >::begin |
( |
|
) |
const [inline, protected] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
iterator reader< reading_policy_type >::begin |
( |
|
) |
[inline, protected] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
const_iterator reader< reading_policy_type >::end |
( |
|
) |
const [inline, protected] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
iterator reader< reading_policy_type >::end |
( |
|
) |
[inline, protected] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
template<typename String1, typename T> |
reader& reader< reading_policy_type >::operator() |
( |
const String1 & |
tag, |
|
|
const T & |
x |
|
) |
[inline] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
template<typename String1, typename String2, typename T> |
reader& reader< reading_policy_type >::operator() |
( |
const String1 & |
uri, |
|
|
const String2 |
tag, |
|
|
const T & |
x |
|
) |
[inline] |
|
template<typename reading_policy_type = reader_policy::by_default<>> |
xistream& reader< reading_policy_type >::read |
( |
xistream & |
xis |
) |
[inline] |
|
The documentation for this class was generated from the following file:
|
|