Stringify.hpp File Reference

converts writable objects to std::string More...

#include <string>
#include <sstream>

Include dependency graph for Stringify.hpp:

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

Go to the source code of this file.

Functions

template<typename T>
std::string stringify (const T &t)
template<>
std::string stringify< std::string > (const std::string &t)


Detailed Description

converts writable objects to std::string

Author:
Pascal Have
Date:
Sun Nov 28 18:59:11 2004

Definition in file Stringify.hpp.


Function Documentation

template<typename T>
std::string stringify ( const T &  t  )  [inline]

stringify function

Parameters:
t an object that supports operator<<
Returns:
a string

Definition at line 43 of file Stringify.hpp.

Referenced by BoundaryConditionCommonFEMDiscretization< MeshType, TypeOfDiscretization >::__checkBoundaryMeshAssociation(), VariationalLinearOperatorExpression::__checkNoBoundaryExpression(), VariationalBilinearOperatorExpression::__checkNoBoundaryExpression(), VariationalFormulaExpression::__getBandLForms3D(), MeshExpressionSurface::__getSurfaceMesh(), WriterVTK::__proceed(), WriterMedit::__proceedData(), GmshFormatReader::__proceedData(), WriterMedit::__proceedMesh(), GmshFormatReader::__readElements1(), GmshFormatReader::__readElements2(), MeshFormatReader::__readHexahedra(), MeshFormatReader::__readQuadrilaterals(), MeshFormatReader::__readTetrahedra(), MeshReaderAM_FMTFormat::__readTriangles(), MeshFormatReader::__readTriangles(), MeshTransformer::__transformSurface(), MeshTransformer::__transformVolume(), UnknownListExpressionSet::add(), BorderLinker< Mesh::volume >::BorderLinker(), MultiLinearExpression::check(), InsideListExpression::checkReferencesUniqueness(), Convection< Structured3DMesh >::Convection(), StringExpressionReal::execute(), SolverExpression::execute(), SceneExpressionPOVRay::execute(), RealExpressionIntegrate::execute(), RealExpressionFunctionEvaluate::execute(), PDEOperatorExpression::execute(), PDEEquationExpression::execute(), MeshExpressionPeriodic::execute(), MeshExpressionTransform::execute(), MeshExpressionSurface::execute(), MeshExpressionSpectral::execute(), MeshExpressionStructured::execute(), IFStreamExpressionValue::execute(), FunctionExpressionMeshReferences::execute(), FunctionExpressionConvection::execute(), BoundaryExpressionReferences::execute(), XMLTag::findAttribute(), VariableRepository::findVariable(), ParametrizableObject::get(), ParameterCenter::get(), DegreeOfFreedomSetManager::Internal::getDOFPositionsSet(), ScalarFunctionReaderVTK::getFunction(), ScalarFunctionReaderMedit::getFunction(), MemoryRepository::getMatrix(), ScalarFunctionReaderBuilder::getReader(), Scene::getReferenceNumber(), GmshFormatReader::GmshFormatReader(), MultiLinearExpression::linearFormType(), InsideListExpressionLeaf::objects(), SparseMatrix::operator()(), BoundaryMeshAssociation::operator[](), WriterRaw::proceed(), Cell::replace(), ScalarFunctionObjectCharacteristic::ScalarFunctionObjectCharacteristic(), StringParameter::set(), IntegerParameter::set(), EnumParameter< EnumType >::set(), DoubleParameter::set(), Console::writeError(), Console::writeStd(), and POVLexer::yylex().

00044 {
00045   std::ostringstream oss;
00046   oss << t;
00047   return oss.str();
00048 }

template<>
std::string stringify< std::string > ( const std::string &  t  )  [inline]


Generated on Wed Nov 19 00:03:19 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6