CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sanitizer::IntegerSanitizer Class Reference

#include <sanitizer.h>

Inheritance diagram for sanitizer::IntegerSanitizer:
Collaboration diagram for sanitizer::IntegerSanitizer:

Public Member Functions

 IntegerSanitizer ()
- Public Member Functions inherited from sanitizer::InputSanitizer
 InputSanitizer (const std::string &whitelist)
 InputSanitizer (const std::string &whitelist, int max_length)
virtual ~InputSanitizer ()
std::string Filter (const std::string &input) const
bool IsValid (const std::string &input) const

Protected Member Functions

virtual bool Sanitize (std::string::const_iterator begin, std::string::const_iterator end, std::string *filtered_output) const
- Protected Member Functions inherited from sanitizer::InputSanitizer
bool Sanitize (const std::string &input, std::string *filtered_output) const
bool CheckRanges (const char chr) const

Detailed Description

Definition at line 99 of file sanitizer.h.

Constructor & Destructor Documentation

sanitizer::IntegerSanitizer::IntegerSanitizer ( )

Definition at line 101 of file sanitizer.h.

Member Function Documentation

bool sanitizer::IntegerSanitizer::Sanitize ( std::string::const_iterator  begin,
std::string::const_iterator  end,
std::string *  filtered_output 
) const

Reimplemented from sanitizer::InputSanitizer.

Reimplemented in sanitizer::PositiveIntegerSanitizer.

Definition at line 120 of file

Here is the call graph for this function:

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