stromx  0.8.0
Public Member Functions | List of all members
stromx::runtime::List Class Reference

List of data values. More...

#include <List.h>

Inheritance diagram for stromx::runtime::List:
stromx::runtime::Data stromx::runtime::DataInterface stromx::runtime::TypedList< T >

Public Member Functions

 List ()
 
 List (const std::vector< Data *> &content)
 
virtual const std::string & type () const
 
virtual const Versionversion () const
 
virtual const std::string & package () const
 
virtual const VariantHandlevariant () const
 
virtual Dataclone () const
 
std::vector< Data * > & content ()
 
std::vector< const Data * > content () const
 
- Public Member Functions inherited from stromx::runtime::Data
virtual void serialize (OutputProvider &out) const
 
virtual void deserialize (InputProvider &in, const Version &version)
 
- Public Member Functions inherited from stromx::runtime::DataInterface
bool isVariant (const VariantInterface &v) const
 

Detailed Description

List of data values.

Constructor & Destructor Documentation

§ List()

stromx::runtime::List::List ( )
inline

Constructs an empty list.

Member Function Documentation

§ clone()

Data * stromx::runtime::List::clone ( ) const
virtual

Returns a copy of the data object, i.e. a object of the same type is allocated and the data of the original object is copied to the new object. A pointer to the new object is returned.

Implements stromx::runtime::DataInterface.

§ content() [1/2]

std::vector<Data*>& stromx::runtime::List::content ( )
inline

Provides write access to the content of the list.

§ content() [2/2]

std::vector<const Data*> stromx::runtime::List::content ( ) const
inline

Provides write access to the content of the list.

§ package()

virtual const std::string& stromx::runtime::List::package ( ) const
inlinevirtual

Returns the package of the class of this data object.

Implements stromx::runtime::DataInterface.

§ type()

virtual const std::string& stromx::runtime::List::type ( ) const
inlinevirtual

Returns the name of the class of this data object.

Implements stromx::runtime::DataInterface.

§ variant()

const VariantHandle & stromx::runtime::List::variant ( ) const
virtual

Returns the data variant of this data object.

Implements stromx::runtime::DataInterface.

§ version()

virtual const Version& stromx::runtime::List::version ( ) const
inlinevirtual

Returns the version of the class of this data object.

Implements stromx::runtime::DataInterface.


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