Public Member Functions | Protected Attributes | List of all members
basis::ExistingDirectoryConstraint Class Reference

Constrain argument values to paths of existing directories. More...

#include <CmdArgs.h>

+ Inheritance diagram for basis::ExistingDirectoryConstraint:
+ Collaboration diagram for basis::ExistingDirectoryConstraint:

Public Member Functions

virtual bool check (const std::string &value) const
 
virtual std::string description () const
 
 ExistingDirectoryConstraint (const std::string &typeDesc="<dir>")
 
virtual std::string shortID () const
 
virtual ~ExistingDirectoryConstraint ()
 

Protected Attributes

std::string _typeDesc
 

Detailed Description

Constrain argument values to paths of existing directories.

Definition at line 254 of file CmdArgs.h.

Constructor & Destructor Documentation

§ ExistingDirectoryConstraint()

basis::ExistingDirectoryConstraint::ExistingDirectoryConstraint ( const std::string &  typeDesc = "<dir>")
inline

Definition at line 257 of file CmdArgs.h.

§ ~ExistingDirectoryConstraint()

virtual basis::ExistingDirectoryConstraint::~ExistingDirectoryConstraint ( )
inlinevirtual

Definition at line 258 of file CmdArgs.h.

Member Function Documentation

§ check()

virtual bool basis::ExistingDirectoryConstraint::check ( const std::string &  value) const
inlinevirtual

Definition at line 261 of file CmdArgs.h.

§ description()

virtual std::string basis::ExistingDirectoryConstraint::description ( ) const
inlinevirtual

Definition at line 259 of file CmdArgs.h.

§ shortID()

virtual std::string basis::ExistingDirectoryConstraint::shortID ( ) const
inlinevirtual

Definition at line 260 of file CmdArgs.h.

Member Data Documentation

§ _typeDesc

std::string basis::ExistingDirectoryConstraint::_typeDesc
protected

Definition at line 263 of file CmdArgs.h.


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