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> readeroperator() (const String1 &uri, const String2 tag, const T &x)
template<typename String1, typename T> readeroperator() (const String1 &tag, const T &x)
xistreamread (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 helper::abstract_copy_holder reader< reading_policy_type >::abs_reader_type
 

Definition at line 169 of file reader.hpp.

template<typename reading_policy_type = reader_policy::by_default<>>
typedef map_type::const_iterator reader< reading_policy_type >::const_iterator [protected]
 

Definition at line 175 of file reader.hpp.

template<typename reading_policy_type = reader_policy::by_default<>>
typedef map_type::iterator reader< reading_policy_type >::iterator [protected]
 

Definition at line 174 of file reader.hpp.

template<typename reading_policy_type = reader_policy::by_default<>>
typedef ::std::map<qname_type, abs_reader_type * > reader< reading_policy_type >::map_type
 

Definition at line 171 of file reader.hpp.

template<typename reading_policy_type = reader_policy::by_default<>>
typedef ::std::pair<xstring,xstring> reader< reading_policy_type >::qname_type
 

Definition at line 170 of file reader.hpp.


Constructor & Destructor Documentation

template<typename reading_policy_type = reader_policy::by_default<>>
reader< reading_policy_type >::reader  )  [inline]
 

Definition at line 179 of file reader.hpp.

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]
 

Definition at line 183 of file reader.hpp.

References reader< reading_policy_type >::operator()().

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]
 

Definition at line 189 of file reader.hpp.

References reader< reading_policy_type >::operator()().

template<typename reading_policy_type = reader_policy::by_default<>>
reader< reading_policy_type >::~reader  )  [inline]
 

delete all pointer

Definition at line 195 of file reader.hpp.

References reader< reading_policy_type >::begin(), and reader< reading_policy_type >::end().


Member Function Documentation

template<typename reading_policy_type = reader_policy::by_default<>>
const_iterator reader< reading_policy_type >::begin  )  const [inline, protected]
 

Definition at line 222 of file reader.hpp.

template<typename reading_policy_type = reader_policy::by_default<>>
iterator reader< reading_policy_type >::begin  )  [inline, protected]
 

Definition at line 220 of file reader.hpp.

Referenced by reader< reading_policy_type >::~reader().

template<typename reading_policy_type = reader_policy::by_default<>>
const_iterator reader< reading_policy_type >::end  )  const [inline, protected]
 

Definition at line 223 of file reader.hpp.

template<typename reading_policy_type = reader_policy::by_default<>>
iterator reader< reading_policy_type >::end  )  [inline, protected]
 

Definition at line 221 of file reader.hpp.

Referenced by reader< reading_policy_type >::~reader().

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]
 

Definition at line 209 of file reader.hpp.

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]
 

Definition at line 203 of file reader.hpp.

Referenced by reader< reading_policy_type >::reader().

template<typename reading_policy_type = reader_policy::by_default<>>
xistream& reader< reading_policy_type >::read xistream xis  )  [inline]
 

Definition at line 214 of file reader.hpp.

Referenced by operator>>().


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


Donate to the XiMoL project SourceForge.net Logo If you have any questions about XiMoL, you could write to tournois@users.sourceforge.net.