Public Member Functions | |
RCP (const F x) | |
RCP () | |
Default constructor. | |
RCP (const Formula< F > *x) | |
RCP (boost::shared_ptr< const Formula< F > > &x) | |
template<class H > | |
RCP (const boost::shared_ptr< H > &x) | |
template<class H , class I > | |
RCP (H x, I y) | |
Constructor with any two parameters. | |
RCP (const Formula< F > &x) | |
@obsolete: try to write code which does NOT depend on this function, | |
RCP< const Formula< F > > & | operator= (const RCP< const Formula< F > > &x) |
template<class H > | |
RCP< const Formula< F > > & | operator= (const RCP< H > &x) |
RCP (const F x) | |
RCP () | |
Default constructor. | |
RCP (const Formula< F > *x) | |
RCP (std::shared_ptr< const Formula< F > > &x) | |
template<class H > | |
RCP (const std::shared_ptr< H > &x) | |
template<class H , class I > | |
RCP (H x, I y) | |
Constructor with any two parameters. | |
RCP (const Formula< F > &x) | |
@obsolete: try to write code which does NOT depend on this function, | |
RCP< const Formula< F > > & | operator= (const RCP< const Formula< F > > &x) |
template<class H > | |
RCP< const Formula< F > > & | operator= (const RCP< H > &x) |
Definition at line 132 of file elementFormulaRCP_boost.hh.
|
inlineexplicit |
Special constructor for a constant.
So, a constant can simply given to functions where a RCP<ElementFormula<F> > is expected.
Definition at line 142 of file elementFormulaRCP_boost.hh.
|
inline |
Default constructor.
Definition at line 146 of file elementFormulaRCP_boost.hh.
|
inlineexplicit |
Constructor for a simple pointer to ElementFormula, which will be deleted by the RCP.
It should be only called with pointer to dynamic variables, e.g.
RCP<const ElementFormula<Real> > p(new ConstFormula<Real>(4));
Do NOT use it with pointers to variables in the stack. Do not
ConstFormula<Real> i = 4; RCP<const ElementFormula<Real> > p(&i); // <-- DO NOT --
Instead use the constructor for references (below) which makes a clone.
Definition at line 160 of file elementFormulaRCP_boost.hh.
|
inline |
Definition at line 163 of file elementFormulaRCP_boost.hh.
|
inline |
Definition at line 167 of file elementFormulaRCP_boost.hh.
|
inline |
Constructor with any two parameters.
Definition at line 172 of file elementFormulaRCP_boost.hh.
|
inlineexplicit |
@obsolete: try to write code which does NOT depend on this function,
Constructor with a given reference, ElementFormula will be cloned.
@BEWARE: this function is slightly inefficient (a copy is created),
Definition at line 186 of file elementFormulaRCP_boost.hh.
|
inlineexplicit |
Special constructor for a constant.
So, a constant can simply given to functions where a RCP<ElementFormula<F> > is expected.
Definition at line 142 of file elementFormulaRCP_std.hh.
|
inline |
Default constructor.
Definition at line 146 of file elementFormulaRCP_std.hh.
|
inlineexplicit |
Constructor for a simple pointer to ElementFormula, which will be deleted by the RCP.
It should be only called with pointer to dynamic variables, e.g.
RCP<const ElementFormula<Real> > p(new ConstFormula<Real>(4));
Do NOT use it with pointers to variables in the stack. Do not
ConstFormula<Real> i = 4; RCP<const ElementFormula<Real> > p(&i); // <-- DO NOT --
Instead use the constructor for references (below) which makes a clone.
Definition at line 160 of file elementFormulaRCP_std.hh.
|
inline |
Definition at line 163 of file elementFormulaRCP_std.hh.
|
inline |
Definition at line 167 of file elementFormulaRCP_std.hh.
|
inline |
Constructor with any two parameters.
Definition at line 172 of file elementFormulaRCP_std.hh.
|
inlineexplicit |
@obsolete: try to write code which does NOT depend on this function,
Constructor with a given reference, ElementFormula will be cloned.
@BEWARE: this function is slightly inefficient (a copy is created),
Definition at line 186 of file elementFormulaRCP_std.hh.
|
inline |
Definition at line 192 of file elementFormulaRCP_boost.hh.
|
inline |
Definition at line 192 of file elementFormulaRCP_std.hh.
|
inline |
Definition at line 200 of file elementFormulaRCP_boost.hh.
|
inline |
Definition at line 200 of file elementFormulaRCP_std.hh.