6 #ifndef JBSON_ELEMENT_FWD_HPP
7 #define JBSON_ELEMENT_FWD_HPP
12 #include "detail/config.hpp"
26 template <
class Container>
struct basic_element;
63 return ((uint8_t)etype >= 0x01 && (uint8_t)etype <= 0x12) || (uint8_t)etype == 0xFF || (uint8_t)etype == 0x7F;
79 template <
typename>
struct is_element : std::false_type {};
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS
105 #endif // JBSON_ELEMENT_FWD_HPP
element_type
The element_type enum represents a BSON data type.
std::string or boost::string_ref (string_type)
std::multiset< basic_element< Container >, detail::elem_compare > basic_document_set
BSON document in the form of a std::set for ease of manipulation.
Exception thrown when an element has a value not convertible to that requested.
basic_document_set< std::vector< char >> document_set
Default basic_document_set type alias.
Exception type. Base class of all exceptions thrown directly by jbson.
Exception thrown when an element's data size differs from that reported.
Exception type thrown when a call to get() has an incorrect type parameter.
basic_document> (document_type)
Exception type thrown when an element has a type value not represented by element_type.
Type trait to determine whether a type is a basic_element.
Functor for basic_element comparison.