MongoDB  2.7.0
Public Member Functions | List of all members
mongo::optionenvironment::TypeKeyConstraint< T > Class Template Reference

Implementation of a Constraint on the type of a Value. More...

#include <constraints.h>

Inheritance diagram for mongo::optionenvironment::TypeKeyConstraint< T >:
mongo::optionenvironment::KeyConstraint mongo::optionenvironment::Constraint

Public Member Functions

 TypeKeyConstraint (const Key &k)
 
- 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
 

Detailed Description

template<typename T>
class mongo::optionenvironment::TypeKeyConstraint< T >

Implementation of a Constraint on the type of a Value.

Fails if we cannot extract the given type from our Value, which means the implementation of the access functions of Value controls which types are "compatible"


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