Package SCons :: Package Variables :: Module PathVariable' :: Class _PathVariableClass
[hide private]
[frames] | no frames]

Class _PathVariableClass

source code

Instance Methods [hide private]
 
PathAccept(self, key, val, env)
Accepts any path, no checking done.
source code
 
PathExists(self, key, val, env)
validator to check if Path exists
source code
 
PathIsDir(self, key, val, env)
Validator to check if Path is a directory.
source code
 
PathIsDirCreate(self, key, val, env)
Validator to check if Path is a directory, creating it if it does not exist.
source code
 
PathIsFile(self, key, val, env)
validator to check if Path is a file
source code
 
__call__(self, key, help, default, validator=False)
The input parameters describe a 'path list' option, thus they are returned with the correct converter and validator appended.
source code
Method Details [hide private]

__call__(self, key, help, default, validator=False)
(Call operator)

source code 

The input parameters describe a 'path list' option, thus they
are returned with the correct converter and validator appended. The
result is usable for input to opts.Add() .

The 'default' option specifies the default path to use if the
user does not specify an override with this option.

validator is a validator, see this file for examples