OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
ThisImpl< C4Object > Struct Template Reference

#include <C4AulDefFunc.h>

Static Public Member Functions

static C4ObjectConv (C4PropList *_this, C4AulFunc *func)
 

Detailed Description

template<>
struct ThisImpl< C4Object >

Definition at line 96 of file C4AulDefFunc.h.

Member Function Documentation

static C4Object* ThisImpl< C4Object >::Conv ( C4PropList _this,
C4AulFunc func 
)
inlinestatic

Definition at line 98 of file C4AulDefFunc.h.

References C4AulFunc::GetName(), and C4PropList::GetObject().

99  {
100  C4Object* Obj = _this ? _this->GetObject() : nullptr;
101  if (Obj)
102  return Obj;
103  else
104  throw NeedObjectContext(func->GetName());
105  }
const char * GetName() const
Definition: C4AulFunc.h:56
virtual C4Object * GetObject()
Definition: C4PropList.cpp:667

Here is the call graph for this function:


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