TAO_PortableGroup 2.0.1
Public Member Functions

TAO_PG_Default_Property_Validator Class Reference

Default property validator implementation. More...

#include <PG_Default_Property_Validator.h>

List of all members.

Public Member Functions

 TAO_PG_Default_Property_Validator (void)
virtual ~TAO_PG_Default_Property_Validator (void)
virtual void validate_property (const PortableGroup::Properties &props)
virtual void validate_criteria (const PortableGroup::Properties &criteria)

Private Attributes

Pre-initialize property Names.

These properties are pre-initialized once to reduce property validation overhead. Note that the InitialNumberReplicas and MinimumNumberReplicas properties are not validated since there are no restrictions imposed by TAO's PortableGroup implementation regarding the number of such members.

PortableGroup::Name membership_
PortableGroup::Name factories_

Detailed Description

Default property validator implementation.

This Property_Validator verifies that all properties defined in the PortableGroup IDL module are valid. This property validator can be subclassed to validate a different property set.

Constructor & Destructor Documentation

TAO_PG_Default_Property_Validator::TAO_PG_Default_Property_Validator ( void  )


TAO_PG_Default_Property_Validator::~TAO_PG_Default_Property_Validator ( void  ) [virtual]


Member Function Documentation

void TAO_PG_Default_Property_Validator::validate_criteria ( const PortableGroup::Properties criteria) [virtual]

Validate the given properties/criteria. All criteria will be validated regardless of whether or not an invalid property was encountered.

The invalid criteria index.

void TAO_PG_Default_Property_Validator::validate_property ( const PortableGroup::Properties props) [virtual]

Validate the given properties. Throw an exception when the first invalid property is encountered. The remaining properties will not be validated.

Member Data Documentation

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines