Savarese Software Research Corporation
CallParameter Struct Reference

#include <types.h>

List of all members.

Public Member Functions

 CallParameter (const string &name, 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 bool multi_value
const bool optional
const unsigned int min_size
const unsigned int max_size
const string name

Detailed Description

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


Constructor & Destructor Documentation

CallParameter::CallParameter ( const string name,
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 60 of file ws/types.h.


Member Function Documentation

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

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

References max_size, and min_size.


Member Data Documentation

const unsigned int CallParameter::max_size

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

Referenced by validate().

const unsigned int CallParameter::min_size

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

Referenced by validate().

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

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

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


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.