COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Tables can be used as python lists. More...
Inherits PythonListInterface.
Public Types | |
typedef common::List< ValueT > | ListT |
Public Member Functions | |
List (ComponentWrapper &wrapped) | |
virtual Uint | len () const |
The number of items in the list. More... | |
virtual object | get_item (const Uint i) const |
Get item i from the list. More... | |
virtual void | set_item (const Uint i, boost::python::object &value) |
Set item i in the list. More... | |
virtual std::string | to_str () const |
Get the whole list as a string. More... | |
Public Member Functions inherited from PythonListInterface | |
virtual | ~PythonListInterface () |
Public Attributes | |
ListT & | m_list |
Tables can be used as python lists.
Definition at line 29 of file ListWrapper.cpp.
typedef common::List<ValueT> ListT |
Definition at line 31 of file ListWrapper.cpp.
|
inline |
Definition at line 33 of file ListWrapper.cpp.
|
inlinevirtual |
Get item i from the list.
Implements PythonListInterface.
Definition at line 43 of file ListWrapper.cpp.
|
inlinevirtual |
The number of items in the list.
Implements PythonListInterface.
Definition at line 38 of file ListWrapper.cpp.
|
inlinevirtual |
Set item i in the list.
Implements PythonListInterface.
Definition at line 53 of file ListWrapper.cpp.
|
inlinevirtual |
Get the whole list as a string.
Implements PythonListInterface.
Definition at line 60 of file ListWrapper.cpp.
ListT& m_list |
Definition at line 67 of file ListWrapper.cpp.
Send comments to: COOLFluiD Web Admin |