Public Member Functions | List of all members
RTT::types::StdStringTypeInfo Struct Reference

#include <StdStringTypeInfo.hpp>

Inheritance diagram for RTT::types::StdStringTypeInfo:
Inheritance graph
[legend]

Public Member Functions

base::AttributeBasebuildVariable (std::string name, int size) const
 
virtual bool composeType (base::DataSourceBase::shared_ptr source, base::DataSourceBase::shared_ptr result) const
 
virtual base::DataSourceBase::shared_ptr decomposeType (base::DataSourceBase::shared_ptr source) const
 
 StdStringTypeInfo (const std::string &tname="string")
 
- Public Member Functions inherited from RTT::types::SequenceTypeInfo< std::string, true >
base::AttributeBasebuildVariable (std::string name, int size) const
 
virtual base::DataSourceBase::shared_ptr getMember (base::DataSourceBase::shared_ptr item, const std::string &name) const
 
virtual base::DataSourceBase::shared_ptr getMember (base::DataSourceBase::shared_ptr item, base::DataSourceBase::shared_ptr id) const
 
virtual std::vector< std::string > getMemberNames () const
 
bool installTypeInfoObject (TypeInfo *ti)
 
virtual bool resize (base::DataSourceBase::shared_ptr arg, int size) const
 
 SequenceTypeInfo (std::string name)
 
- Public Member Functions inherited from RTT::types::TemplateTypeInfo< std::string, has_ostream >
virtual base::ChannelElementBase::shared_ptr buildRemoteChannelOutput (base::OutputPortInterface &output_port, types::TypeInfo const *type_info, base::InputPortInterface &input, const ConnPolicy &policy)
 
bool installTypeInfoObject (TypeInfo *ti)
 
 TemplateTypeInfo (std::string name)
 
virtual ~TemplateTypeInfo ()
 
- Public Member Functions inherited from RTT::types::PrimitiveTypeInfo< std::string, use_ostream >
virtual bool decomposeType (base::DataSourceBase::shared_ptr source, PropertyBag &targetbag) const
 
boost::shared_ptr< PrimitiveTypeInfo< std::string, use_ostream > > getSharedPtr ()
 
TypeInfogetTypeInfoObject () const
 
virtual const std::string & getTypeName () const
 
virtual bool isStreamable () const
 
 PrimitiveTypeInfo (std::string name)
 
virtual std::istream & read (std::istream &os, base::DataSourceBase::shared_ptr out) const
 
virtual std::ostream & write (std::ostream &os, base::DataSourceBase::shared_ptr in) const
 
virtual ~PrimitiveTypeInfo ()
 
- Public Member Functions inherited from RTT::types::TypeInfoGenerator
virtual ~TypeInfoGenerator ()
 
- Public Member Functions inherited from RTT::types::TemplateValueFactory< std::string >
base::DataSourceBase::shared_ptr buildActionAlias (base::ActionInterface *action, base::DataSourceBase::shared_ptr in) const
 
base::AttributeBasebuildAlias (std::string name, base::DataSourceBase::shared_ptr in) const
 
base::AttributeBasebuildAttribute (std::string name, base::DataSourceBase::shared_ptr in) const
 
base::AttributeBasebuildConstant (std::string name, base::DataSourceBase::shared_ptr dsb) const
 
virtual base::PropertyBasebuildProperty (const std::string &name, const std::string &desc, base::DataSourceBase::shared_ptr source=0) const
 
virtual base::DataSourceBase::shared_ptr buildReference (void *ptr) const
 
virtual base::DataSourceBase::shared_ptr buildValue () const
 
base::AttributeBasebuildVariable (std::string name) const
 
- Public Member Functions inherited from RTT::types::ValueFactory
virtual ~ValueFactory ()
 
virtual base::AttributeBasebuildConstant (std::string name, base::DataSourceBase::shared_ptr, int sizehint) const
 
- Public Member Functions inherited from RTT::types::StreamFactory
virtual ~StreamFactory ()
 
virtual std::string toString (base::DataSourceBase::shared_ptr in) const
 
virtual bool fromString (const std::string &value, base::DataSourceBase::shared_ptr out) const
 
- Public Member Functions inherited from RTT::types::TemplateConnFactory< std::string >
base::ChannelElementBase::shared_ptr buildChannelInput (base::OutputPortInterface &port, ConnPolicy const &policy) const
 
base::ChannelElementBase::shared_ptr buildChannelOutput (base::InputPortInterface &port, ConnPolicy const &policy) const
 
base::ChannelElementBase::shared_ptr buildDataStorage (ConnPolicy const &policy) const
 
internal::SharedConnectionBase::shared_ptr buildSharedConnection (base::OutputPortInterface *output_port, base::InputPortInterface *input_port, ConnPolicy const &policy) const
 
base::InputPortInterfaceinputPort (std::string const &name) const
 
base::OutputPortInterfaceoutputPort (std::string const &name) const
 
- Public Member Functions inherited from RTT::types::TemplateCompositionFactory< std::string >
virtual bool composeTypeImpl (const PropertyBag &source, typename internal::AssignableDataSource< std::string >::reference_t result) const
 
virtual bool decomposeTypeImpl (typename internal::AssignableDataSource< std::string >::const_reference_t source, PropertyBag &targetbag) const
 
- Public Member Functions inherited from RTT::types::CompositionFactory
virtual base::DataSourceBase::shared_ptr convertType (base::DataSourceBase::shared_ptr source) const
 
virtual ~CompositionFactory ()
 
- Public Member Functions inherited from RTT::types::SequenceTypeInfoBase< std::string >
base::AttributeBasebuildVariable (std::string name, int size) const
 
bool composeType (base::DataSourceBase::shared_ptr dssource, base::DataSourceBase::shared_ptr dsresult) const
 
base::DataSourceBase::shared_ptr decomposeType (base::DataSourceBase::shared_ptr source) const
 
base::DataSourceBase::shared_ptr getMember (base::DataSourceBase::shared_ptr item, const std::string &name) const
 
base::DataSourceBase::shared_ptr getMember (base::DataSourceBase::shared_ptr item, base::DataSourceBase::shared_ptr id) const
 
std::vector< std::string > getMemberNames () const
 
bool installTypeInfoObject (TypeInfo *ti)
 
bool resize (base::DataSourceBase::shared_ptr arg, int size) const
 
 SequenceTypeInfoBase ()
 
 ~SequenceTypeInfoBase ()
 
- Public Member Functions inherited from RTT::types::MemberFactory
virtual ~MemberFactory ()
 
virtual bool getMember (internal::Reference *ref, base::DataSourceBase::shared_ptr item, const std::string &name) const
 

Additional Inherited Members

- Public Types inherited from RTT::types::TemplateTypeInfo< std::string, has_ostream >
typedef std::string UserType
 
- Public Types inherited from RTT::types::PrimitiveTypeInfo< std::string, use_ostream >
typedef std::string DataType
 
- Public Types inherited from RTT::types::TemplateValueFactory< std::string >
typedef std::string DataType
 
- Public Types inherited from RTT::types::TemplateCompositionFactory< std::string >
typedef std::string UserType
 
- Protected Attributes inherited from RTT::types::PrimitiveTypeInfo< std::string, use_ostream >
boost::shared_ptr< PrimitiveTypeInfo< std::string, use_ostream > > mshared
 
const std::string tname
 

Detailed Description

Standard string specialisation that removes decomposition.

Definition at line 51 of file StdStringTypeInfo.hpp.

Constructor & Destructor Documentation

RTT::types::StdStringTypeInfo::StdStringTypeInfo ( const std::string &  tname = "string")
inline

Definition at line 53 of file StdStringTypeInfo.hpp.

Member Function Documentation

base::AttributeBase* RTT::types::StdStringTypeInfo::buildVariable ( std::string  name,
int  sizehint 
) const
inlinevirtual

Build a modifyable instance of this type.

Parameters
sizehintFor variable size instances, use it to hint the size of the instance.

Reimplemented from RTT::types::ValueFactory.

Definition at line 58 of file StdStringTypeInfo.hpp.

virtual bool RTT::types::StdStringTypeInfo::composeType ( base::DataSourceBase::shared_ptr  source,
base::DataSourceBase::shared_ptr  result 
) const
inlinevirtual

Reimplemented from RTT::types::SequenceTypeInfo< std::string, true >.

Definition at line 69 of file StdStringTypeInfo.hpp.

virtual base::DataSourceBase::shared_ptr RTT::types::StdStringTypeInfo::decomposeType ( base::DataSourceBase::shared_ptr  source) const
inlinevirtual

A string is decomposed into itself.

Reimplemented from RTT::types::SequenceTypeInfo< std::string, true >.

Definition at line 77 of file StdStringTypeInfo.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:48