COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Types | Public Member Functions | Public Attributes | List of all members
List< ValueT > Struct Template Reference

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

ListTm_list
 

Detailed Description

template<typename ValueT>
struct cf3::python::List< ValueT >

Tables can be used as python lists.

Definition at line 29 of file ListWrapper.cpp.

Member Typedef Documentation

typedef common::List<ValueT> ListT

Definition at line 31 of file ListWrapper.cpp.

Constructor & Destructor Documentation

List ( ComponentWrapper wrapped)
inline

Definition at line 33 of file ListWrapper.cpp.

Member Function Documentation

virtual object get_item ( const Uint  i) const
inlinevirtual

Get item i from the list.

Implements PythonListInterface.

Definition at line 43 of file ListWrapper.cpp.

virtual Uint len ( ) const
inlinevirtual

The number of items in the list.

Implements PythonListInterface.

Definition at line 38 of file ListWrapper.cpp.

virtual void set_item ( const Uint  i,
boost::python::object &  value 
)
inlinevirtual

Set item i in the list.

Implements PythonListInterface.

Definition at line 53 of file ListWrapper.cpp.

virtual std::string to_str ( ) const
inlinevirtual

Get the whole list as a string.

Implements PythonListInterface.

Definition at line 60 of file ListWrapper.cpp.

Member Data Documentation

ListT& m_list

Definition at line 67 of file ListWrapper.cpp.


The documentation for this struct was generated from the following file:
Send comments to:
COOLFluiD Web Admin