MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
TypedValue::ErrWrongType Class Reference

#include <mathtyp.h>

Inheritance diagram for TypedValue::ErrWrongType:
Collaboration diagram for TypedValue::ErrWrongType:

Public Member Functions

 ErrWrongType (const char *file, int line, const char *func, const std::string r=std::string())
 
 ErrWrongType (const char *file, int line, const char *func, const TypedValue::Type &to, const TypedValue::Type &from, const std::string r=std::string())
 
- Public Member Functions inherited from MBDynErrBase
 MBDynErrBase (const char *file, int line, const char *func, const std::string r=std::string())
 
virtual ~MBDynErrBase (void) throw ()
 
void Set (const std::string &s)
 
const char * what (void) const throw ()
 

Detailed Description

Definition at line 68 of file mathtyp.h.

Constructor & Destructor Documentation

TypedValue::ErrWrongType::ErrWrongType ( const char *  file,
int  line,
const char *  func,
const std::string  r = std::string() 
)
inline

Definition at line 70 of file mathtyp.h.

#define MBDYN_EXCEPT_ARGS_PASSTHRU
Definition: except.h:55
MBDynErrBase(const char *file, int line, const char *func, const std::string r=std::string())
Definition: except.cc:37
TypedValue::ErrWrongType::ErrWrongType ( const char *  file,
int  line,
const char *  func,
const TypedValue::Type to,
const TypedValue::Type from,
const std::string  r = std::string() 
)

Definition at line 865 of file mathp.cc.

References NO_OP.

869 : MBDynErrBase(MBDYN_EXCEPT_ARGS_NOOPT_PASSTHRU, std::string("cannot cast \"") + GetTypeName(from) + "\" into \"" + GetTypeName(to) + "\"" + r)
870 {
871  NO_OP;
872 }
#define MBDYN_EXCEPT_ARGS_NOOPT_PASSTHRU
Definition: except.h:53
#define NO_OP
Definition: myassert.h:74
const char *const GetTypeName(void) const
Definition: mathp.cc:1176
MBDynErrBase(const char *file, int line, const char *func, const std::string r=std::string())
Definition: except.cc:37
Real r
Definition: mathtyp.h:90

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