MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
TplVecHint< T > Class Template Reference

#include <hint_impl.h>

Inheritance diagram for TplVecHint< T >:
Collaboration diagram for TplVecHint< T >:

Public Member Functions

 TplVecHint (const char *s)
 
virtual ~TplVecHint (void)
 
pCreateVec (DataManager *pDM) const
 
- Public Member Functions inherited from ParsableHint
 ParsableHint (const char *s)
 
virtual ~ParsableHint (void)
 
- Public Member Functions inherited from Hint
virtual ~Hint (void)
 

Additional Inherited Members

- Protected Attributes inherited from ParsableHint
char * sHint
 

Detailed Description

template<class T>
class TplVecHint< T >

Definition at line 61 of file hint_impl.h.

Constructor & Destructor Documentation

template<class T >
TplVecHint< T >::TplVecHint ( const char *  s)

Definition at line 70 of file hint_impl.h.

References NO_OP.

71 : ParsableHint(s)
72 {
73  NO_OP;
74 }
ParsableHint(const char *s)
Definition: hint_impl.cc:90
#define NO_OP
Definition: myassert.h:74
template<class T >
TplVecHint< T >::~TplVecHint ( void  )
virtual

Definition at line 77 of file hint_impl.h.

References NO_OP.

78 {
79  NO_OP;
80 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

template<class T >
T TplVecHint< T >::pCreateVec ( DataManager pDM) const

Definition at line 84 of file hint_impl.h.

References HighParser::ExpectArg(), and DataManager::GetMathParser().

Referenced by ElasticConstitutiveLaw< doublereal, doublereal >::SetValue().

85 {
86  std::istringstream in(sHint);
87  InputStream In(in);
88 
89  MBDynParser HP(pDM->GetMathParser(), In, "TplVecHint::pCreateVec");
90  HP.ExpectArg();
91 
92  T vec(mb_zero<T>());
93  HP.Get(vec);
94 
95  return vec;
96 }
virtual void ExpectArg(void)
Definition: parser.cc:798
MathParser & GetMathParser(void) const
Definition: dataman.h:341
char * sHint
Definition: hint_impl.h:45

Here is the call graph for this function:


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