|
|
__init__(self,
name,
parent,
node_type=UNDEFINED)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find_resource(self,
lst)
Find an existing input file: either a build node declared previously
or a source node |
source code
|
|
|
|
find_or_declare(self,
lst)
Used for declaring a build node representing a file being built |
source code
|
|
|
|
ensure_dir_node_from_path(self,
lst)
used very rarely, force the construction of a branch of node instance
for representing folders |
source code
|
|
|
|
exclusive_build_node(self,
path)
create a hierarchy in the build dir (no source folders) for
ill-behaving compilers the node is not hashed, so you must do it
manually |
source code
|
|
|
|
path_to_parent(self,
parent)
path relative to a direct ancestor, as string |
source code
|
|
|
|
|
|
|
relpath_gen(self,
going_to)
string representing a relative path between self to another node |
source code
|
|
|
|
nice_path(self,
env=None)
printed in the console, open files easily from the launch directory |
source code
|
|
|
|
|
|
|
is_child_of(self,
node)
does this node belong to the subtree node |
source code
|
|
|
|
variant(self,
env)
variant, or output directory for this node, a source has for variant
0 |
source code
|
|
|
|
|
|
|
change_ext(self,
ext)
node of the same path, but with a different extension |
source code
|
|
|
|
src_dir(self,
env)
src path without the file name |
source code
|
|
|
|
bld_dir(self,
env)
build path without the file name |
source code
|
|
|
|
bld_base(self,
env)
build path without the extension: src/dir/foo(.cpp) |
source code
|
|
|
|
bldpath(self,
env=None)
path seen from the build dir default/src/foo.cpp |
source code
|
|
|
|
srcpath(self,
env=None)
path in the srcdir from the build dir ../src/foo.cpp |
source code
|
|
|
|
read(self,
env)
get the contents of a file, it is not used anywhere for the moment |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__
|