MongoDB
2.7.0

Implementation of a Constraint that makes two keys mutually exclusive. More...
#include <constraints.h>
Public Member Functions  
MutuallyExclusiveKeyConstraint (const Key &key, const Key &otherKey)  
Public Member Functions inherited from mongo::optionenvironment::KeyConstraint  
KeyConstraint (const Key &key)  
Public Member Functions inherited from mongo::optionenvironment::Constraint  
Status  operator() (const Environment &env) 
Additional Inherited Members  
Protected Attributes inherited from mongo::optionenvironment::KeyConstraint  
Key  _key 
Implementation of a Constraint that makes two keys mutually exclusive.
Fails if both keys are set.