COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Macros | Functions
utest-rapidxml.cpp File Reference
#include <string>
#include <iostream>
#include <boost/test/unit_test.hpp>
#include <boost/algorithm/string.hpp>
#include "rapidxml/rapidxml.hpp"

Go to the source code of this file.

Classes

struct  RapidXML_Test_Fixture
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   "Test module for rapidxml"
 

Functions

void print_xml_node (rapidxml::xml_node<> *node)
 prints the xml node to screen More...
 
void deep_copy_names_values (rapidxml::xml_node<> &in, rapidxml::xml_node<> &out)
 
void deep_copy (rapidxml::xml_node<> &in, rapidxml::xml_node<> &out)
 deep copies a node into another with all the memory allocated in the second More...
 
 BOOST_AUTO_TEST_CASE (parsing)
 

Macro Definition Documentation

#define BOOST_TEST_DYN_LINK

Definition at line 7 of file utest-rapidxml.cpp.

#define BOOST_TEST_MODULE   "Test module for rapidxml"

Definition at line 8 of file utest-rapidxml.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( parsing  )

Definition at line 111 of file utest-rapidxml.cpp.

void deep_copy ( rapidxml::xml_node<> &  in,
rapidxml::xml_node<> &  out 
)

deep copies a node into another with all the memory allocated in the second

Definition at line 87 of file utest-rapidxml.cpp.

void deep_copy_names_values ( rapidxml::xml_node<> &  in,
rapidxml::xml_node<> &  out 
)

copy the names and values to the memory pool of the out node

Precondition
assume that the nodes have been cloned before

Definition at line 43 of file utest-rapidxml.cpp.

void print_xml_node ( rapidxml::xml_node<> *  node)

prints the xml node to screen

Definition at line 22 of file utest-rapidxml.cpp.

Send comments to:
COOLFluiD Web Admin