Definition at line 99 of file module-minmaxdrive.cc.
MinMaxDriveDCR::MinMaxDriveDCR |
( |
enum Type |
type | ) |
|
|
explicit |
const char * MinMaxDriveDCR::c_str |
( |
void |
| ) |
const |
Implements DriveCallerRead.
Definition at line 310 of file module-minmaxdrive.cc.
References ASSERT, eType, MBDynParser::GetDriveCaller(), HighParser::GetInt(), IncludeParser::GetLineData(), MBDYN_EXCEPT_ARGS, MMD_MAX, MMD_MIN, and SAFENEWWITHCONSTRUCTOR.
316 if (iNumDrives < 1) {
317 silent_cerr(
"at least one drive caller expected at line " << HP.
GetLineData() << std::endl);
321 std::vector<DriveOwner> drives;
323 drives.reserve(iNumDrives);
325 for (
int i = 0; i < iNumDrives; ++i) {
#define MBDYN_EXCEPT_ARGS
virtual integer GetInt(integer iDefval=0)
enum MinMaxDriveDCR::Type eType
#define ASSERT(expression)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
DriveCaller * GetDriveCaller(bool bDeferred=false)
virtual HighParser::ErrOut GetLineData(void) const
The documentation for this struct was generated from the following file: