LogDoctor/docs/html/classVecOps.html

6.7 KiB

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> </head>
LogDoctor 2.00
Parse Apache2/Nginx/IIS logs and create statistics
Loading...
Searching...
No Matches

VecOps. More...

#include <vectors.h>

Static Public Member Functions

static const bool contains (const std::vector< int > &list, const int &flag)
 Checks if a vector of integers contains an element. More...
 

Detailed Description

VecOps.

Utilities for the vectors

Member Function Documentation

◆ contains()

static const bool VecOps::contains ( const std::vector< int > &  list,
const int &  flag 
)
static

Checks if a vector of integers contains an element.

Parameters
listThe target vector
flagThe element to search for
Returns
Whether the list does contain the flag or not

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
listThe target vector
flagThe element to search for
Returns
Whether the list does contain the flag or not

The documentation for this class was generated from the following files:
  • logdoctor/utilities/vectors.h
  • logdoctor/utilities/vectors.cpp

Generated by doxygen 1.9.5 </html>