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)
 Constructor.
virtual ~TAO_PG_Default_Property_Validator (void)
 Destructor.
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_BEGIN_VERSIONED_NAMESPACE_DECL TAO_PG_Default_Property_Validator::TAO_PG_Default_Property_Validator ( void   ) 

Constructor.

TAO_PG_Default_Property_Validator::~TAO_PG_Default_Property_Validator ( void   )  [virtual]

Destructor.


Member Function Documentation

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.

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.


Member Data Documentation

PortableGroup::Name TAO_PG_Default_Property_Validator::membership_ [private]

PortableGroup::Name TAO_PG_Default_Property_Validator::factories_ [private]


The documentation for this class was generated from the following files:
Generated on Mon Jun 25 17:07:37 2007 for TAO_PortableGroup by  doxygen 1.5.2-2