userver: urabbitmq::Exchange Class Reference
Loading...
Searching...
No Matches
urabbitmq::Exchange Class Referencefinal

#include <userver/urabbitmq/typedefs.hpp>

Detailed Description

StrongTypedef alias for an exchange name.

Definition at line 36 of file typedefs.hpp.

Inheritance diagram for urabbitmq::Exchange:

Public Types

enum class  Type {
  kFanOut ,
  kDirect ,
  kTopic ,
  kHeaders ,
  kConsistentHash ,
  kMessageDeduplication
}
 Type of an exchange. More...
enum class  Flags {
  kNone = 0 ,
  kPassive = 1 << 0 ,
  kDurable = 1 << 1 ,
  kAutoDelete = 1 << 2 ,
  kInternal = 1 << 3 ,
  kNoWait = 1 << 4
}
 Exchange options, consult RabbitMQ docs for better understanding. More...
using UnderlyingType
using TagType

Public Member Functions

constexpr operator const std::string & () const &noexcept
constexpr operator std::string () &&noexcept
constexpr operator std::string & () &noexcept
constexpr const std::string & GetUnderlying () const &noexcept
auto begin ()
auto end ()
auto cbegin () const
auto cend () const
auto size () const
auto empty () const
auto clear ()
decltype(auto) operator[] (Arg &&i)

Static Public Attributes

static constexpr StrongTypedefOps kOps

Member Typedef Documentation

◆ TagType

using utils::StrongTypedef< class ExchangeTag, std::string, Ops >::TagType
inherited

Definition at line 165 of file strong_typedef.hpp.

◆ UnderlyingType

using utils::StrongTypedef< class ExchangeTag, std::string, Ops >::UnderlyingType
inherited

Definition at line 164 of file strong_typedef.hpp.

Member Enumeration Documentation

◆ Flags

enum class urabbitmq::Exchange::Flags
strong

Exchange options, consult RabbitMQ docs for better understanding.

Definition at line 55 of file typedefs.hpp.

◆ Type

enum class urabbitmq::Exchange::Type
strong

Type of an exchange.

Consult RabbitMQ docs for better understanding.

Definition at line 43 of file typedefs.hpp.

Member Function Documentation

◆ begin()

auto utils::StrongTypedef< class ExchangeTag, std::string, Ops >::begin ( )
inlineinherited

Definition at line 199 of file strong_typedef.hpp.

◆ cbegin()

auto utils::StrongTypedef< class ExchangeTag, std::string, Ops >::cbegin ( ) const
inlineinherited

Definition at line 223 of file strong_typedef.hpp.

◆ cend()

auto utils::StrongTypedef< class ExchangeTag, std::string, Ops >::cend ( ) const
inlineinherited

Definition at line 229 of file strong_typedef.hpp.

◆ clear()

auto utils::StrongTypedef< class ExchangeTag, std::string, Ops >::clear ( )
inlineinherited

Definition at line 243 of file strong_typedef.hpp.

◆ empty()

auto utils::StrongTypedef< class ExchangeTag, std::string, Ops >::empty ( ) const
inlineinherited

Definition at line 241 of file strong_typedef.hpp.

◆ end()

auto utils::StrongTypedef< class ExchangeTag, std::string, Ops >::end ( )
inlineinherited

Definition at line 205 of file strong_typedef.hpp.

◆ GetUnderlying()

const std::string & utils::StrongTypedef< class ExchangeTag, std::string, Ops >::GetUnderlying ( ) const &
inlineconstexprnoexceptinherited

Definition at line 195 of file strong_typedef.hpp.

◆ operator const std::string &()

utils::StrongTypedef< class ExchangeTag, std::string, Ops >::operator const std::string & ( ) const &
inlineexplicitconstexprnoexceptinherited

Definition at line 191 of file strong_typedef.hpp.

◆ operator std::string()

utils::StrongTypedef< class ExchangeTag, std::string, Ops >::operator std::string ( ) &&
inlineexplicitconstexprnoexceptinherited

Definition at line 192 of file strong_typedef.hpp.

◆ operator std::string &()

utils::StrongTypedef< class ExchangeTag, std::string, Ops >::operator std::string& ( ) &
inlineexplicitconstexprnoexceptinherited

Definition at line 193 of file strong_typedef.hpp.

◆ operator[]()

decltype(auto) utils::StrongTypedef< class ExchangeTag, std::string, Ops >::operator[] ( Arg && i)
inlineinherited

Definition at line 246 of file strong_typedef.hpp.

◆ size()

auto utils::StrongTypedef< class ExchangeTag, std::string, Ops >::size ( ) const
inlineinherited

Definition at line 235 of file strong_typedef.hpp.

Member Data Documentation

◆ kOps

StrongTypedefOps utils::StrongTypedef< class ExchangeTag, std::string, Ops >::kOps
staticconstexprinherited

Definition at line 166 of file strong_typedef.hpp.


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