cpp-terminal
1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
args.cpp
Go to the documentation of this file.
1
/*
2
* cpp-terminal
3
* C++ library for writing multi-platform terminal applications.
4
*
5
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
6
*
7
* SPDX-License-Identifier: MIT
8
*/
9
10
#include "
cpp-terminal/args.hpp
"
11
12
namespace
Term
13
{
14
15
Term::Arguments::Arguments
() {}
16
17
Term::Argc::Argc
() {}
18
19
Term::Argc::operator
unsigned
int() {
return
static_cast<
unsigned
int
>
(
Term::Arguments::argc
()); }
20
21
Term::Argc::operator
unsigned
int()
const
{
return
static_cast<
unsigned
int
>
(
Term::Arguments::argc
()); }
22
23
std::string
Term::Arguments::operator[]
(
const
std::size_t& arg)
const
{
return
m_args[arg]; }
24
25
}
// namespace Term
args.hpp
Term::Argc::Argc
Argc()
Definition
args.cpp:17
Term::Arguments::Arguments
Arguments()
Definition
args.cpp:15
Term::Arguments::operator[]
std::string operator[](const std::size_t &arg) const
Definition
args.cpp:23
Term::Arguments::argc
static std::size_t argc()
Definition
args.cpp:83
Term
Definition
args.cpp:13
cpp-terminal
args.cpp
Generated by
1.11.0