OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::OptionList::LexComment Class Reference

#include <options.hpp>

Inheritance diagram for openvpn::OptionList::LexComment:
[legend]
Collaboration diagram for openvpn::OptionList::LexComment:
[legend]

Public Member Functions

 LexComment ()=default
 
void put (char c)
 
bool available () const
 
int get () const
 
void reset ()
 
- Public Member Functions inherited from openvpn::LexQuoteMixin
bool in_quote () const
 Check if currently inside a quote.
 

Private Attributes

bool in_comment = false
 
bool backslash = false
 
int ch = -1
 

Additional Inherited Members

- Protected Member Functions inherited from openvpn::LexQuoteMixin
bool handle_quote (char c)
 Handle a character as a potential quote.
 

Detailed Description

Definition at line 533 of file options.hpp.

Constructor & Destructor Documentation

◆ LexComment()

openvpn::OptionList::LexComment::LexComment ( )
default

Member Function Documentation

◆ available()

bool openvpn::OptionList::LexComment::available ( ) const
inline

Definition at line 569 of file options.hpp.

◆ get()

int openvpn::OptionList::LexComment::get ( ) const
inline

Definition at line 573 of file options.hpp.

◆ put()

void openvpn::OptionList::LexComment::put ( char  c)
inline

Definition at line 538 of file options.hpp.

◆ reset()

void openvpn::OptionList::LexComment::reset ( )
inline

Definition at line 577 of file options.hpp.

Member Data Documentation

◆ backslash

bool openvpn::OptionList::LexComment::backslash = false
private

Definition at line 584 of file options.hpp.

◆ ch

int openvpn::OptionList::LexComment::ch = -1
private

Definition at line 585 of file options.hpp.

◆ in_comment

bool openvpn::OptionList::LexComment::in_comment = false
private

Definition at line 583 of file options.hpp.


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