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

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

#include <CmdArgs.h>

+ Inheritance diagram for basis::ExistingFileConstraint:
+ Collaboration diagram for basis::ExistingFileConstraint:

Public Member Functions

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

Protected Attributes

std::string _typeDesc
 

Detailed Description

Constrain argument values to paths of existing files.

Definition at line 239 of file CmdArgs.h.

Constructor & Destructor Documentation

§ ExistingFileConstraint()

basis::ExistingFileConstraint::ExistingFileConstraint ( const std::string &  typeDesc = "<file>")
inline

Definition at line 242 of file CmdArgs.h.

§ ~ExistingFileConstraint()

virtual basis::ExistingFileConstraint::~ExistingFileConstraint ( )
inlinevirtual

Definition at line 243 of file CmdArgs.h.

Member Function Documentation

§ check()

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

Definition at line 246 of file CmdArgs.h.

§ description()

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

Definition at line 244 of file CmdArgs.h.

§ shortID()

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

Definition at line 245 of file CmdArgs.h.

Member Data Documentation

§ _typeDesc

std::string basis::ExistingFileConstraint::_typeDesc
protected

Definition at line 248 of file CmdArgs.h.


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