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

#include <shape_impl.h>

Inheritance diagram for ConstShape2D:
Collaboration diagram for ConstShape2D:

Public Member Functions

 ConstShape2D (doublereal d)
 
 ~ConstShape2D (void)
 
doublereal dGet (doublereal, doublereal=0.) const
 
std::ostream & Restart (std::ostream &out) const
 
- Public Member Functions inherited from Shape2D
virtual ~Shape2D (void)
 
- Public Member Functions inherited from Shape
virtual ~Shape (void)
 

Protected Attributes

doublereal dConst
 

Detailed Description

Definition at line 113 of file shape_impl.h.

Constructor & Destructor Documentation

ConstShape2D::ConstShape2D ( doublereal  d)

Definition at line 246 of file shape.cc.

References NO_OP.

247 : dConst(d)
248 {
249  NO_OP;
250 }
doublereal dConst
Definition: shape_impl.h:115
#define NO_OP
Definition: myassert.h:74
ConstShape2D::~ConstShape2D ( void  )

Definition at line 252 of file shape.cc.

References NO_OP.

253 {
254  NO_OP;
255 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

doublereal ConstShape2D::dGet ( doublereal  d,
doublereal  = 0. 
) const
virtual

Implements Shape.

Definition at line 258 of file shape.cc.

References dConst.

259 {
260  return dConst;
261 }
doublereal dConst
Definition: shape_impl.h:115
std::ostream & ConstShape2D::Restart ( std::ostream &  out) const
virtual

Implements Shape.

Definition at line 264 of file shape.cc.

References dConst.

265 {
266  return out << "const, " << dConst;
267 }
doublereal dConst
Definition: shape_impl.h:115

Member Data Documentation

doublereal ConstShape2D::dConst
protected

Definition at line 115 of file shape_impl.h.

Referenced by dGet(), and Restart().


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