All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4PropList.cpp File Reference
#include "C4Include.h"
#include "script/C4PropList.h"
#include "script/C4Aul.h"
#include "object/C4GameObjects.h"
#include "control/C4Record.h"
Include dependency graph for C4PropList.cpp:

Go to the source code of this file.


void CompileNewFunc (C4PropList *&pStruct, StdCompiler *pComp, C4ValueNumbers *rPar)

Function Documentation

void CompileNewFunc ( C4PropList *&  pStruct,
StdCompiler pComp,
C4ValueNumbers rPar 

Definition at line 442 of file C4PropList.cpp.

References mkParAdapt(), C4PropList::New(), and StdCompiler::Value().

443 {
444  std::unique_ptr<C4PropList> temp(C4PropList::New()); // exception-safety
445  pComp->Value(mkParAdapt(*temp, rPar));
446  pStruct = temp.release();
447 }
static C4PropList * New(C4PropList *prototype=0)
Definition: C4PropList.cpp:64
void Value(const T &rStruct)
Definition: StdCompiler.h:171
StdParameterAdapt< T, P > mkParAdapt(T &&rObj, P &&rPar)
Definition: StdAdaptors.h:456

Here is the call graph for this function: