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