userver: urabbitmq::Queue Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
urabbitmq::Queue Class Referencefinal

#include <userver/urabbitmq/typedefs.hpp>

Detailed Description

StrongTypedef alias for a queue name.

Definition at line 13 of file typedefs.hpp.

+ Inheritance diagram for urabbitmq::Queue:

Public Types

enum class  Flags {
  kNone = 0 ,
  kPassive = 1 << 0 ,
  kDurable = 1 << 1 ,
  kExclusive = 1 << 2 ,
  kAutoDelete = 1 << 3 ,
  kNoAck = 1 << 4
}
 Queue 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
 
constexpr std::string GetUnderlying () &&noexcept
 
constexpr std::string & GetUnderlying () &noexcept
 
auto begin ()
 
auto begin () const
 
auto end ()
 
auto end () const
 
auto cbegin () const
 
auto cend () const
 
auto size () const
 
auto empty () const
 
auto clear ()
 
decltype(auto) operator[] (Arg &&i)
 
decltype(auto) operator[] (Arg &&i) const
 

Static Public Attributes

static constexpr StrongTypedefOps kOps
 

Member Typedef Documentation

◆ TagType

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

Definition at line 195 of file strong_typedef.hpp.

◆ UnderlyingType

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

Definition at line 194 of file strong_typedef.hpp.

Member Enumeration Documentation

◆ Flags

enum class urabbitmq::Queue::Flags
strong

Queue options, consult RabbitMQ docs for better understanding.

Definition at line 18 of file typedefs.hpp.

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 226 of file strong_typedef.hpp.

◆ begin() [2/2]

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

Definition at line 236 of file strong_typedef.hpp.

◆ cbegin()

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

Definition at line 246 of file strong_typedef.hpp.

◆ cend()

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

Definition at line 251 of file strong_typedef.hpp.

◆ clear()

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

Definition at line 262 of file strong_typedef.hpp.

◆ empty()

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

Definition at line 260 of file strong_typedef.hpp.

◆ end() [1/2]

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

Definition at line 231 of file strong_typedef.hpp.

◆ end() [2/2]

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

Definition at line 241 of file strong_typedef.hpp.

◆ GetUnderlying() [1/3]

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

Definition at line 222 of file strong_typedef.hpp.

◆ GetUnderlying() [2/3]

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

Definition at line 223 of file strong_typedef.hpp.

◆ GetUnderlying() [3/3]

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

Definition at line 221 of file strong_typedef.hpp.

◆ operator const std::string &()

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

Definition at line 217 of file strong_typedef.hpp.

◆ operator std::string()

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

Definition at line 218 of file strong_typedef.hpp.

◆ operator std::string &()

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

Definition at line 219 of file strong_typedef.hpp.

◆ operator[]() [1/2]

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

Definition at line 265 of file strong_typedef.hpp.

◆ operator[]() [2/2]

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

Definition at line 269 of file strong_typedef.hpp.

◆ size()

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

Definition at line 256 of file strong_typedef.hpp.

Member Data Documentation

◆ kOps

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

Definition at line 196 of file strong_typedef.hpp.


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