Class WrappedBSON
Defined in File metadata.h
Inheritance Relationships
Base Type
public BSONObj
Derived Types
public warehouse_ros_mongo::MongoMetadata
(Class MongoMetadata)public warehouse_ros_mongo::MongoQuery
(Class MongoQuery)
Class Documentation
-
class WrappedBSON : public BSONObj
Internal parent class.
This allows the user to not have to deal with separate BSONObj and BSONObj builder objects
Subclassed by warehouse_ros_mongo::MongoMetadata, warehouse_ros_mongo::MongoQuery
Public Functions
-
inline WrappedBSON()
-
inline WrappedBSON(const WrappedBSON &other)
-
inline WrappedBSON(const BSONObj &other)
-
inline WrappedBSON(const std::string &json)
Protected Functions
-
inline void update()
Protected Attributes
-
std::shared_ptr<BSONObjBuilder> builder_
-
inline WrappedBSON()