Library: MongoDB
Package: MongoDB
Header: Poco/MongoDB/Element.h
Description
Inheritance
Known Derived Classes: ConcreteElement
Member Summary
Member Functions: name, toString, type
Types
Ptr
typedef Poco::SharedPtr < Element > Ptr;
Constructors
Element
Element(
const std::string & name
);
Constructor
Destructor
~Element
virtual ~Element();
Destructor
Member Functions
name
std::string name() const;
Returns the name of the element
toString
virtual std::string toString(
int indent = 0
) const = 0;
Returns a string representation of the element.
type
virtual int type() const = 0;
Returns the MongoDB type of the element.