advgetopt 2.0.49
Parse complex command line arguments and configuration files in C++.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
anonymous_namespace{build_file_of_options.cpp}::build_file Class Reference
Collaboration diagram for anonymous_namespace{build_file_of_options.cpp}::build_file:
Collaboration graph
[legend]

Public Member Functions

 build_file (int argc, char *argv[])
 
int run ()
 

Private Member Functions

void append_flag (std::string &flags, std::string const &name)
 
int read_conf (std::string const &filename)
 

Private Attributes

std::ifstream f_in = std::ifstream()
 
advgetopt::getopt f_opt
 

Detailed Description

Definition at line 144 of file build_file_of_options.cpp.

Constructor & Destructor Documentation

◆ build_file()

anonymous_namespace{build_file_of_options.cpp}::build_file::build_file ( int  argc,
char *  argv[] 
)

Member Function Documentation

◆ append_flag()

void anonymous_namespace{build_file_of_options.cpp}::build_file::append_flag ( std::string &  flags,
std::string const &  name 
)
private

Definition at line 401 of file build_file_of_options.cpp.

Referenced by read_conf().

◆ read_conf()

int anonymous_namespace{build_file_of_options.cpp}::build_file::read_conf ( std::string const &  filename)
private

Definition at line 197 of file build_file_of_options.cpp.

References append_flag(), and f_in.

Referenced by run().

◆ run()

int anonymous_namespace{build_file_of_options.cpp}::build_file::run ( )

Member Data Documentation

◆ f_in

std::ifstream anonymous_namespace{build_file_of_options.cpp}::build_file::f_in = std::ifstream()
private

Definition at line 156 of file build_file_of_options.cpp.

Referenced by read_conf().

◆ f_opt

advgetopt::getopt anonymous_namespace{build_file_of_options.cpp}::build_file::f_opt
private

Definition at line 155 of file build_file_of_options.cpp.

Referenced by build_file(), and run().


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

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.