ximol/xml/box.hpp File Reference


Detailed Description

Define box Interface.

Author:
Tournois Florent
Version:
1.0
Id
box.hpp,v 1.7 2004/02/22 10:27:34 tournois Exp
Log
box.hpp,v
Revision 1.7 2004/02/22 10:27:34 tournois Add some doc.

Revision 1.6 2004/02/22 09:54:21 tournois Change years on the copyright.

Revision 1.5 2004/02/21 20:03:58 tournois Change the stag, etag, open_stag, box and rebox template with macro.

Revision 1.4 2004/02/04 11:42:25 tournois no message

Revision 1.3 2004/01/25 17:32:56 tournois no message

Revision 1.2 2004/01/15 21:26:01 tournois no message

Revision 1.1 2004/01/09 18:26:29 tournois Add box and content manipulator.

Revision 1.5 2003/12/10 20:32:18 tournois Fix somes bugs about attributes and now tests are all check.

Revision 1.4 2003/12/09 19:57:28 tournois Fix some bugs about attributes classes.

Revision 1.3 2003/12/03 12:50:37 hfp include dependencies and type forwarding

Revision 1.2 2003/11/27 15:31:55 hfp partially adapted to vc6.

Revision 1.1 2003/11/19 20:52:54 tournois Add new manipulator for stag and etag. Correct bugs and add tests.

Definition in file box.hpp.

#include <ximol/xml/stag.hpp>
#include <ximol/xml/etag.hpp>
#include <ximol/parser/utils.hpp>
#include <ximol/config/define_functions_prefix_local_attributes.hpp>
#include <ximol/config/define_functions_prefix_local.hpp>
#include <ximol/config/define_functions_local_attributes.hpp>
#include <ximol/config/define_functions_local.hpp>

Include dependency graph for box.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  manipulator_box
 Manipulator for the start tag. More...


Defines

#define XIMOL_HEADER_DEFINE_FUNCTION(type1, type2, type3)
#define XIMOL_HEADER_DEFINE_FUNCTION(type1, type2)
#define XIMOL_HEADER_DEFINE_FUNCTION(type1, type3)
#define XIMOL_HEADER_DEFINE_FUNCTION(type1)
#define XIMOL_HEADER_DEFINE_FUNCTION(type1, type2, type3)
#define XIMOL_HEADER_DEFINE_FUNCTION(type1, type2)
#define XIMOL_HEADER_DEFINE_FUNCTION(type1, type3)
#define XIMOL_HEADER_DEFINE_FUNCTION(type1)

Functions

template<typename String1, typename String2, typename Att, typename T> xostreamoperator<< (xostream &xos, const manipulator_box< String1, String2, Att, T > &m)
template<typename String1, typename String2, typename Att, typename T> xistreamoperator>> (xistream &xis, manipulator_box< String1, String2, Att, T > &m)


Define Documentation

#define XIMOL_HEADER_DEFINE_FUNCTION type1   ) 
 

Value:

template < typename T > \
    manipulator_box < type1, type1, xml::attributes, T > \
    rebox( type1 & local, T& t) { \
    return manipulator_box< type1, type1, xml::attributes, T >(open_stag(local),t);  };

Definition at line 175 of file box.hpp.

#define XIMOL_HEADER_DEFINE_FUNCTION type1,
type3   ) 
 

Value:

template < typename T > \
    manipulator_box < type1, type1, type3, T > \
    rebox( type1 & local, type3 & att, T& t) { \
    return manipulator_box< type1, type1, type3, T >(open_stag(local,att),t);  };

Definition at line 175 of file box.hpp.

#define XIMOL_HEADER_DEFINE_FUNCTION type1,
type2   ) 
 

Value:

template < typename T > \
    manipulator_box < type1, type2, xml::attributes, T > \
    rebox( type1 & prefix, type2 & local, T& t) { \
    return manipulator_box< type1, type2, xml::attributes, T >(open_stag(prefix,local),t);  };

Definition at line 175 of file box.hpp.

#define XIMOL_HEADER_DEFINE_FUNCTION type1,
type2,
type3   ) 
 

Value:

template < typename T > \
    manipulator_box < type1, type2, type3, T > \
    rebox( type1 & prefix, type2 & local, type3 & att, T& t) { \
    return manipulator_box< type1, type2, type3, T >(open_stag(prefix,local,att),t);  };

Definition at line 175 of file box.hpp.

#define XIMOL_HEADER_DEFINE_FUNCTION type1   ) 
 

Value:

template < typename T > \
    manipulator_box < type1, type1, xml::attributes, T > \
    box( type1 & local, T& t) { \
    return manipulator_box< type1, type1, xml::attributes, T >(stag(local),t);  };

Definition at line 175 of file box.hpp.

#define XIMOL_HEADER_DEFINE_FUNCTION type1,
type3   ) 
 

Value:

template < typename T > \
    manipulator_box < type1, type1, type3, T > \
    box( type1 & local, type3 & att, T& t) { \
    return manipulator_box< type1, type1, type3, T >(stag(local,att),t);  };

Definition at line 175 of file box.hpp.

#define XIMOL_HEADER_DEFINE_FUNCTION type1,
type2   ) 
 

Value:

template < typename T > \
    manipulator_box < type1, type2, xml::attributes, T > \
    box( type1 & prefix, type2 & local, T& t) { \
    return manipulator_box< type1, type2, xml::attributes, T >(stag(prefix,local),t);  };

Definition at line 175 of file box.hpp.

#define XIMOL_HEADER_DEFINE_FUNCTION type1,
type2,
type3   ) 
 

Value:

template < typename T > \
    manipulator_box < type1, type2, type3, T > \
    box( type1 & prefix, type2 & local, type3 & att, T& t) { \
    return manipulator_box< type1, type2, type3, T >(stag(prefix,local,att),t);  };

Definition at line 175 of file box.hpp.


Function Documentation

template<typename String1, typename String2, typename Att, typename T>
xostream& operator<< xostream xos,
const manipulator_box< String1, String2, Att, T > &  m
 

Definition at line 102 of file box.hpp.

References etag().

template<typename String1, typename String2, typename Att, typename T>
xistream& operator>> xistream xis,
manipulator_box< String1, String2, Att, T > &  m
 

Definition at line 111 of file box.hpp.

References etag(), manipulator_box< String1, String2, Att, T >::stag_, and manipulator_box< String1, String2, Att, T >::t_.



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