C4ValueConv< C4ID > Struct Template 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

struct C4ValueConv< C4ID >

Definition at line 160 of file C4AulDefFunc.h.

Member Function Documentation

◆ _FromC4V()

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

Definition at line 163 of file C4AulDefFunc.h.

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

163 { C4Def * def = v.getDef(); return def ? def->id : C4ID::None; }
C4ID id
Definition: C4Def.h:101
C4Def * getDef() const
Definition: C4Value.cpp:78
static const C4ID None
Definition: C4Id.h:39
Definition: C4Def.h:98
Here is the call graph for this function:

Member Data Documentation

◆ Type

constexpr C4V_Type C4ValueConv< C4ID >::Type = C4V_PropList

Definition at line 162 of file C4AulDefFunc.h.

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