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 bool val)=0
 
void append (const std::string &name, const char *val)
 
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 std::string &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 88 of file metadata.h.

Member Typedef Documentation

◆ ConstPtr

Definition at line 92 of file metadata.h.

◆ Ptr

Definition at line 91 of file metadata.h.

Constructor & Destructor Documentation

◆ ~Metadata()

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

Definition at line 94 of file metadata.h.

Member Function Documentation

◆ append() [1/5]

virtual void warehouse_ros::Metadata::append ( const std::string &  name,
const bool  val 
)
pure virtual

◆ append() [2/5]

void warehouse_ros::Metadata::append ( const std::string &  name,
const char *  val 
)
inline

Definition at line 98 of file metadata.h.

◆ append() [3/5]

virtual void warehouse_ros::Metadata::append ( const std::string &  name,
const double  val 
)
pure virtual

◆ append() [4/5]

virtual void warehouse_ros::Metadata::append ( const std::string &  name,
const int  val 
)
pure virtual

◆ append() [5/5]

virtual void warehouse_ros::Metadata::append ( const std::string &  name,
const std::string &  val 
)
pure virtual

◆ lookupBool()

virtual bool warehouse_ros::Metadata::lookupBool ( const std::string &  name) const
pure virtual

◆ lookupDouble()

virtual double warehouse_ros::Metadata::lookupDouble ( const std::string &  name) const
pure virtual

◆ lookupField()

virtual bool warehouse_ros::Metadata::lookupField ( const std::string &  name) const
pure virtual

◆ lookupFieldNames()

virtual std::set<std::string> warehouse_ros::Metadata::lookupFieldNames ( ) const
pure virtual

◆ lookupInt()

virtual int warehouse_ros::Metadata::lookupInt ( const std::string &  name) const
pure virtual

◆ lookupString()

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 Wed Oct 16 2024 02:42:07