COPASI API
4.16.103
|
#include <CLRenderFlattener.h>
Static Public Member Functions | |
static CLGlobalRenderInformation * | flatten_render_information (const CLGlobalRenderInformation &globalRenderInformation, const CCopasiVector< CLGlobalRenderInformation > &globalList) throw (CLUnresolvedReferenceException) |
static CLLocalRenderInformation * | flatten_render_information (const CLLocalRenderInformation &localRenderInformation, const CCopasiVector< CLLocalRenderInformation > &localList, const CCopasiVector< CLGlobalRenderInformation > &globalList) throw (CLUnresolvedReferenceException) |
Static Protected Member Functions | |
static CLLocalStyle * | convertGlobalToLocalStyle (const CLGlobalStyle *pGlobal) |
static CLRenderInformationBase * | flatten (const CLRenderInformationBase &renderInformation, const CCopasiVector< CLGlobalRenderInformation > &globalList, const CCopasiVector< CLLocalRenderInformation > &localList=CCopasiVector< CLLocalRenderInformation >()) throw (CLUnresolvedReferenceException) |
Definition at line 31 of file CLRenderFlattener.h.
|
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.
Definition at line 414 of file CLRenderFlattener.cpp.
References CLStyle::getGroup(), CCopasiObject::getObjectName(), CLStyle::getRoleList(), CLStyle::getTypeList(), pResult, CLStyle::setGroup(), CCopasiObject::setObjectName(), CLStyle::setRoleList(), and CLStyle::setTypeList().
|
staticprotected |
Takes a reference to any type of render information and two lists. The first list is a list of global render information objects, the second list is a list of local render information objects. If the object that is passed in is a global render information object, the second list is not considered.
Definition at line 60 of file CLRenderFlattener.cpp.
References CLRenderInformationBase::addColorDefinition(), CLRenderInformationBase::addGradientDefinition(), CLRenderInformationBase::addLineEnding(), CCopasiMessage::EXCEPTION, CLLineEnding::getId(), CLGradientBase::getId(), CLColorDefinition::getId(), CLLocalStyle::getKeyList(), CLLocalRenderInformation::getListOfStyles(), CLGlobalRenderInformation::getListOfStyles(), CLRenderInformationBase::getReferenceRenderInformationKey(), CLStyle::getRoleList(), CLLocalRenderInformation::getStyle(), CLGlobalRenderInformation::getStyle(), CLStyle::getTypeList(), pResult, CLRenderInformationBase::setBackgroundColor(), and CCopasiVector< T >::size().
Referenced by flatten_render_information().
|
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.
Definition at line 36 of file CLRenderFlattener.cpp.
References flatten().
|
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.
Definition at line 49 of file CLRenderFlattener.cpp.
References flatten().