InspIRCd  3.0
Public Member Functions | List of all members
CommandBase::Params Class Reference

#include <ctables.h>

Inheritance diagram for CommandBase::Params:

Public Member Functions

 Params (const std::vector< std::string > &paramsref, const ClientProtocol::TagMap &tagsref)
template<typename Iterator >
 Params (Iterator first, Iterator last)
 Params ()
const ClientProtocol::TagMapGetTags () const

Detailed Description

Encapsulates parameters to a command.

Constructor & Destructor Documentation

◆ Params() [1/3]

CommandBase::Params::Params ( const std::vector< std::string > &  paramsref,
const ClientProtocol::TagMap tagsref 

Initializes a new instance from parameter and tag references.

paramsrefMessage parameters.
tagsrefIRCv3 message tags.

◆ Params() [2/3]

template<typename Iterator >
CommandBase::Params::Params ( Iterator  first,
Iterator  last 

Initializes a new instance from parameter iterators.

firstThe first element in the parameter array.
lastThe last element in the parameter array.

◆ Params() [3/3]

CommandBase::Params::Params ( )

Initializes a new empty instance.

Member Function Documentation

◆ GetTags()

const ClientProtocol::TagMap& CommandBase::Params::GetTags ( ) const

Retrieves the IRCv3 message tags.

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