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

#include <shape.h>

Inheritance diagram for ConstShape1D:
Collaboration diagram for ConstShape1D:

Public Member Functions

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

Protected Attributes

doublereal dConst
 

Detailed Description

Definition at line 93 of file shape.h.

Constructor & Destructor Documentation

ConstShape1D::ConstShape1D ( doublereal  d)

Definition at line 82 of file shape.cc.

References NO_OP.

83 : dConst(d)
84 {
85  NO_OP;
86 }
doublereal dConst
Definition: shape.h:95
#define NO_OP
Definition: myassert.h:74
ConstShape1D::~ConstShape1D ( void  )

Definition at line 88 of file shape.cc.

References NO_OP.

89 {
90  NO_OP;
91 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

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

Implements Shape.

Definition at line 94 of file shape.cc.

References dConst.

95 {
96  return dConst;
97 }
doublereal dConst
Definition: shape.h:95
std::ostream & ConstShape1D::Restart ( std::ostream &  out) const
virtual

Implements Shape.

Definition at line 100 of file shape.cc.

References dConst.

101 {
102  return out << "const, " << dConst;
103 }
doublereal dConst
Definition: shape.h:95

Member Data Documentation

doublereal ConstShape1D::dConst
protected

Definition at line 95 of file shape.h.

Referenced by dGet(), and Restart().


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