JayBeams  0.1
Another project to have fun coding.
Public Member Functions | Public Attributes | List of all members
jb::config_object::attribute_descriptor Struct Reference

An attribute descriptor. More...

#include <config_object.hpp>

Public Member Functions

 attribute_descriptor ()
 
 attribute_descriptor (std::string const &n)
 
 attribute_descriptor (std::string const &n, std::string const &c)
 
attribute_descriptorhelp (std::string const &h)
 
attribute_descriptorpositional ()
 

Public Attributes

std::string name
 
std::string class_name
 
std::string helpmsg
 
bool is_positional
 

Detailed Description

An attribute descriptor.

Definition at line 148 of file config_object.hpp.

Constructor & Destructor Documentation

◆ attribute_descriptor() [1/3]

jb::config_object::attribute_descriptor::attribute_descriptor ( )
inline

Definition at line 149 of file config_object.hpp.

Referenced by jb::config_object::desc().

◆ attribute_descriptor() [2/3]

jb::config_object::attribute_descriptor::attribute_descriptor ( std::string const &  n)
inlineexplicit

Definition at line 152 of file config_object.hpp.

◆ attribute_descriptor() [3/3]

jb::config_object::attribute_descriptor::attribute_descriptor ( std::string const &  n,
std::string const &  c 
)
inline

Definition at line 155 of file config_object.hpp.

Member Function Documentation

◆ help()

attribute_descriptor& jb::config_object::attribute_descriptor::help ( std::string const &  h)
inline

Definition at line 162 of file config_object.hpp.

References helpmsg.

Referenced by jb::config_recurse::add_options().

◆ positional()

attribute_descriptor& jb::config_object::attribute_descriptor::positional ( )
inline

Definition at line 167 of file config_object.hpp.

References is_positional.

Member Data Documentation

◆ class_name

std::string jb::config_object::attribute_descriptor::class_name

Definition at line 173 of file config_object.hpp.

◆ helpmsg

std::string jb::config_object::attribute_descriptor::helpmsg

◆ is_positional

bool jb::config_object::attribute_descriptor::is_positional

Definition at line 175 of file config_object.hpp.

Referenced by positional().

◆ name

std::string jb::config_object::attribute_descriptor::name

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