MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
MathParser::MathArgPriv_t< T, TT > Class Template Reference

#include <mathp.h>

Inheritance diagram for MathParser::MathArgPriv_t< T, TT >:
Collaboration diagram for MathParser::MathArgPriv_t< T, TT >:

Public Member Functions

 MathArgPriv_t (const T &val, unsigned f=AF_NONE)
 
 MathArgPriv_t (void)
 
virtual ~MathArgPriv_t (void)
 
virtual ArgType Type (void) const
 
virtual MathArg_tCopy (void) const
 
const T & operator() (void) const
 
T & operator() (void)
 
- Public Member Functions inherited from MathParser::MathArg_t
 MathArg_t (unsigned f=AF_NONE)
 
virtual ~MathArg_t (void)
 
void SetFlag (const MathParser::ArgFlag &f)
 
void ClearFlag (const MathParser::ArgFlag &f)
 
bool IsFlag (const MathParser::ArgFlag f) const
 
unsigned GetFlags (void) const
 

Protected Attributes

m_val
 

Detailed Description

template<class T, ArgType TT = AT_PRIVATE>
class MathParser::MathArgPriv_t< T, TT >

Definition at line 117 of file mathp.h.

Constructor & Destructor Documentation

template<class T, ArgType TT = AT_PRIVATE>
MathParser::MathArgPriv_t< T, TT >::MathArgPriv_t ( const T &  val,
unsigned  f = AF_NONE 
)
inline

Definition at line 130 of file mathp.h.

References NO_OP.

130 : MathArg_t(f), m_val(val) { NO_OP; };
MathArg_t(unsigned f=AF_NONE)
Definition: mathp.h:93
#define NO_OP
Definition: myassert.h:74
template<class T, ArgType TT = AT_PRIVATE>
MathParser::MathArgPriv_t< T, TT >::MathArgPriv_t ( void  )
inline

Definition at line 131 of file mathp.h.

References NO_OP.

131 : MathArg_t(AF_NONE) { NO_OP; };
MathArg_t(unsigned f=AF_NONE)
Definition: mathp.h:93
#define NO_OP
Definition: myassert.h:74
template<class T, ArgType TT = AT_PRIVATE>
virtual MathParser::MathArgPriv_t< T, TT >::~MathArgPriv_t ( void  )
inlinevirtual

Definition at line 134 of file mathp.h.

References NO_OP.

134 { NO_OP; };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

template<class T, ArgType TT = AT_PRIVATE>
virtual MathArg_t* MathParser::MathArgPriv_t< T, TT >::Copy ( void  ) const
inlinevirtual

Implements MathParser::MathArg_t.

Definition at line 142 of file mathp.h.

References MathParser::MathArg_t::GetFlags(), and MathParser::MathArgPriv_t< T, TT >::m_val.

142 { return new MathArgPriv_t<T, TT>(m_val, GetFlags()); };
unsigned GetFlags(void) const
Definition: mathp.h:99

Here is the call graph for this function:

template<class T, ArgType TT = AT_PRIVATE>
const T& MathParser::MathArgPriv_t< T, TT >::operator() ( void  ) const
inline

Definition at line 145 of file mathp.h.

References MathParser::MathArgPriv_t< T, TT >::m_val.

145 { return m_val; };
template<class T, ArgType TT = AT_PRIVATE>
T& MathParser::MathArgPriv_t< T, TT >::operator() ( void  )
inline

Definition at line 146 of file mathp.h.

References MathParser::MathArgPriv_t< T, TT >::m_val.

146 { return m_val; };
template<class T, ArgType TT = AT_PRIVATE>
virtual ArgType MathParser::MathArgPriv_t< T, TT >::Type ( void  ) const
inlinevirtual

Implements MathParser::MathArg_t.

Definition at line 135 of file mathp.h.

135 { return TT; };

Member Data Documentation

template<class T, ArgType TT = AT_PRIVATE>
T MathParser::MathArgPriv_t< T, TT >::m_val
protected

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