All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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 161 of file C4AulDefFunc.h.

Member Function Documentation

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

Definition at line 164 of file C4AulDefFunc.h.

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

164 { C4Def * def = v.getDef(); return def ? def->id : C4ID::None; }
C4ID id
Definition: C4Def.h:103
static const C4ID None
Definition: C4Id.h:42
Definition: C4Def.h:100
C4Def * getDef() const
Definition: C4Value.cpp:80

Here is the call graph for this function:

Member Data Documentation

constexpr C4V_Type C4ValueConv< C4ID >::Type = C4V_PropList

Definition at line 163 of file C4AulDefFunc.h.

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