Savarese Software Research Corporation
PatternParameter Struct Reference

#include <types.h>

Inheritance diagram for PatternParameter:

List of all members.

Public Types

typedef CallParameter super

Public Member Functions

 PatternParameter (const string &name, const string &pattern, const unsigned int min_size=1, const unsigned int max_size=128, const bool multi_value=false, const bool optional=false)
virtual bool validate (const string &value) const

Public Attributes

const boost::regex pattern

Detailed Description

Definition at line 74 of file ws/types.h.


Member Typedef Documentation

typedef CallParameter PatternParameter::super

Definition at line 75 of file ws/types.h.


Constructor & Destructor Documentation

PatternParameter::PatternParameter ( const string name,
const string pattern,
const unsigned int  min_size = 1,
const unsigned int  max_size = 128,
const bool  multi_value = false,
const bool  optional = false 
) [inline]

Definition at line 78 of file ws/types.h.


Member Function Documentation

virtual bool PatternParameter::validate ( const string value) const [inline, virtual]

Definition at line 88 of file ws/types.h.

References pattern.


Member Data Documentation

const boost::regex PatternParameter::pattern

Definition at line 76 of file ws/types.h.

Referenced by validate().


The documentation for this struct was generated from the following file:

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.