Definition at line 2841 of file drive_.cc.
Implements DriveCallerRead.
Definition at line 2847 of file drive_.cc.
References Drive::FILEDRIVE, fileDriveCallerTypeMap, fileDriveCallerTypeWordSet, HighParser::GetInt(), IncludeParser::GetLineData(), HighParser::GetReal(), FileDrive::iGetNumDrives(), HighParser::IsArg(), HighParser::IsKeyWord(), HighParser::IsWord(), MBDYN_EXCEPT_ARGS, DriveCallerRead::NeedDM(), DataManager::pFindDrive(), DataManager::pGetDrvHdl(), and SAFENEWWITHCONSTRUCTOR.
2849 NeedDM(pDM, HP, bDeferred,
"file");
2853 silent_cerr(
"sorry, since the driver is not owned by a DataManager" << std::endl
2854 <<
"no driver dependent drivers are allowed;" << std::endl
2855 <<
"aborting..." << std::endl);
2864 unsigned int uL = HP.
GetInt();
2868 <<
": can't find FileDrive(" << uL <<
")" << std::endl);
2877 id = it->second->Read(pDM, HP, pDrv);
2883 <<
": invalid column number " <<
id
2884 <<
" (must be between 1 and "
Drive * pFindDrive(Drive::Type Typ, unsigned int uL) const
#define MBDYN_EXCEPT_ARGS
virtual integer GetInt(integer iDefval=0)
virtual const char * IsWord(const HighParser::WordSet &ws)
FileDriveCallerTypeMap fileDriveCallerTypeMap
const DriveHandler * pGetDrvHdl(void) const
FileDriveCallerTypeWordSet fileDriveCallerTypeWordSet
virtual bool IsKeyWord(const char *sKeyWord)
virtual integer iGetNumDrives(void) const
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
void NeedDM(const DataManager *pDM, MBDynParser &HP, bool bDeferred, const char *const name)
virtual HighParser::ErrOut GetLineData(void) const
virtual doublereal GetReal(const doublereal &dDefval=0.0)