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

#include <sanitizer.h>

Inheritance diagram for sanitizer::PositiveIntegerSanitizer:
Collaboration diagram for sanitizer::PositiveIntegerSanitizer:

Public Member Functions

 PositiveIntegerSanitizer ()
 
- Public Member Functions inherited from sanitizer::IntegerSanitizer
 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 110 of file sanitizer.h.

Constructor & Destructor Documentation

sanitizer::PositiveIntegerSanitizer::PositiveIntegerSanitizer ( )
inline

Definition at line 112 of file sanitizer.h.

Member Function Documentation

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

Reimplemented from sanitizer::IntegerSanitizer.

Definition at line 138 of file sanitizer.cc.

Here is the call graph for this function:


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