Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
CLI::ConfigItem Struct Reference

Holds values to load into Options. More...

#include <CLI11.hpp>

Collaboration diagram for CLI::ConfigItem:

Public Member Functions

std::string fullname () const
 The list of parents and name joined by ".".
 

Public Attributes

std::vector< std::string > parents {}
 This is the list of parents.
 
std::string name {}
 This is the name.
 
std::vector< std::string > inputs {}
 Listing of inputs.
 

Detailed Description

Definition at line 1963 of file CLI11.hpp.

Member Function Documentation

◆ fullname()

std::string CLI::ConfigItem::fullname ( ) const
inline

Definition at line 1974 of file CLI11.hpp.

1974 {
1975 std::vector<std::string> tmp = parents;
1976 tmp.emplace_back(name);
1977 return detail::join(tmp, ".");
1978 }
std::string join(const T &v, std::string delim=",")
Simple function to join a string.
Definition CLI11.hpp:196
std::string name
This is the name.
Definition CLI11.hpp:1968
std::vector< std::string > parents
This is the list of parents.
Definition CLI11.hpp:1965
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ inputs

std::vector<std::string> CLI::ConfigItem::inputs {}

Definition at line 1971 of file CLI11.hpp.

1971{};

◆ name

std::string CLI::ConfigItem::name {}

Definition at line 1968 of file CLI11.hpp.

1968{};

◆ parents

std::vector<std::string> CLI::ConfigItem::parents {}

Definition at line 1965 of file CLI11.hpp.

1965{};

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