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.


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.

Definition at line 36 of file PG_Default_Property_Validator.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_PG_Default_Property_Validator::TAO_PG_Default_Property_Validator void   ) 
 

Constructor.

Definition at line 12 of file PG_Default_Property_Validator.cpp.

References factories_, membership_, and CORBA::string_dup().

00013   : membership_ (1),
00014     factories_ (1)
00015 {
00016   this->membership_.length (1);
00017   this->membership_[0].id = CORBA::string_dup ("org.omg.PortableGroup.MembershipStyle");
00018 
00019   this->factories_.length (1);
00020   this->factories_[0].id = CORBA::string_dup ("org.omg.PortableGroup.Factories");
00021 }

TAO_PG_Default_Property_Validator::~TAO_PG_Default_Property_Validator void   )  [virtual]
 

Destructor.

Definition at line 23 of file PG_Default_Property_Validator.cpp.

00024 {
00025 }


Member Data Documentation

PortableGroup::Name TAO_PG_Default_Property_Validator::factories_ [private]
 

Definition at line 77 of file PG_Default_Property_Validator.h.

Referenced by TAO_PG_Default_Property_Validator().

PortableGroup::Name TAO_PG_Default_Property_Validator::membership_ [private]
 

Definition at line 58 of file PG_Default_Property_Validator.h.

Referenced by TAO_PG_Default_Property_Validator().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 14:04:54 2006 for TAO_PortableGroup by doxygen 1.3.6