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)
 
virtual ~StdMeshMaterialError () throw ()
 
virtual const char * what () const throw ()
 

Protected Attributes

StdCopyStrBuf Buf
 

Detailed Description

Definition at line 33 of file StdMeshMaterial.h.

Constructor & Destructor Documentation

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

Definition at line 195 of file StdMeshMaterial.cpp.

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

196 {
197  Buf.Format("%s:%u: %s", file, line, message.getData());
198 }
const char * getData() const
Definition: StdBuf.h:450
void Format(const char *szFmt,...) GNUC_FORMAT_ATTRIBUTE_O
Definition: StdBuf.cpp:181

Here is the call graph for this function:

virtual StdMeshMaterialError::~StdMeshMaterialError ( )
throw (
)
inlinevirtual

Definition at line 37 of file StdMeshMaterial.h.

37 {}

Member Function Documentation

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

Definition at line 39 of file StdMeshMaterial.h.

References Buf, and StdStrBuf::getData().

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

Here is the call graph for this function:

Member Data Documentation

StdCopyStrBuf StdMeshMaterialError::Buf
protected

Definition at line 42 of file StdMeshMaterial.h.

Referenced by StdMeshMaterialError(), and what().


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