azure-core-amqp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Azure::Core::Amqp::Models::AmqpSymbol Class Referencefinal

An AMQP symbol value. An AMQP Symbol is a string valued from a constrained domain, whose content is sequence of ASCII encoded characters. More...

#include <amqp_value.hpp>

Inheritance diagram for Azure::Core::Amqp::Models::AmqpSymbol:

Public Member Functions

 AmqpSymbol (std::string const &values)
 Construct a new AmqpSymbol object with an initializer list.
 
 AmqpSymbol (initializer_type const &initializer)
 Construct a new AmqpSymbol object with an initializer list.
 
 AmqpSymbol (const char *const values)
 Construct a new AmqpSymbol object from a constant string value.
 
 AmqpSymbol (const AmqpSymbol &other)=default
 Copy constructor.
 
AmqpSymboloperator= (const AmqpSymbol &other)=default
 Copy Assignment operator.
 
 AmqpSymbol (AmqpSymbol &&other) noexcept=default
 Move constructor.
 
AmqpSymboloperator= (AmqpSymbol &&other) noexcept=default
 Move Assignment operator.
 
 AmqpSymbol (AmqpValue const &value)
 Construct a new AmqpSymbol object from an existing uAMQP AMQP_VALUE item.
 
bool operator== (AmqpSymbol const &that) const
 Compare two AMQP symbols for equality.
 
bool operator== (const decltype(m_value)::value_type *const that) const
 Compare two AMQP symbols for equality.
 

Detailed Description

Defined in AMQP Core Types section 1.6.19.

Constructor & Destructor Documentation

◆ AmqpSymbol()

Azure::Core::Amqp::Models::AmqpSymbol::AmqpSymbol ( AmqpValue const &  value)
Remarks
Note that this does NOT capture the passed in AMQP_VALUE object, the caller is responsible for freeing that object.
This is an internal accessor and should never be used by code outside the AMQP implementation.
Parameters
value- the AMQP "binary" value to capture.

Member Function Documentation

◆ operator==() [1/2]

bool Azure::Core::Amqp::Models::AmqpSymbol::operator== ( AmqpSymbol const &  that) const
inline
Parameters
that- the AMQP symbol to compare to.
Returns
true if the two symbols are equal, false otherwise.

◆ operator==() [2/2]

bool Azure::Core::Amqp::Models::AmqpSymbol::operator== ( const decltype(m_value)::value_type *const  that) const
inline
Parameters
that- the AMQP symbol to compare to.
Returns
true if the two symbols are equal, false otherwise.

The documentation for this class was generated from the following files: