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

#include <StdMeshMaterial.h>

Inheritance diagram for StdMeshMaterialError:
[legend]
Collaboration diagram for StdMeshMaterialError:
[legend]

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 (
)
overridedefault

Member Function Documentation

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

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
protected

Definition at line 39 of file StdMeshMaterial.h.

Referenced by StdMeshMaterialError(), and what().


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