#include <cmath>
#include <fstream>
#include <iostream>
#include <random>
#include <regex>
#include <fmt/format.h>
#include <boost/lexical_cast.hpp>
#include <boost/program_options.hpp>
|
bool | CheckPartyArgumentSyntax (const std::string &party_argument) |
|
std::pair< program_options::variables_map, bool > | ParseProgramOptions (int ac, char *av[]) |
|
encrypto::motion::PartyPointer | CreateParty (const program_options::variables_map &user_options) |
|
int | main (int ac, char *av[]) |
|
const std::regex | kPartyArgumentRegex ("(\\d+),(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}),(\\d{1,5})") |
|
std::tuple< std::size_t, std::string, std::uint16_t > | ParsePartyArgument (const std::string &party_argument) |
|
◆ CheckPartyArgumentSyntax()
bool CheckPartyArgumentSyntax |
( |
const std::string & |
party_argument | ) |
|
◆ CreateParty()
◆ kPartyArgumentRegex()
const std::regex kPartyArgumentRegex |
( |
" |
\\d+, |
|
|
(\\d{1, 3}\\.\\d{1, 3}\\.\\d{1, 3}\\.\\d{1, 3}) |
, |
|
|
(\\d{1, 5})" |
|
|
) |
| |
◆ main()
int main |
( |
int |
ac, |
|
|
char * |
av[] |
|
) |
| |
◆ ParsePartyArgument()
std::tuple<std::size_t, std::string, std::uint16_t> ParsePartyArgument |
( |
const std::string & |
party_argument | ) |
|
◆ ParseProgramOptions()
std::pair< program_options::variables_map, std::vector< bool > > ParseProgramOptions |
( |
int |
ac, |
|
|
char * |
av[] |
|
) |
| |