Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
toolbox::util::ArgvSequence Class Reference

Utility class that allows an argv array to be treated as a sequence. More...

#include <toolbox/util/Argv.hpp>

Public Types

using ConstIterator = const char *const *
 

Public Member Functions

constexpr ArgvSequence (int argc, const char *const argv[])
 
 ~ArgvSequence ()=default
 
constexpr ArgvSequence (const ArgvSequence &) noexcept=default
 
constexpr ArgvSequenceoperator= (const ArgvSequence &) noexcept=default
 
constexpr ArgvSequence (ArgvSequence &&) noexcept=default
 
constexpr ArgvSequenceoperator= (ArgvSequence &&) noexcept=default
 
constexpr ConstIterator begin () const noexcept
 
constexpr ConstIterator end () const noexcept
 

Detailed Description

Utility class that allows an argv array to be treated as a sequence.

Definition at line 29 of file Argv.hpp.

Member Typedef Documentation

◆ ConstIterator

Definition at line 31 of file Argv.hpp.

Constructor & Destructor Documentation

◆ ArgvSequence() [1/3]

constexpr toolbox::util::ArgvSequence::ArgvSequence ( int  argc,
const char *const  argv[] 
)
inlineconstexpr

Definition at line 32 of file Argv.hpp.

◆ ~ArgvSequence()

toolbox::util::ArgvSequence::~ArgvSequence ( )
default

◆ ArgvSequence() [2/3]

constexpr toolbox::util::ArgvSequence::ArgvSequence ( const ArgvSequence )
constexprdefaultnoexcept

◆ ArgvSequence() [3/3]

constexpr toolbox::util::ArgvSequence::ArgvSequence ( ArgvSequence &&  )
constexprdefaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

constexpr ArgvSequence & toolbox::util::ArgvSequence::operator= ( const ArgvSequence )
constexprdefaultnoexcept

◆ operator=() [2/2]

constexpr ArgvSequence & toolbox::util::ArgvSequence::operator= ( ArgvSequence &&  )
constexprdefaultnoexcept

◆ begin()

constexpr ConstIterator toolbox::util::ArgvSequence::begin ( ) const
inlineconstexprnoexcept

Definition at line 47 of file Argv.hpp.

◆ end()

constexpr ConstIterator toolbox::util::ArgvSequence::end ( ) const
inlineconstexprnoexcept

Definition at line 48 of file Argv.hpp.


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