LogDoctor/docs/html/classVecOps.html

6.4 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< T > Class Template Reference

VecOps. More...

#include <vectors.h>

Static Public Member Functions

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

Detailed Description

template<typename T>
class VecOps< T >

VecOps.

Utilities for the vectors

Member Function Documentation

◆ contains()

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

Checks if a vector contains an element.

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>