|
An AMQP timestamp value. More...
#include <amqp_value.hpp>
Public Member Functions | |
AmqpTimestamp (std::chrono::milliseconds const &values) | |
Construct a new AmqpTimestamp object . | |
AmqpTimestamp (AmqpValue const &value) | |
Construct a new AmqpSymbol object from an existing uAMQP AMQP_VALUE item. | |
AmqpTimestamp (const AmqpTimestamp &other)=default | |
Copy constructor. | |
AmqpTimestamp & | operator= (const AmqpTimestamp &other)=default |
Copy Assignment operator. | |
AmqpTimestamp (AmqpTimestamp &&other) noexcept=default | |
Move constructor. | |
AmqpTimestamp & | operator= (AmqpTimestamp &&other) noexcept=default |
Move Assignment operator. | |
AmqpValue | AsAmqpValue () const |
Convert this AmqpTimestamp to an AmqpValue. | |
operator std::chrono::milliseconds () const | |
Convert an AmqpTimestamp instance to a std::chrono::milliseconds. | |
bool | operator< (AmqpTimestamp const &that) |
Compare this AMQP Timestamp with another. | |
Defined in AMQP Core Types section 1.6.19.
Azure::Core::Amqp::Models::AmqpTimestamp::AmqpTimestamp | ( | AmqpValue const & | value | ) |
value | - the AMQP "binary" value to capture. |
AmqpValue Azure::Core::Amqp::Models::AmqpTimestamp::AsAmqpValue | ( | ) | const |
|
inline |
that | - the other AMQP Timestamp to compare with. |