Documentation for OpenFLUID 2.2.0
openfluid::fluidx::CoupledModelDescriptor Class Reference

#include <fluidx/CoupledModelDescriptor.hpp>

Public Member Functions

openfluid::ware::WareID_t getID (const ModelItemDescriptor *Item) const
 
void getItemsCountByType (unsigned int &SimCount, unsigned int &GenCount) const
 
- Public Member Functions inherited from openfluid::fluidx::WareSetDescriptor< ModelItemDescriptor >
 WareSetDescriptor ()
 
virtual ~WareSetDescriptor ()
 
SetDescription_titems ()
 
const SetDescription_titems () const
 
void setGlobalParameter (const openfluid::ware::WareParamKey_t &Key, const openfluid::ware::WareParamValue_t &Value)
 
void setGlobalParameters (const openfluid::ware::WareParams_t &Params)
 
openfluid::ware::WareParams_t getGlobalParameters () const
 
void eraseGlobalParameter (const openfluid::ware::WareParamKey_t &Key)
 
void appendItem (ModelItemDescriptor *Item)
 
void setItems (const SetDescription_t &Items)
 
ModelItemDescriptoritemAt (unsigned int Index) const
 
void insertItem (ModelItemDescriptor *Item, unsigned int Index)
 
void removeItem (unsigned int Index)
 
void moveItem (unsigned int indexFrom, unsigned int indexTo)
 
int findFirstItem (const openfluid::ware::WareID_t &ID) const
 
int findFirstItem (const ModelItemDescriptor *Item) const
 
std::vector< openfluid::ware::WareID_tgetOrderedIDs () const
 
int getItemsCount ()
 

Additional Inherited Members

- Public Types inherited from openfluid::fluidx::WareSetDescriptor< ModelItemDescriptor >
typedef std::list< ModelItemDescriptor * > SetDescription_t
 
- Protected Attributes inherited from openfluid::fluidx::WareSetDescriptor< ModelItemDescriptor >
SetDescription_t m_SetDescription
 
openfluid::ware::WareParams_t m_Params
 
Inheritance diagram for openfluid::fluidx::CoupledModelDescriptor:
Collaboration diagram for openfluid::fluidx::CoupledModelDescriptor:

Member Function Documentation

◆ getID()

openfluid::ware::WareID_t openfluid::fluidx::CoupledModelDescriptor::getID ( const ModelItemDescriptor Item) const
virtual

Returns the ID of a ware given by a pointer on its descriptor

Parameters
[in]Itemthe pointer to the descriptor
Returns
the ID of the ware

Implements openfluid::fluidx::WareSetDescriptor< ModelItemDescriptor >.

◆ getItemsCountByType()

void openfluid::fluidx::CoupledModelDescriptor::getItemsCountByType ( unsigned int &  SimCount,
unsigned int &  GenCount 
) const

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