OpenM++ runtime library (libopenm)
openm::MessageEllipter Struct Reference

helper to return ellipted string if source string exceed max size. More...

Public Member Functions

const char * ellipt (const char *i_src)
 if source string exceed max size than return ellipted copy. More...
 
const char * ellipt (const string &i_src)
 if source string exceed max size than return ellipted copy. More...
 

Detailed Description

helper to return ellipted string if source string exceed max size.

it may return pointer to shared buffer and can be used only once per error message.

Member Function Documentation

◆ ellipt() [1/2]

const char* openm::MessageEllipter::ellipt ( const char *  i_src)
inline

if source string exceed max size than return ellipted copy.

it may return pointer to shared buffer and can be used only once per error message.

◆ ellipt() [2/2]

const char* openm::MessageEllipter::ellipt ( const string &  i_src)
inline

if source string exceed max size than return ellipted copy.

it may return pointer to shared buffer and can be used only once per error message.


The documentation for this struct was generated from the following file: