MongoDB  2.7.0
Public Member Functions | Protected Attributes | List of all members
mongo::optionenvironment::KeyConstraint Class Reference

A KeyConstraint is a Constraint on a specific Key. More...

#include <constraints.h>

Inheritance diagram for mongo::optionenvironment::KeyConstraint:
mongo::optionenvironment::Constraint mongo::optionenvironment::ImmutableKeyConstraint mongo::optionenvironment::MutuallyExclusiveKeyConstraint mongo::optionenvironment::NumericKeyConstraint mongo::optionenvironment::RequiresOtherKeyConstraint mongo::optionenvironment::StringFormatKeyConstraint mongo::optionenvironment::TypeKeyConstraint< T >

Public Member Functions

 KeyConstraint (const Key &key)
 
- Public Member Functions inherited from mongo::optionenvironment::Constraint
Status operator() (const Environment &env)
 

Protected Attributes

Key _key
 

Detailed Description

A KeyConstraint is a Constraint on a specific Key.

Currently this is not handled any differently than a Constraint, and is only here as a way to help document whether a Constraint applies to a single Key or an Environment as a whole


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