Back to index

salome-med  6.5.0
Public Member Functions | Private Attributes
ParaMEDMEM::MEDFileString Class Reference

#include <MEDFileBasis.hxx>

List of all members.

Public Member Functions

 MEDFileString (int maxLgth)
 ~MEDFileString ()
void set (const char *s) throw (INTERP_KERNEL::Exception)
char * getPointer ()
const char * getReprForWrite () const
std::string getRepr () const

Private Attributes

int _max_lgth
char * _content

Detailed Description

Definition at line 30 of file MEDFileBasis.hxx.

Constructor & Destructor Documentation

MEDFileString::MEDFileString ( int  maxLgth)

Definition at line 26 of file MEDFileBasis.cxx.

                                       :_max_lgth(maxLgth),_content(new char[maxLgth+1])

Here is the call graph for this function:

Definition at line 31 of file MEDFileBasis.cxx.

  delete [] _content;

Member Function Documentation

Definition at line 36 of file MEDFileBasis.hxx.

{ return _content; }
std::string MEDFileString::getRepr ( ) const

Definition at line 44 of file MEDFileBasis.cxx.

  return std::string(_content);
const char* ParaMEDMEM::MEDFileString::getReprForWrite ( ) const [inline]

Definition at line 37 of file MEDFileBasis.hxx.

{ return _content; }

Here is the caller graph for this function:

void MEDFileString::set ( const char *  s) throw (INTERP_KERNEL::Exception)

Definition at line 36 of file MEDFileBasis.cxx.

    throw INTERP_KERNEL::Exception("Name is too long to be stored in MEDfile !");

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Definition at line 41 of file MEDFileBasis.hxx.

Definition at line 40 of file MEDFileBasis.hxx.

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