rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
List of all members | Public Member Functions | Public Attributes
DataTree.NullCreator Class Reference

Detailed Description

Simple DataTree.ICreator copying the original tree and applying a custom function to its leafs returning nothing.

This creator is used by the INode.leaf_func() method.

Definition at line 18 of file NullCreator.m.

Inheritance diagram for DataTree.NullCreator:
Inheritance graph
[legend]
Collaboration diagram for DataTree.NullCreator:
Collaboration graph
[legend]

Public Member Functions

 NullCreator (funcptr)
 constructor of this creator More...
 
function  create_leaf_node (arg_node, basepath, mu_cube, tslice)
 is called on leaf elements of a DataTree and returns a new leaf out of it. More...
 
- Public Member Functions inherited from DataTree.CreatorDefault
function node = create_tpart_node (t_part_map, initvalues)
 is called on DataTree.PpartNode elements of a DataTree and returns a new p-part node out of it. More...
 
function node = create_idmap_node (id_map, initvalues)
 is called on DataTree.IdMapNode elements of a DataTree and returns a new ID mapped node out of it. More...
 
function node = create_ppart_node (p_part_map, initvalues)
 is called on DataTree.PpartNode elements of a DataTree and returns a new p-part node out of it. More...
 
- Public Member Functions inherited from DataTree.ICreator
virtual function DataTree.ILeafNode node = create_leaf_node (DataTree.ILeafNode arg_node, basepath, mu_cube, tslice)
 is called on leaf elements of a DataTree and returns a new leaf out of it. More...
 

Public Attributes

 funcptr
 function_handle to a custom function applied to all leaf elements More...
 

Constructor & Destructor Documentation

DataTree.NullCreator.NullCreator (   funcptr)

constructor of this creator

Parameters
funcptrfunction handle to a custom function applied to all leaf elements

Definition at line 47 of file NullCreator.m.

Member Function Documentation

function DataTree.NullCreator.create_leaf_node (   arg_node,
  basepath,
  mu_cube,
  tslice 
)

is called on leaf elements of a DataTree and returns a new leaf out of it.

Parameters
arg_nodeoriginal leaf which shall be used as basis for the creation of a new one.
basepathpath from the root element to the current leaf.
mu_cuberestriction of the parameter as described in Sub-tree definition
tslicerestriction of the time domain as described in Sub-tree definition
Return values
nodethe freshly generated leaf element

Definition at line 58 of file NullCreator.m.

Member Data Documentation

DataTree.NullCreator.funcptr

function_handle to a custom function applied to all leaf elements

The function synopsis is: funcptr(arg_node)

Definition at line 34 of file NullCreator.m.


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