OpenClonk
C4PropList.h File Reference
Include dependency graph for C4PropList.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4Property
 
class  C4PropList
 
class  C4PropList::Iterator
 
class  C4PropListNumbered
 
class  C4PropListScript
 
class  C4PropListStatic
 
class  C4PropListStaticMember
 

Functions

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

Function Documentation

◆ CompileNewFunc()

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

Definition at line 410 of file C4PropList.cpp.

411 {
412  std::unique_ptr<C4PropList> temp(C4PropList::New()); // exception-safety
413  pComp->Value(mkParAdapt(*temp, rPar));
414  pStruct = temp.release();
415 }
StdParameterAdapt< T, P > mkParAdapt(T &&rObj, P &&rPar)
Definition: StdAdaptors.h:490
static C4PropList * New(C4PropList *prototype=nullptr)
Definition: C4PropList.cpp:40
void Value(const T &rStruct)
Definition: StdCompiler.h:161

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

Here is the call graph for this function: