All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
StdMeshMaterialError Class Reference

#include <StdMeshMaterial.h>

Inheritance diagram for StdMeshMaterialError:
Collaboration diagram for StdMeshMaterialError:

Public Member Functions

 StdMeshMaterialError (const StdStrBuf &message, const char *file, unsigned int line)
 ~StdMeshMaterialError () override=default throw ()
const char * what () const override throw ()

Protected Attributes

StdCopyStrBuf Buf

Detailed Description

Definition at line 30 of file StdMeshMaterial.h.

Constructor & Destructor Documentation

StdMeshMaterialError::StdMeshMaterialError ( const StdStrBuf message,
const char *  file,
unsigned int  line 

Definition at line 185 of file StdMeshMaterial.cpp.

References Buf, StdStrBuf::Format(), and StdStrBuf::getData().

186 {
187  Buf.Format("%s:%u: %s", file, line, message.getData());
188 }
const char * getData() const
Definition: StdBuf.h:442
void Format(const char *szFmt,...) GNUC_FORMAT_ATTRIBUTE_O
Definition: StdBuf.cpp:174

Here is the call graph for this function:

StdMeshMaterialError::~StdMeshMaterialError ( )
throw (

Member Function Documentation

const char* StdMeshMaterialError::what ( ) const
throw (

Definition at line 36 of file StdMeshMaterial.h.

References Buf, and StdStrBuf::getData().

36 { return Buf.getData(); }
const char * getData() const
Definition: StdBuf.h:442

Here is the call graph for this function:

Member Data Documentation

StdCopyStrBuf StdMeshMaterialError::Buf

Definition at line 39 of file StdMeshMaterial.h.

Referenced by StdMeshMaterialError(), and what().

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