SFrame 3.6
SOutputVariables< ParentType > Class Template Reference

Base class for classes holding output variables. More...

#include <plug-ins/include/SOutputVariables.h>

List of all members.

Public Member Functions

 SOutputVariables (ParentType *parent)
 Constructor that specifies the parent cycle.

Protected Member Functions

template<typename T >
TBranch * DeclareVariable (T &obj, const char *name, const char *treeName=0) throw ( SError )
 Declare an output variable.

Detailed Description

template<class ParentType>
class SOutputVariables< ParentType >

Base class for classes holding output variables.

This class can be used to serve as a base class for classes whose only purpose is to collect output variables. This can make it simpler to fill the variables of an output ntuple with multiple separate code pieces.

I should note however that when using SToolBase as the basis of the code pieces calculating the output variables, one can just fill the variables in the tools directly.

Version:
Revision:
189

Definition at line 38 of file SOutputVariables.h.


Constructor & Destructor Documentation

template<class ParentType >
SOutputVariables< ParentType >::SOutputVariables ( ParentType *  parent)

Constructor that specifies the parent cycle.

Definition at line 18 of file SOutputVariables.icc.


Member Function Documentation

template<class ParentType >
template<typename T >
TBranch * SOutputVariables< ParentType >::DeclareVariable ( T &  obj,
const char *  name,
const char *  treeName = 0 
) throw ( SError ) [protected]

Declare an output variable.

Definition at line 26 of file SOutputVariables.icc.


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