AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ChatCommandTags.h File Reference
#include "ChatCommandHelpers.h"
#include "Hyperlinks.h"
#include "ObjectGuid.h"
#include "Optional.h"
#include "Util.h"
#include <boost/preprocessor/punctuation/comma_if.hpp>
#include <boost/preprocessor/repetition/repeat.hpp>
#include <cmath>
#include <cstring>
#include <iostream>
#include <string>
#include <string_view>
#include <tuple>
#include <type_traits>
#include <utility>
#include <variant>

Go to the source code of this file.

Classes

struct  Acore::Impl::ChatCommands::ContainerTag
 
struct  Acore::Impl::ChatCommands::tag_base< T, std::enable_if_t< std::is_base_of_v< ContainerTag, T > > >
 
struct  Acore::ChatCommands::ExactSequence< chars >
 
struct  Acore::ChatCommands::Tail
 
struct  Acore::ChatCommands::WTail
 
struct  Acore::ChatCommands::QuotedString
 
struct  Acore::ChatCommands::AccountIdentifier
 
struct  Acore::ChatCommands::PlayerIdentifier
 
struct  Acore::ChatCommands::Hyperlink< linktag >
 
struct  Acore::Impl::CastToVisitor< T >
 
struct  Acore::ChatCommands::Variant< T1, Ts >
 

Namespaces

namespace  Acore
 
namespace  Acore::Impl
 
namespace  Acore::Impl::ChatCommands
 
namespace  Acore::ChatCommands
 

Macros

#define CHATCOMMANDS_IMPL_SPLIT_LITERAL_EXTRACT_CHAR(z, i, strliteral)    BOOST_PP_COMMA_IF(i) Acore::Impl::ChatCommands::GetChar(strliteral, i)
 
#define CHATCOMMANDS_IMPL_SPLIT_LITERAL_CONSTRAINED(maxlen, strliteral)    BOOST_PP_REPEAT(maxlen, CHATCOMMANDS_IMPL_SPLIT_LITERAL_EXTRACT_CHAR, strliteral)
 
#define CHATCOMMANDS_IMPL_SPLIT_LITERAL(strliteral)   CHATCOMMANDS_IMPL_SPLIT_LITERAL_CONSTRAINED(25, strliteral)
 
#define EXACT_SEQUENCE(str)   Acore::ChatCommands::ExactSequence<CHATCOMMANDS_IMPL_SPLIT_LITERAL(str)>
 

Functions

template<size_t N>
constexpr char Acore::Impl::ChatCommands::GetChar (char const (&s)[N], size_t i)
 

Macro Definition Documentation

◆ CHATCOMMANDS_IMPL_SPLIT_LITERAL

#define CHATCOMMANDS_IMPL_SPLIT_LITERAL (   strliteral)    CHATCOMMANDS_IMPL_SPLIT_LITERAL_CONSTRAINED(25, strliteral)

◆ CHATCOMMANDS_IMPL_SPLIT_LITERAL_CONSTRAINED

#define CHATCOMMANDS_IMPL_SPLIT_LITERAL_CONSTRAINED (   maxlen,
  strliteral 
)     BOOST_PP_REPEAT(maxlen, CHATCOMMANDS_IMPL_SPLIT_LITERAL_EXTRACT_CHAR, strliteral)

◆ CHATCOMMANDS_IMPL_SPLIT_LITERAL_EXTRACT_CHAR

#define CHATCOMMANDS_IMPL_SPLIT_LITERAL_EXTRACT_CHAR (   z,
  i,
  strliteral 
)     BOOST_PP_COMMA_IF(i) Acore::Impl::ChatCommands::GetChar(strliteral, i)

◆ EXACT_SEQUENCE

#define EXACT_SEQUENCE (   str)    Acore::ChatCommands::ExactSequence<CHATCOMMANDS_IMPL_SPLIT_LITERAL(str)>