![]() |
advgetopt 2.0.47
Parse complex command line arguments and configuration files in C++.
|
#include <conf_file.h>
Public Member Functions | |
parameter_value () | |
parameter_value (parameter_value const &rhs) | |
parameter_value (std::string const &value) | |
assignment_t | get_assignment_operator () const |
std::string | get_comment (bool ensure_newline=false) const |
int | get_line () const |
std::string const & | get_value () const |
operator std::string () const | |
parameter_value & | operator= (parameter_value const &rhs) |
parameter_value & | operator= (std::string const &value) |
void | set_assignment_operator (assignment_t a) |
void | set_comment (std::string const &comment) |
void | set_line (int line) |
void | set_value (std::string const &value) |
Private Attributes | |
assignment_t | f_assignment_operator = assignment_t::ASSIGNMENT_SET |
std::string | f_comment = std::string() |
int | f_line = 0 |
std::string | f_value = std::string() |
Definition at line 153 of file conf_file.h.
advgetopt::parameter_value::parameter_value | ( | ) |
Definition at line 650 of file conf_file.cpp.
advgetopt::parameter_value::parameter_value | ( | parameter_value const & | rhs | ) |
Definition at line 655 of file conf_file.cpp.
advgetopt::parameter_value::parameter_value | ( | std::string const & | value | ) |
Definition at line 664 of file conf_file.cpp.
assignment_t advgetopt::parameter_value::get_assignment_operator | ( | ) | const |
Definition at line 762 of file conf_file.cpp.
References f_assignment_operator.
Definition at line 739 of file conf_file.cpp.
References f_comment.
int advgetopt::parameter_value::get_line | ( | ) | const |
Definition at line 756 of file conf_file.cpp.
References f_line.
std::string const & advgetopt::parameter_value::get_value | ( | ) | const |
Definition at line 733 of file conf_file.cpp.
References f_value.
advgetopt::parameter_value::operator std::string | ( | ) | const |
Definition at line 690 of file conf_file.cpp.
parameter_value & advgetopt::parameter_value::operator= | ( | parameter_value const & | rhs | ) |
Definition at line 670 of file conf_file.cpp.
References f_assignment_operator, f_comment, f_line, and f_value.
parameter_value & advgetopt::parameter_value::operator= | ( | std::string const & | value | ) |
Definition at line 683 of file conf_file.cpp.
References f_value.
void advgetopt::parameter_value::set_assignment_operator | ( | assignment_t | a | ) |
Definition at line 727 of file conf_file.cpp.
References f_assignment_operator.
Definition at line 702 of file conf_file.cpp.
References f_comment.
Definition at line 721 of file conf_file.cpp.
References f_line.
Definition at line 696 of file conf_file.cpp.
References f_value.
|
private |
Definition at line 178 of file conf_file.h.
Referenced by get_assignment_operator(), operator=(), and set_assignment_operator().
|
private |
Definition at line 176 of file conf_file.h.
Referenced by get_comment(), operator=(), and set_comment().
|
private |
Definition at line 177 of file conf_file.h.
Referenced by get_line(), operator=(), and set_line().
|
private |
Definition at line 175 of file conf_file.h.
Referenced by get_value(), operator=(), operator=(), and set_value().
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.