advgetopt 2.0.49
Parse complex command line arguments and configuration files in C++.
Classes | Namespaces
validator_length.h File Reference

Declaration of the length validator. More...

#include <advgetopt/validator.h>
#include <cstdint>
#include <limits>
Include dependency graph for validator_length.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  advgetopt::validator_length::range_t
 
class  advgetopt::validator_length
 

Namespaces

namespace  advgetopt
 The advgetopt environment to parse command line options.
 

Detailed Description

The advgetopt library offers a length validator which verifies that the parameter has that many characters.

The length are written as ranges separated by commas (,):

length(1...100,128)

A number by itself means the length can be that number of characters or less.

Definition in file validator_length.h.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.