GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::regexp::opts Class Reference

#include "lo-regexp.h"

Collaboration diagram for octave::regexp::opts:

Public Member Functions

 opts (void)
 
 opts (const opts &o)
 
 ~opts (void)=default
 
void case_insensitive (bool val)
 
bool case_insensitive (void) const
 
void dotexceptnewline (bool val)
 
bool dotexceptnewline (void) const
 
void emptymatch (bool val)
 
bool emptymatch (void) const
 
void freespacing (bool val)
 
bool freespacing (void) const
 
void lineanchors (bool val)
 
bool lineanchors (void) const
 
void once (bool val)
 
bool once (void) const
 
optsoperator= (const opts &o)
 

Private Attributes

bool x_case_insensitive
 
bool x_dotexceptnewline
 
bool x_emptymatch
 
bool x_freespacing
 
bool x_lineanchors
 
bool x_once
 

Detailed Description

Definition at line 137 of file lo-regexp.h.

Constructor & Destructor Documentation

◆ opts() [1/2]

octave::regexp::opts::opts ( void  )
inline

Definition at line 141 of file lo-regexp.h.

◆ opts() [2/2]

octave::regexp::opts::opts ( const opts o)
inline

Definition at line 146 of file lo-regexp.h.

◆ ~opts()

octave::regexp::opts::~opts ( void  )
default

Member Function Documentation

◆ case_insensitive() [1/2]

void octave::regexp::opts::case_insensitive ( bool  val)
inline

Definition at line 172 of file lo-regexp.h.

References val.

Referenced by octave::regexp::compile_internal().

◆ case_insensitive() [2/2]

bool octave::regexp::opts::case_insensitive ( void  ) const
inline

Definition at line 179 of file lo-regexp.h.

◆ dotexceptnewline() [1/2]

void octave::regexp::opts::dotexceptnewline ( bool  val)
inline

Definition at line 173 of file lo-regexp.h.

References val.

Referenced by octave::regexp::compile_internal().

◆ dotexceptnewline() [2/2]

bool octave::regexp::opts::dotexceptnewline ( void  ) const
inline

Definition at line 180 of file lo-regexp.h.

◆ emptymatch() [1/2]

void octave::regexp::opts::emptymatch ( bool  val)
inline

Definition at line 174 of file lo-regexp.h.

References val.

Referenced by octave::regexp::match().

◆ emptymatch() [2/2]

bool octave::regexp::opts::emptymatch ( void  ) const
inline

Definition at line 181 of file lo-regexp.h.

◆ freespacing() [1/2]

void octave::regexp::opts::freespacing ( bool  val)
inline

Definition at line 175 of file lo-regexp.h.

References val.

Referenced by octave::regexp::compile_internal().

◆ freespacing() [2/2]

bool octave::regexp::opts::freespacing ( void  ) const
inline

Definition at line 182 of file lo-regexp.h.

◆ lineanchors() [1/2]

void octave::regexp::opts::lineanchors ( bool  val)
inline

Definition at line 176 of file lo-regexp.h.

References val.

Referenced by octave::regexp::compile_internal().

◆ lineanchors() [2/2]

bool octave::regexp::opts::lineanchors ( void  ) const
inline

Definition at line 183 of file lo-regexp.h.

◆ once() [1/2]

void octave::regexp::opts::once ( bool  val)
inline

Definition at line 177 of file lo-regexp.h.

References val.

Referenced by octave::regexp::match().

◆ once() [2/2]

bool octave::regexp::opts::once ( void  ) const
inline

Definition at line 184 of file lo-regexp.h.

◆ operator=()

opts& octave::regexp::opts::operator= ( const opts o)
inline

Member Data Documentation

◆ x_case_insensitive

bool octave::regexp::opts::x_case_insensitive
private

Definition at line 188 of file lo-regexp.h.

Referenced by operator=().

◆ x_dotexceptnewline

bool octave::regexp::opts::x_dotexceptnewline
private

Definition at line 189 of file lo-regexp.h.

Referenced by operator=().

◆ x_emptymatch

bool octave::regexp::opts::x_emptymatch
private

Definition at line 190 of file lo-regexp.h.

Referenced by operator=().

◆ x_freespacing

bool octave::regexp::opts::x_freespacing
private

Definition at line 191 of file lo-regexp.h.

Referenced by operator=().

◆ x_lineanchors

bool octave::regexp::opts::x_lineanchors
private

Definition at line 192 of file lo-regexp.h.

Referenced by operator=().

◆ x_once

bool octave::regexp::opts::x_once
private

Definition at line 193 of file lo-regexp.h.

Referenced by operator=().


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