OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
StdMeshInstance::SerializableValueProvider Class Referenceabstract

#include <StdMesh.h>

Inheritance diagram for StdMeshInstance::SerializableValueProvider:
[legend]
Collaboration diagram for StdMeshInstance::SerializableValueProvider:
[legend]

Classes

struct  ID
 
struct  IDBase
 

Public Member Functions

virtual void CompileFunc (StdCompiler *pComp)
 
virtual void DenumeratePointers ()
 
virtual void ClearPointers (class C4Object *pObj)
 
virtual bool Execute ()=0
 

Static Public Member Functions

static const IDBaseLookup (const char *name)
 
static const IDBaseLookup (const std::type_info &type)
 

Public Attributes

C4Real Value
 

Detailed Description

Definition at line 417 of file StdMesh.h.

Member Function Documentation

virtual void StdMeshInstance::SerializableValueProvider::ClearPointers ( class C4Object pObj)
inlinevirtual

Reimplemented in C4ValueProviderAction, C4ValueProviderSinV, C4ValueProviderCosV, C4ValueProviderSinR, C4ValueProviderCosR, C4ValueProviderAbsRDir, C4ValueProviderRDir, C4ValueProviderYDir, C4ValueProviderXDir, C4ValueProviderDist, C4ValueProviderAbsY, C4ValueProviderAbsX, C4ValueProviderR, C4ValueProviderY, and C4ValueProviderX.

Definition at line 482 of file StdMesh.h.

Referenced by StdMeshInstanceAnimationNode::ClearPointers().

482 {}

Here is the caller graph for this function:

void StdMeshInstance::SerializableValueProvider::CompileFunc ( StdCompiler pComp)
virtual

Reimplemented in C4ValueProviderAction, C4ValueProviderSinV, C4ValueProviderCosV, C4ValueProviderSinR, C4ValueProviderCosR, C4ValueProviderAbsRDir, C4ValueProviderRDir, C4ValueProviderYDir, C4ValueProviderXDir, C4ValueProviderDist, C4ValueProviderAbsY, C4ValueProviderAbsX, C4ValueProviderR, C4ValueProviderY, C4ValueProviderX, and C4ValueProviderLinear.

Definition at line 790 of file StdMesh.cpp.

References StdCompiler::Value(), and StdMeshInstanceValueProvider::Value.

791 {
792  pComp->Value(Value);
793 }
void Value(const T &rStruct)
Definition: StdCompiler.h:170

Here is the call graph for this function:

virtual void StdMeshInstance::SerializableValueProvider::DenumeratePointers ( )
inlinevirtual

Reimplemented in C4ValueProviderAction, C4ValueProviderSinV, C4ValueProviderCosV, C4ValueProviderSinR, C4ValueProviderCosR, C4ValueProviderAbsRDir, C4ValueProviderRDir, C4ValueProviderYDir, C4ValueProviderXDir, C4ValueProviderDist, C4ValueProviderAbsY, C4ValueProviderAbsX, C4ValueProviderR, C4ValueProviderY, and C4ValueProviderX.

Definition at line 481 of file StdMesh.h.

Referenced by StdMeshInstanceAnimationNode::DenumeratePointers().

481 {}

Here is the caller graph for this function:

virtual bool StdMeshInstanceValueProvider::Execute ( )
pure virtualinherited
static const IDBase* StdMeshInstance::SerializableValueProvider::Lookup ( const char *  name)
inlinestatic

Definition at line 462 of file StdMesh.h.

463  {
464  if(!IDs) return nullptr;
465  for(unsigned int i = 0; i < IDs->size(); ++i)
466  if(strcmp((*IDs)[i]->name, name) == 0)
467  return (*IDs)[i];
468  return nullptr;
469  }
static const IDBase* StdMeshInstance::SerializableValueProvider::Lookup ( const std::type_info &  type)
inlinestatic

Definition at line 471 of file StdMesh.h.

472  {
473  if(!IDs) return nullptr;
474  for(unsigned int i = 0; i < IDs->size(); ++i)
475  if((*IDs)[i]->type == type)
476  return (*IDs)[i];
477  return nullptr;
478  }

Member Data Documentation


The documentation for this class was generated from the following files: