SALOME - SMESH
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SMESH_Comment Class Reference

Class to generate string from any type. More...

#include <SMESH_Comment.hxx>

Inheritance diagram for SMESH_Comment:
Inheritance graph
Collaboration diagram for SMESH_Comment:
Collaboration graph

Public Member Functions

 SMESH_Comment ()
 SMESH_Comment (const SMESH_Comment &c)
template<class T >
 SMESH_Comment (const T &anything)
template<class T >
SMESH_Commentoperator<< (const T &anything)
 operator char * () const

Private Attributes

std::ostringstream _s

Detailed Description

Class to generate string from any type.

Definition at line 39 of file SMESH_Comment.hxx.

Constructor & Destructor Documentation

SMESH_Comment::SMESH_Comment ( )

Definition at line 45 of file SMESH_Comment.hxx.

SMESH_Comment::SMESH_Comment ( const SMESH_Comment c)

Definition at line 47 of file SMESH_Comment.hxx.

References _s.

template<class T >
SMESH_Comment::SMESH_Comment ( const T &  anything)

Definition at line 53 of file SMESH_Comment.hxx.

References _s.

Member Function Documentation

template<class T >
SMESH_Comment& SMESH_Comment::operator<< ( const T &  anything)

Definition at line 59 of file SMESH_Comment.hxx.

References _s.

SMESH_Comment::operator char * ( ) const

Definition at line 65 of file SMESH_Comment.hxx.

Field Documentation

std::ostringstream SMESH_Comment::_s
private

Definition at line 41 of file SMESH_Comment.hxx.

Referenced by operator<<(), and SMESH_Comment().