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 415 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 480 of file StdMesh.h.

Referenced by StdMeshInstanceAnimationNode::ClearPointers().

480 {}

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 780 of file StdMesh.cpp.

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

781 {
782  pComp->Value(Value);
783 }
void Value(const T &rStruct)
Definition: StdCompiler.h:161

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 479 of file StdMesh.h.

Referenced by StdMeshInstanceAnimationNode::DenumeratePointers().

479 {}

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 460 of file StdMesh.h.

References StdMeshInstance::SerializableValueProvider::IDBase::name.

461  {
462  if(!IDs) return nullptr;
463  for(auto & ID : *IDs)
464  if(strcmp(ID->name, name) == 0)
465  return ID;
466  return nullptr;
467  }
static const IDBase* StdMeshInstance::SerializableValueProvider::Lookup ( const std::type_info &  type)
inlinestatic

Definition at line 469 of file StdMesh.h.

References StdMeshInstance::SerializableValueProvider::IDBase::type.

470  {
471  if(!IDs) return nullptr;
472  for(auto & ID : *IDs)
473  if(ID->type == type)
474  return ID;
475  return nullptr;
476  }

Member Data Documentation


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