OpenClonk
C4ValueConv< C4ID > Struct Reference

#include <C4AulDefFunc.h>

Static Public Member Functions

static C4ID _FromC4V (C4Value &v)
 

Static Public Attributes

static constexpr C4V_Type Type = C4V_PropList
 

Detailed Description

Definition at line 161 of file C4AulDefFunc.h.

Member Function Documentation

◆ _FromC4V()

static C4ID C4ValueConv< C4ID >::_FromC4V ( C4Value v)
inlinestatic

Definition at line 164 of file C4AulDefFunc.h.

164 { C4Def * def = v.getDef(); return def ? def->id : C4ID::None; }
Definition: C4Def.h:99
C4ID id
Definition: C4Def.h:101
static const C4ID None
Definition: C4Id.h:39
C4Def * getDef() const
Definition: C4Value.cpp:78

References C4Value::getDef(), C4Def::id, and C4ID::None.

Here is the call graph for this function:

Member Data Documentation

◆ Type

constexpr C4V_Type C4ValueConv< C4ID >::Type = C4V_PropList
staticconstexpr

Definition at line 163 of file C4AulDefFunc.h.


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