Public Types | Public Member Functions | List of all members
warehouse_ros::Metadata Class Referenceabstract

Represents metadata attached to a message. More...

#include <metadata.h>

Public Types

typedef boost::shared_ptr< const MetadataConstPtr
 
typedef boost::shared_ptr< MetadataPtr
 

Public Member Functions

virtual void append (const std::string &name, const std::string &val)=0
 
virtual void append (const std::string &name, const double val)=0
 
virtual void append (const std::string &name, const int val)=0
 
virtual void append (const std::string &name, const bool val)=0
 
virtual bool lookupBool (const std::string &name) const =0
 
virtual double lookupDouble (const std::string &name) const =0
 
virtual bool lookupField (const std::string &name) const =0
 
virtual std::set< std::string > lookupFieldNames () const =0
 
virtual int lookupInt (const std::string &name) const =0
 
virtual std::string lookupString (const std::string &name) const =0
 
virtual ~Metadata ()
 

Detailed Description

Represents metadata attached to a message.

Usage: m = Metadata().append("x", 24).append("name", "foo");

Definition at line 83 of file metadata.h.

Member Typedef Documentation

Definition at line 87 of file metadata.h.

Definition at line 86 of file metadata.h.

Constructor & Destructor Documentation

virtual warehouse_ros::Metadata::~Metadata ( )
inlinevirtual

Definition at line 89 of file metadata.h.

Member Function Documentation

virtual void warehouse_ros::Metadata::append ( const std::string &  name,
const std::string &  val 
)
pure virtual
virtual void warehouse_ros::Metadata::append ( const std::string &  name,
const double  val 
)
pure virtual
virtual void warehouse_ros::Metadata::append ( const std::string &  name,
const int  val 
)
pure virtual
virtual void warehouse_ros::Metadata::append ( const std::string &  name,
const bool  val 
)
pure virtual
virtual bool warehouse_ros::Metadata::lookupBool ( const std::string &  name) const
pure virtual
virtual double warehouse_ros::Metadata::lookupDouble ( const std::string &  name) const
pure virtual
virtual bool warehouse_ros::Metadata::lookupField ( const std::string &  name) const
pure virtual
virtual std::set<std::string> warehouse_ros::Metadata::lookupFieldNames ( ) const
pure virtual
virtual int warehouse_ros::Metadata::lookupInt ( const std::string &  name) const
pure virtual
virtual std::string warehouse_ros::Metadata::lookupString ( const std::string &  name) const
pure virtual

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


warehouse_ros
Author(s): Bhaskara Marthi , Connor Brew
autogenerated on Fri Jun 7 2019 21:44:23