COPASI API  4.40.278
CLRenderFlattener Class Reference

#include <CLRenderFlattener.h>

Static Public Member Functions

static CLGlobalRenderInformationflatten_render_information (const CLGlobalRenderInformation &globalRenderInformation, const CDataVector< CLGlobalRenderInformation > &globalList)
 
static CLLocalRenderInformationflatten_render_information (const CLLocalRenderInformation &localRenderInformation, const CDataVector< CLLocalRenderInformation > &localList, const CDataVector< CLGlobalRenderInformation > &globalList)
 

Static Protected Member Functions

static CLLocalStyleconvertGlobalToLocalStyle (const CLGlobalStyle *pGlobal)
 
static CLRenderInformationBaseflatten (const CLRenderInformationBase &renderInformation, const CDataVector< CLGlobalRenderInformation > &globalList, const CDataVector< CLLocalRenderInformation > &localList)
 

Member Function Documentation

◆ convertGlobalToLocalStyle()

CLLocalStyle * CLRenderFlattener::convertGlobalToLocalStyle ( const CLGlobalStyle pGlobal)
staticprotected

Method takes a global style object and converts it to a local style object. The caller is responsible for freeing the memory of the returned object once it is no longer needed.

References CLStyle::getGroup(), CDataObject::getObjectName(), CLStyle::getRoleList(), CLStyle::getTypeList(), CLStyle::setGroup(), CDataObject::setObjectName(), CLStyle::setRoleList(), and CLStyle::setTypeList().

Referenced by flatten().

◆ flatten()

◆ flatten_render_information() [1/2]

CLGlobalRenderInformation * CLRenderFlattener::flatten_render_information ( const CLGlobalRenderInformation globalRenderInformation,
const CDataVector< CLGlobalRenderInformation > &  globalList 
)
static

static method that takes a const reference to a global render information object and resolves all references. The returned object is a new global render information object and the caller is responsible for freeing the memory once it is no longer used. If references can not be resolved, an unresolved_reference_exception is thrown.

References flatten().

◆ flatten_render_information() [2/2]

CLLocalRenderInformation * CLRenderFlattener::flatten_render_information ( const CLLocalRenderInformation localRenderInformation,
const CDataVector< CLLocalRenderInformation > &  localList,
const CDataVector< CLGlobalRenderInformation > &  globalList 
)
static

static method that takes a const reference to a local render information object and resolves all references. The returned object is a new local render information object and the caller is responsible for freeing the memory once it is no longer used. If references can not be resolved, an unresolved_reference_exception is thrown.

References flatten().


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