MBDyn-1.7.3
|
#include <parser.h>
Classes | |
class | ErrColonExpected |
class | ErrIllegalDelimiter |
class | ErrIntegerExpected |
class | ErrInvalidCallToGetDescription |
class | ErrKeyWordExpected |
class | ErrMissingSeparator |
struct | ErrOut |
class | ErrRealExpected |
class | ErrSemicolonExpected |
class | ErrStringExpected |
class | ErrValueOutOfRange |
struct | range_2_base |
struct | range_any |
struct | range_base |
struct | range_ge |
struct | range_ge_le |
struct | range_ge_lt |
struct | range_gt |
struct | range_gt_le |
struct | range_gt_lt |
struct | range_le |
struct | range_lt |
struct | WordSet |
Public Types | |
enum | Token { UNKNOWN = -1, DESCRIPTION, FIRSTARG, ARG, LASTARG, NOARGS, WORD, NUMBER, STRING, ENDOFFILE, LASTITEM } |
enum | Delims { UNKNOWNDELIM = -1, PLAINBRACKETS, SQUAREBRACKETS, CURLYBRACKETS, SINGLEQUOTE, DOUBLEQUOTE, DEFAULTDELIM, LASTDELIM } |
enum | { NONE = 0x00U, EATSPACES = 0x01U, ESCAPE = 0x02U, LOWER = 0x04U, UPPER = 0x08U } |
Public Member Functions | |
HighParser (MathParser &MP, InputStream &streamIn) | |
virtual | ~HighParser (void) |
virtual const KeyTable * | PutKeyTable (const KeyTable &KT) |
virtual int | GetLineNumber (void) const |
virtual HighParser::ErrOut | GetLineData (void) const |
virtual MathParser & | GetMathParser (void) |
virtual void | Close (void) |
bool | IsDescription (void) const |
Token | GotDescription (void) |
int | GetDescription (void) |
virtual void | ExpectDescription (void) |
virtual void | ExpectArg (void) |
virtual bool | IsKeyWord (const char *sKeyWord) |
virtual int | IsKeyWord (void) |
virtual bool | IsArg (void) |
virtual bool | IsStringWithDelims (enum Delims Del=DEFAULTDELIM) |
virtual const char * | IsWord (const HighParser::WordSet &ws) |
virtual void | PutBackSemicolon (void) |
virtual bool | GetBool (bool bDefval=false) |
virtual bool | GetYesNo (bool &bRet) |
virtual bool | GetYesNoOrBool (bool bDefval=false) |
virtual integer | GetInt (integer iDefval=0) |
template<class Range > | |
integer | GetInt (integer iDefval, Range r) |
virtual doublereal | GetReal (const doublereal &dDefval=0.0) |
template<class Range > | |
doublereal | GetReal (const doublereal &dDefval, Range r) |
virtual std::string | GetString (const std::string &sDefVal) |
virtual TypedValue | GetValue (const TypedValue &v) |
template<class Range > | |
TypedValue | GetValue (const TypedValue &v, Range r) |
virtual mbsleep_t | GetTimeout (const mbsleep_t &DefVal) |
virtual int | GetWord (void) |
virtual const char * | GetString (unsigned flags=HighParser::NONE) |
virtual const char * | GetStringWithDelims (enum Delims Del=DEFAULTDELIM, bool escape=true) |
template<class Range > | |
integer | GetInt (int iDefVal, Range range) |
Public Attributes | |
const char | ESCAPE_CHAR |
Protected Member Functions | |
virtual HighParser::Token | FirstToken (void) |
virtual void | NextToken (const char *sFuncName) |
int | iGetDescription_int (const char *const s) |
virtual void | Eof (void) |
virtual void | SetDelims (enum Delims Del, char &cLdelim, char &cRdelim) const |
int | ParseWord (unsigned flags=HighParser::NONE) |
void | PutbackWord (void) |
Protected Attributes | |
LowParser | LowP |
InputStream * | pIn |
std::ifstream * | pf |
char | sStringBuf [iDefaultBufSize] |
char | sStringBufWithSpaces [iDefaultBufSize] |
MathParser & | MathP |
const KeyTable * | KeyT |
LowParser::Token | CurrLowToken |
Token | CurrToken |
anonymous enum |
Enumerator | |
---|---|
NONE | |
EATSPACES | |
ESCAPE | |
LOWER | |
UPPER |
Definition at line 314 of file parser.h.
enum HighParser::Delims |
Enumerator | |
---|---|
UNKNOWNDELIM | |
PLAINBRACKETS | |
SQUAREBRACKETS | |
CURLYBRACKETS | |
SINGLEQUOTE | |
DOUBLEQUOTE | |
DEFAULTDELIM | |
LASTDELIM |
Definition at line 287 of file parser.h.
enum HighParser::Token |
Enumerator | |
---|---|
UNKNOWN | |
DESCRIPTION | |
FIRSTARG | |
ARG | |
LASTARG | |
NOARGS | |
WORD | |
NUMBER | |
STRING | |
ENDOFFILE | |
LASTITEM |
Definition at line 271 of file parser.h.
HighParser::HighParser | ( | MathParser & | MP, |
InputStream & | streamIn | ||
) |
Definition at line 622 of file parser.cc.
References CurrToken, DEBUGCOUTFNAME, DESCRIPTION, InitDescData(), and pHP.
|
virtual |
Definition at line 639 of file parser.cc.
References ASSERT, Close(), DEBUGCOUTFNAME, DestroyDescData(), and pHP.
|
virtual |
Reimplemented in IncludeParser.
Definition at line 651 of file parser.cc.
References NO_OP.
Referenced by ~HighParser().
|
protectedvirtual |
Reimplemented in IncludeParser.
Definition at line 724 of file parser.cc.
References MBDYN_EXCEPT_ARGS.
Referenced by GetDescription().
|
virtual |
Definition at line 798 of file parser.cc.
References ARG, and CurrToken.
Referenced by DriveHint::pCreateDrive(), TplDriveHint< T >::pCreateDrive(), and TplVecHint< T >::pCreateVec().
|
virtual |
Definition at line 789 of file parser.cc.
References CurrToken, and DESCRIPTION.
Referenced by DataManager::ReadElems().
|
protectedvirtual |
Definition at line 767 of file parser.cc.
References ARG, LowParser::COLON, CurrLowToken, CurrToken, DESCRIPTION, LowParser::GetToken(), LowP, pIn, LowParser::SEMICOLON, and UNKNOWN.
Referenced by GotDescription(), and iGetDescription_int().
Definition at line 1010 of file parser.cc.
References TypedValue::GetBool(), and GetValue().
Referenced by DataManager::fReadOutput(), GetYesNoOrBool(), LinearBiStopCLR< T, Tder >::Read(), and ReadBiStopBase().
int HighParser::GetDescription | ( | void | ) |
Definition at line 730 of file parser.cc.
References CurrLowToken, InputStream::eof(), Eof(), GetLineData(), LowParser::GetToken(), iGetDescription_int(), IsDescription(), LowP, MBDYN_EXCEPT_ARGS, pIn, ReadDescription(), LowParser::sGetWord(), and LowParser::WORD.
Referenced by DataManager::DataManager(), DataManager::ReadControl(), InverseSolver::ReadData(), Solver::ReadData(), DataManager::ReadDrivers(), DataManager::ReadElems(), DataManager::ReadNodes(), and RunMBDyn().
Definition at line 1050 of file parser.cc.
Referenced by AeroDynModule::AeroDynModule(), MBDynParser::C81Data_int(), MBDynParser::ConstitutiveLaw_int(), MBDynParser::DriveCaller_int(), MBDynParser::GetConstLaw1D(), MBDynParser::GetConstLaw3D(), MBDynParser::GetConstLaw6D(), GetDofOrder(), MBDynParser::GetDriveCaller(), MBDynParser::GetHydraulicFluid(), MBDynParser::GetMatR2vec(), MBDynParser::GetRef(), SocketStreamOutputElemCreator::getSocketStreamOutParam(), MBDynParser::GetTplDriveCaller(), MBDynParser::GetVecAbs(), MBDynParser::GetVecRel(), MBDynParser::HydraulicFluid_int(), HydrodynamicPlainBearing::HydrodynamicPlainBearing(), ModuleNonsmoothNode::ModuleNonsmoothNode(), VariableStepDR::Read(), FixedStepDR::Read(), MultiStepDriveDCR::Read(), SwitchDriveDCR::Read(), MinMaxDriveDCR::Read(), CLArray1DR::Read(), ValuesContentTypeReader::Read(), CLArray3DR::Read(), CLArray6DR::Read(), DummyCLR< T, Tder >::Read(), FactorTSR::Read(), JoystickDR::Read(), ArrayTDCR< T >::Read(), SineCosineDCR::Read(), FourierSeriesDCR::Read(), RandomDCR::Read(), MeterDCR::Read(), PiecewiseLinearDCR::Read(), SimulationEntityDCR::Read(), ElementDCR::Read(), NodeDCR::Read(), ArrayDCR::Read(), FileDCR::Read(), PostponedDCR::Read(), ReadAeroData(), ReadAerodynamicBeam(), ReadAerodynamicBeam2(), ReadAerodynamicModal(), ReadBeam(), ReadBeam2(), ReadBody(), ReadBufferStreamDrive(), ReadBufferStreamElem(), ReadC81MultipleAeroData(), DataManager::ReadControl(), InverseSolver::ReadData(), Solver::ReadData(), DataManager::ReadDrivers(), ReadElectric(), DataManager::ReadElem(), DataManager::ReadElems(), ReadExtFileParams(), ReadExtForce(), ReadExtSocketHandler(), ReadFF(), ReadGenel(), ReadHBeam(), ReadInducedVelocity(), ReadLinSol(), ReadModal(), ReadModalForce(), ReadModalMappingExtForce(), DataManager::ReadNode(), DataManager::ReadNodes(), ReadOneBufCast(), DataManager::ReadOneElem(), ReadResSet(), ReadResSets(), ReadRotor(), ReadRTMBDynInDrive(), ReadRTParams(), ReadScalarDof(), ReadShape(), ReadStreamContentModifier(), ReadStreamDriveEcho(), ReadStreamDriveModifier(), ReadStreamOutEcho(), ReadStructExtForce(), ReadStructMappingExtForce(), ReadUnsteadyFlag(), MBDynParser::Reference_int(), MBDynParser::TplDriveCaller_int(), and Wheel4::Wheel4().
Definition at line 555 of file parser.h.
References TypedValue::GetInt(), GetValue(), and MBDYN_EXCEPT_ARGS.
|
virtual |
Reimplemented in IncludeParser.
Definition at line 681 of file parser.cc.
References GetLineNumber(), HighParser::ErrOut::iLineNumber, HighParser::ErrOut::sFileName, and HighParser::ErrOut::sPathName.
Referenced by GetDescription(), GetString(), GetStringWithDelims(), GetValue(), GetWord(), iGetDescription_int(), NextToken(), ChDirDR::Read(), NameSpaceDR::Read(), RemarkDR::Read(), PrintSymbolTableDR::Read(), SetDR::Read(), SetEnvDR::Read(), ExitDR::Read(), ReadDescription(), ReadLinSol(), ReadOneBufCast(), and skip_remarks().
|
virtual |
Definition at line 674 of file parser.cc.
References pIn.
Referenced by IncludeParser::GetLineData(), GetLineData(), and ReadGenel().
|
virtual |
Definition at line 668 of file parser.cc.
References MathP.
Referenced by DataManager::DataManager(), module_init(), InverseSolver::Prepare(), Solver::Prepare(), NameSpaceDR::Read(), PrintSymbolTableDR::Read(), and StringDCR::Read().
|
virtual |
Definition at line 1056 of file parser.cc.
Referenced by AeroDynModule::AeroDynModule(), asynchronous_machine::asynchronous_machine(), MBDynParser::C81Data_int(), DataManager::dReadScale(), MBDynParser::Get(), MBDynParser::GetMat3x3(), MBDynParser::GetMat3x3Sym(), MBDynParser::GetMat6x6(), MBDynParser::GetMat6xN(), MBDynParser::GetMatR2vec(), MBDynParser::GetVec3(), MBDynParser::GetVec6(), HydrodynamicPlainBearing::HydrodynamicPlainBearing(), InlineFriction::InlineFriction(), LoadIncNorm::LoadIncNorm(), ModuleFMU::ModuleFMU(), ModuleMDS::ModuleMDS(), ModuleNonsmoothNode::ModuleNonsmoothNode(), ParseFriction(), ParseShapeCoefficient(), DummySFR::Read(), FixedStepDR::Read(), MultiStepDriveDCR::Read(), HydraulicDamperCLR::Read(), PowerLawGR::Read(), DummyDCR::Read(), Gust1DGR::Read(), LogarithmicGR::Read(), HuntCrossleyCLR::Read(), ConstSFR::Read(), TDCLWR< T, Tder >::Read(), LinearSFR::Read(), ContContactCLR::Read(), PowSFR::Read(), MusclePennestriCLR::Read(), DummyCLR< T, Tder >::Read(), FactorTSR::Read(), LinearElasticCLR< T, Tder >::Read(), NLSFViscoElasticCLR< T, Tder, Typ >::Read(), NLPViscoElasticCLR< T, Tder, Typ >::Read(), LogSFR::Read(), LinearElasticGenericAxialTorsionCouplingCLR< T, Tder >::Read(), JoystickDR::Read(), LinearViscoElasticGenericAxialTorsionCouplingCLR< T, Tder >::Read(), InverseSquareElasticCLR::Read(), GRAALLDamperCLR::Read(), ExpSFR::Read(), LogElasticCLR< T, Tder >::Read(), DoubleLinearElasticCLR< T, Tder >::Read(), IsotropicHardeningCLR< T, Tder >::Read(), CubicSplineSFR::Read(), ContContact3DCLR::Read(), ContactElasticCLR< T, Tder >::Read(), MultiLinearSFR::Read(), InvAngularCLR::Read(), ChebychevSFR::Read(), LinearViscousCLR< T, Tder >::Read(), LinearViscoElasticCLR< T, Tder >::Read(), LinearViscoElasticGenericCLR< T, Tder >::Read(), LTVViscoElasticGenericCLR< T, Tder >::Read(), DoubleLinearViscoElasticCLR< T, Tder >::Read(), TurbulentViscoElasticCLR< T, Tder >::Read(), LinearBiStopCLR< T, Tder >::Read(), ConstDCR::Read(), LinearDCR::Read(), ParabolicDCR::Read(), CubicDCR::Read(), StepDCR::Read(), DoubleStepDCR::Read(), RampDCR::Read(), DoubleRampDCR::Read(), SineCosineDCR::Read(), TanhDCR::Read(), FourierSeriesDCR::Read(), FrequencySweepDCR::Read(), ExponentialDCR::Read(), RandomDCR::Read(), MeterDCR::Read(), ClosestNextDCR::Read(), PiecewiseLinearDCR::Read(), SHDCR::Read(), FileDCR::Read(), PeriodicDCR::Read(), ReadAerodynamicBody(), ReadAerodynamicModal(), ReadAirProperties(), ReadBody(), ReadBufferStreamDrive(), ReadC81MultipleAeroData(), DataManager::ReadControl(), InverseSolver::ReadData(), Solver::ReadData(), ReadElectric(), ReadFF(), ReadGenel(), ReadGenericAerodynamicForce(), ReadGravity(), ReadHydraulicElem(), ReadHydraulicFluid(), PlaneHingeJoint::ReadInitialState(), PlanePinJoint::ReadInitialState(), ReadJointRegularization(), ReadLinSol(), ReadMembrane4EAS(), ReadMembraneConstLaw(), ReadModal(), ReadModalForce(), DataManager::ReadNodes(), ReadRotor(), ReadRTMBDynInDrive(), DataManager::ReadScalarAlgebraicNode(), DataManager::ReadScalarDifferentialNode(), ReadShape(), ReadShell4EAS(), ReadShell4EASANS(), ReadShellConstLaw(), ReadSparseMappingMatrix(), ReadStreamDriveEcho(), ReadStreamOutEcho(), ReadStructMappingExtForce(), ReadStructNode(), ReadThermal(), ReadUniform(), MBDynParser::Reference_int(), ShockAbsorberConstitutiveLaw< doublereal, doublereal >::ShockAbsorberConstitutiveLaw(), Wheel2::Wheel2(), and Wheel4::Wheel4().
doublereal HighParser::GetReal | ( | const doublereal & | dDefval, |
Range | r | ||
) |
Definition at line 569 of file parser.h.
References TypedValue::GetReal(), GetValue(), and MBDYN_EXCEPT_ARGS.
|
virtual |
Definition at line 1074 of file parser.cc.
References TypedValue::GetString(), and GetValue().
Referenced by module_init(), ModuleFMU::ModuleFMU(), NameSpaceDR::Read(), PrintSymbolTableDR::Read(), ElementDCR::Read(), NodeDCR::Read(), ReadAeroData(), and ReadModal().
|
virtual |
Definition at line 1113 of file parser.cc.
References ARG, CurrToken, EATSPACES, ENDOFFILE, InputStream::eof(), InputStream::get(), GetLineData(), iDefaultBufSize, LOWER, MBDYN_EXCEPT_ARGS, NextToken(), NO_OP, pIn, InputStream::putback(), sStringBuf, and UPPER.
|
virtual |
Definition at line 1228 of file parser.cc.
References ARG, c, CurrToken, InputStream::eof(), ESCAPE_CHAR, InputStream::get(), GetLineData(), iDefaultBufSize, MBDYN_EXCEPT_ARGS, NextToken(), pIn, InputStream::putback(), SetDelims(), skip_remarks(), and sStringBuf.
Referenced by AeroDynModule::AeroDynModule(), MBDynParser::C81Data_int(), MBDynParser::ConstitutiveLaw_int(), MBDynParser::DriveCaller_int(), LoadableElem::GetCalls(), IncludeParser::GetFileName(), MBDynParser::GetScalarFunction(), SocketStreamOutputElemCreator::getSocketStreamOutParam(), MBDynParser::HydraulicFluid_int(), ModuleFMU::ModuleFMU(), ParseScalarFunction(), GiNaCDCR::Read(), LoadableElemRead::Read(), SetEnvDR::Read(), SymbolicCLR< T, Tder >::Read(), StringDCR::Read(), SimulationEntityDCR::Read(), ReadAuthMethod(), DataManager::ReadControl(), Solver::ReadData(), DataManager::ReadElems(), ReadExtSocketHandler(), ReadModal(), DataManager::ReadNodes(), ReadRTMBDynInDrive(), MBDynParser::Reference_int(), and MBDynParser::TplDriveCaller_int().
Definition at line 1062 of file parser.cc.
References TypedValue::GetReal(), GetValue(), mbsleep_real2sleep(), and mbsleep_sleep2real().
Referenced by ReadExtFileParams().
|
virtual |
Definition at line 1004 of file parser.cc.
Referenced by GetBool(), GetInt(), GetReal(), GetString(), GetTimeout(), RemarkDR::Read(), and SetDR::Read().
TypedValue HighParser::GetValue | ( | const TypedValue & | v, |
Range | r | ||
) |
Definition at line 582 of file parser.h.
References ARG, CurrToken, MathParser::Get(), GetLineData(), MathP, MBDYN_EXCEPT_ARGS, NextToken(), pIn, and MBDynErrBase::what().
|
virtual |
Definition at line 1083 of file parser.cc.
References ARG, CurrLowToken, CurrToken, KeyTable::Find(), GetLineData(), LowParser::GetToken(), KeyT, LowP, MBDYN_EXCEPT_ARGS, NextToken(), pIn, LowParser::sGetWord(), and LowParser::WORD.
Referenced by DataManager::DataManager(), ReadAuthMethod(), ReadBulk(), DataManager::ReadControl(), InverseSolver::ReadData(), Solver::ReadData(), DataManager::ReadDrivers(), ReadElectric(), DataManager::ReadElems(), ReadForce(), ReadGenel(), ReadHydraulicElem(), ReadLinSol(), DataManager::ReadNodes(), ReadRotor(), ReadScalarDof(), ReadStructNode(), ReadThermal(), and RunMBDyn().
Definition at line 1022 of file parser.cc.
References IsKeyWord().
Referenced by SocketStreamOutputElemCreator::getSocketStreamOutParam(), GetYesNoOrBool(), VariableStepDR::Read(), FixedStepDR::Read(), DataManager::ReadControl(), ReadExtForce(), ReadExtSocketHandler(), ReadGenel(), ReadGenericAerodynamicForce(), ReadModalMappingExtForce(), ReadRTMBDynInDrive(), ReadStructExtForce(), and ReadStructMappingExtForce().
Definition at line 1038 of file parser.cc.
References GetBool(), and GetYesNo().
Referenced by HydrodynamicPlainBearing::HydrodynamicPlainBearing(), ModuleNonsmoothNode::ModuleNonsmoothNode(), MusclePennestriCLR::Read(), AnnElasticCLR< T, Tder >::Read(), AnnViscoElasticCLR< T, Tder >::Read(), SetEnvDR::Read(), ReadAerodynamicBeam(), ReadAerodynamicBeam2(), ReadAerodynamicBody(), ReadBeam2(), ReadBody(), ReadBufCast(), ReadBufferStreamDrive(), ReadBufferStreamElem(), InverseSolver::ReadData(), Solver::ReadData(), ReadLinSol(), ReadModal(), DriveCallerRead::ReadOutput(), ReadRTPOSIXSolver(), ReadStructNode(), and ReadUniform().
HighParser::Token HighParser::GotDescription | ( | void | ) |
Definition at line 698 of file parser.cc.
References FirstToken().
Referenced by ReadDescription().
|
protected |
Definition at line 704 of file parser.cc.
References KeyTable::Find(), FirstToken(), GetLineData(), KeyT, MBDYN_EXCEPT_ARGS, and UNKNOWN.
Referenced by GetDescription().
|
virtual |
Definition at line 807 of file parser.cc.
References ARG, and CurrToken.
Referenced by asynchronous_machine::asynchronous_machine(), MBDynParser::C81Data_int(), MBDynParser::ConstitutiveLaw_int(), SocketStreamOutputElemCreator::createSocketStreamOutElem(), CyclocopterNoInflow::CyclocopterNoInflow(), CyclocopterPolimi::CyclocopterPolimi(), CyclocopterUniform1D::CyclocopterUniform1D(), CyclocopterUniform2D::CyclocopterUniform2D(), MBDynParser::DriveCaller_int(), SocketStreamOutputElemCreator::getSocketStreamOutParam(), MBDynParser::HydraulicFluid_int(), HydrodynamicPlainBearing::HydrodynamicPlainBearing(), IncludeParser::Include_int(), InlineFriction::InlineFriction(), LoadIncForce::LoadIncForce(), LoadIncNorm::LoadIncNorm(), module_init(), ModuleFMU::ModuleFMU(), ModuleIMU::ModuleIMU(), ModuleIMUConstraint::ModuleIMUConstraint(), MBDynParser::ModuleLoad_int(), ModuleMDS::ModuleMDS(), ModuleNonsmoothNode::ModuleNonsmoothNode(), ModuleTemplate::ModuleTemplate(), ChDirDR::Read(), ScalarFuncGR::Read(), NameSpaceDR::Read(), HydraulicDamperCLR::Read(), PowerLawGR::Read(), LogarithmicGR::Read(), HuntCrossleyCLR::Read(), MotionContentTypeReader::Read(), ContContactCLR::Read(), MusclePennestriCLR::Read(), FactorTSR::Read(), RemarkDR::Read(), JoystickDR::Read(), PrintSymbolTableDR::Read(), SetDR::Read(), SetEnvDR::Read(), CubicSplineSFR::Read(), ContContact3DCLR::Read(), MultiLinearSFR::Read(), ChebychevSFR::Read(), TurbulentViscoElasticCLR< T, Tder >::Read(), FileDCR::Read(), ReadAeroData(), ReadAerodynamicBeam(), ReadAerodynamicBeam2(), ReadAerodynamicBody(), ReadAerodynamicCustomOutput(), ReadAerodynamicModal(), ReadBeam(), ReadBeam2(), ReadBeamCustomOutput(), ReadBody(), ReadBufferStreamElem(), ReadBulk(), DataManager::ReadControl(), InverseSolver::ReadData(), Solver::ReadData(), ReadDescription(), DataManager::ReadDrivers(), ReadElectric(), DataManager::ReadElems(), ReadExtSocketHandler(), ReadForce(), ReadGenel(), ReadHBeam(), ReadHydraulicElem(), ReadJoint(), ReadJointRegularization(), ReadMembraneConstLaw(), ReadModalExtForce(), ReadModalMappingExtForce(), DataManager::ReadNodes(), DataManager::ReadOneElem(), ReadRotor(), ReadRTMBDynInDrive(), DataManager::ReadScalarAlgebraicNode(), ReadShellConstLaw(), ReadStructExtForce(), ReadStructMappingExtForce(), ReadStructNode(), ReadThermal(), ReadUnsteadyFlag(), ReadVariableBody(), MBDynParser::Reference_int(), MBDynParser::ScalarFunction_int(), ShockAbsorberConstitutiveLaw< doublereal, doublereal >::ShockAbsorberConstitutiveLaw(), TimeStep::TimeStep(), MBDynParser::TplDriveCaller_int(), Wheel2::Wheel2(), and Wheel4::Wheel4().
bool HighParser::IsDescription | ( | void | ) | const |
Definition at line 692 of file parser.cc.
References CurrToken, and DESCRIPTION.
Referenced by GetDescription(), ExitDR::Read(), and ReadDescription().
|
virtual |
Definition at line 910 of file parser.cc.
References ARG, CurrToken, ENDOFFILE, NextToken(), ParseWord(), PutbackWord(), and sStringBuf.
Referenced by AeroDynModule::AeroDynModule(), asynchronous_machine::asynchronous_machine(), CyclocopterNoInflow::CyclocopterNoInflow(), CyclocopterPolimi::CyclocopterPolimi(), CyclocopterUniform1D::CyclocopterUniform1D(), CyclocopterUniform2D::CyclocopterUniform2D(), DataManager::dReadScale(), DataManager::fReadOutput(), LoadableElem::GetCalls(), GetDofOrder(), GetPreStrain(), GetPreStress(), SocketStreamOutputElemCreator::getSocketStreamOutParam(), HydrodynamicPlainBearing::HydrodynamicPlainBearing(), InlineFriction::InlineFriction(), LoadIncForce::LoadIncForce(), LoadIncNorm::LoadIncNorm(), ModuleFMU::ModuleFMU(), ModuleIMU::ModuleIMU(), ModuleIMUConstraint::ModuleIMUConstraint(), ModuleMDS::ModuleMDS(), ModuleNonsmoothNode::ModuleNonsmoothNode(), ModuleTemplate::ModuleTemplate(), ParseFriction(), ParseShapeCoefficient(), FlightGearStreamOutputReader::Read(), read(), FlightGearFileDriveReader::Read(), VariableStepDR::Read(), FixedStepDR::Read(), ScalarFuncGR::Read(), SwitchDriveDCR::Read(), GiNaCDCR::Read(), NodeDistDCR::Read(), HydraulicDamperCLR::Read(), PowerLawGR::Read(), Eu2PhiDCR::Read(), LogarithmicGR::Read(), HuntCrossleyCLR::Read(), TDCLWR< T, Tder >::Read(), MotionContentTypeReader::Read(), ValuesContentTypeReader::Read(), ContContactCLR::Read(), MusclePennestriCLR::Read(), NLSFViscoElasticCLR< T, Tder, Typ >::Read(), LoadableElemRead::Read(), NLPViscoElasticCLR< T, Tder, Typ >::Read(), LogSFR::Read(), AnnElasticCLR< T, Tder >::Read(), JoystickDR::Read(), PrintSymbolTableDR::Read(), LinearViscoElasticGenericAxialTorsionCouplingCLR< T, Tder >::Read(), AnnViscoElasticCLR< T, Tder >::Read(), CompTDCR< T >::Read(), ExpSFR::Read(), SetEnvDR::Read(), IsotropicHardeningCLR< T, Tder >::Read(), CubicSplineSFR::Read(), ContContact3DCLR::Read(), SymbolicCLR< T, Tder >::Read(), MultiLinearSFR::Read(), ChebychevSFR::Read(), LinearViscoElasticCLR< T, Tder >::Read(), LinearViscoElasticGenericCLR< T, Tder >::Read(), LTVViscoElasticGenericCLR< T, Tder >::Read(), DoubleLinearViscoElasticCLR< T, Tder >::Read(), LinearBiStopCLR< T, Tder >::Read(), ScalarFunctionOrthotropicCLR< T, Tder >::Read(), RampDCR::Read(), DoubleRampDCR::Read(), SineCosineDCR::Read(), FourierSeriesDCR::Read(), FrequencySweepDCR::Read(), RandomDCR::Read(), MeterDCR::Read(), ClosestNextDCR::Read(), SimulationEntityDCR::Read(), ElementDCR::Read(), NodeDCR::Read(), SHDCR::Read(), FileDCR::Read(), ReadAeroData(), ReadAerodynamicBeam(), ReadAerodynamicBeam2(), ReadAerodynamicBody(), ReadAerodynamicCustomOutput(), ReadAerodynamicModal(), ReadAircraftInstruments(), ReadAirProperties(), ReadAirstreamData(), ReadAuthMethod(), ReadBeam(), ReadBeam2(), ReadBeamCustomOutput(), ReadBiStopBase(), ReadBody(), ReadBufCast(), ReadBufferStreamDrive(), ReadBufferStreamElem(), ReadC81MultipleAeroData(), DataManager::ReadControl(), InverseSolver::ReadData(), Solver::ReadData(), ReadElectric(), DataManager::ReadElems(), ReadExtFileHandler(), ReadExtFileParams(), ReadExtForce(), ReadExtSocketHandler(), ReadFF(), ReadForce(), ReadGenel(), ReadGenericAerodynamicForce(), ReadGravity(), ReadHBeam(), ReadHydraulicElem(), ReadHydraulicFluid(), ReadInducedVelocity(), ReadJoint(), ReadJointRegularization(), ReadLinSol(), ReadMembraneConstLaw(), ReadModal(), ReadModalExtForce(), ReadModalForce(), ReadModalMappingExtForce(), DataManager::ReadNodes(), ReadOneBufCast(), DataManager::ReadOneElem(), ReadOptionalAerodynamicCustomOutput(), ReadOptionalBeamCustomOutput(), ReadOptionalOrientationDescription(), ReadOrientationDescription(), DriveCallerRead::ReadOutput(), ReadOutputElem(), ReadPX(), ReadResSet(), ReadResSets(), ReadRotor(), ReadRotorData(), ReadRTAISolver(), ReadRTMBDynInDrive(), ReadRTParams(), ReadRTPOSIXSolver(), ReadRTSolver(), DataManager::ReadScalarAlgebraicNode(), DataManager::ReadScalarDifferentialNode(), ReadScalarValue(), ReadShape(), ReadShell4EAS(), ReadShell4EASANS(), ReadShellConstLaw(), ReadSparseMappingMatrix(), ReadStreamContentModifier(), ReadStreamDriveEcho(), ReadStreamDriveModifier(), ReadStreamOutEcho(), ReadStructExtForce(), ReadStructMappingExtForce(), ReadStructNode(), ReadStructuralForce(), ReadUniform(), ReadUnsteadyFlag(), ShockAbsorberConstitutiveLaw< doublereal, doublereal >::ShockAbsorberConstitutiveLaw(), TimeStep::TimeStep(), Wheel2::Wheel2(), and Wheel4::Wheel4().
|
virtual |
Definition at line 940 of file parser.cc.
References ARG, CurrToken, ENDOFFILE, KeyTable::Find(), KeyT, NextToken(), ParseWord(), PutbackWord(), and sStringBuf.
Referenced by MBDynParser::C81Data_int(), MBDynParser::ConstitutiveLaw_int(), MBDynParser::DriveCaller_int(), MBDynParser::GetConstLaw1D(), MBDynParser::GetConstLaw3D(), MBDynParser::GetConstLaw6D(), MBDynParser::GetDriveCaller(), MBDynParser::GetHydraulicFluid(), MBDynParser::GetMat3x3(), MBDynParser::GetMat3x3Sym(), MBDynParser::GetMat6x6(), MBDynParser::GetMat6xN(), MBDynParser::GetMatR2vec(), MBDynParser::GetRef(), MBDynParser::GetScalarFunction(), MBDynParser::GetTplDriveCaller(), MBDynParser::GetVec3(), MBDynParser::GetVec6(), MBDynParser::GetVecAbs(), MBDynParser::GetVecRel(), GetYesNo(), MBDynParser::HydraulicFluid_int(), MBDynParser::Reference_int(), and MBDynParser::TplDriveCaller_int().
|
virtual |
Definition at line 1210 of file parser.cc.
References pIn, InputStream::putback(), SetDelims(), and skip_remarks().
Referenced by ModuleFMU::ModuleFMU(), ReadModal(), and MBDynParser::TplDriveCaller_int().
|
virtual |
Definition at line 977 of file parser.cc.
References ARG, CurrToken, HighParser::WordSet::IsWord(), NextToken(), ParseWord(), PutbackWord(), and sStringBuf.
Referenced by ParseScalarFunction(), ParseUserDefinedElem(), FlightGearFileDriveCallerTypeReader::Read(), FileDCR::Read(), ReadBufCast(), ReadCL1D(), ReadCL3D(), ReadCL6D(), ReadDC1D(), ReadDC3D(), ReadDC3x3D(), ReadDC6D(), ReadDC6x6D(), ReadDriveCallerData(), ReadDriveData(), FlightGearStreamOutputReader::ReadFlightGearScalarValues(), ReadGustData(), ReadStreamContent(), and ReadTimeStepData().
|
protectedvirtual |
Definition at line 822 of file parser.cc.
References ARG, LowParser::COMMA, CurrLowToken, CurrToken, DESCRIPTION, GetLineData(), LowParser::GetToken(), LowP, MBDYN_EXCEPT_ARGS, pIn, and LowParser::SEMICOLON.
Referenced by GetString(), GetStringWithDelims(), GetValue(), GetWord(), IsKeyWord(), and IsWord().
|
protected |
Definition at line 843 of file parser.cc.
References CurrToken, ENDOFFILE, InputStream::get(), iDefaultBufSize, LOWER, pIn, InputStream::putback(), skip_remarks(), sStringBuf, sStringBufWithSpaces, and UPPER.
Referenced by IsKeyWord(), and IsWord().
|
virtual |
Definition at line 813 of file parser.cc.
References CurrLowToken, pIn, InputStream::putback(), and LowParser::SEMICOLON.
|
protected |
Definition at line 899 of file parser.cc.
References pIn, InputStream::putback(), and sStringBufWithSpaces.
Referenced by IsKeyWord(), and IsWord().
Definition at line 658 of file parser.cc.
References KeyT.
Referenced by KeyTable::KeyTable(), and KeyTable::~KeyTable().
|
protectedvirtual |
Definition at line 1173 of file parser.cc.
References CURLYBRACKETS, DEFAULTDELIM, DOUBLEQUOTE, PLAINBRACKETS, SINGLEQUOTE, SQUAREBRACKETS, and UNKNOWNDELIM.
Referenced by GetStringWithDelims(), and IsStringWithDelims().
|
protected |
Definition at line 434 of file parser.h.
Referenced by FirstToken(), GetDescription(), GetWord(), NextToken(), and PutBackSemicolon().
|
protected |
Definition at line 435 of file parser.h.
Referenced by ExpectArg(), ExpectDescription(), FirstToken(), GetString(), GetStringWithDelims(), GetValue(), GetWord(), HighParser(), IncludeParser::Include_int(), IsArg(), IsDescription(), IsKeyWord(), IsWord(), NextToken(), and ParseWord().
const char HighParser::ESCAPE_CHAR |
Definition at line 300 of file parser.h.
Referenced by GetStringWithDelims().
|
protected |
Definition at line 431 of file parser.h.
Referenced by GetWord(), iGetDescription_int(), IsKeyWord(), and PutKeyTable().
|
protected |
Definition at line 416 of file parser.h.
Referenced by FirstToken(), GetDescription(), GetWord(), and NextToken().
|
protected |
Definition at line 428 of file parser.h.
Referenced by GetMathParser(), and GetValue().
|
protected |
Definition at line 420 of file parser.h.
Referenced by IncludeParser::Close(), IncludeParser::fCheckStack(), and IncludeParser::Include_int().
|
protected |
Definition at line 419 of file parser.h.
Referenced by IncludeParser::Close(), IncludeParser::fCheckStack(), FirstToken(), GetDescription(), GetLineNumber(), GetString(), GetStringWithDelims(), GetValue(), GetWord(), IncludeParser::Include_int(), IsStringWithDelims(), NextToken(), ParseWord(), PutBackSemicolon(), and PutbackWord().
|
protected |
Definition at line 423 of file parser.h.
Referenced by IncludeParser::GetFileName(), GetString(), GetStringWithDelims(), IsKeyWord(), IsWord(), and ParseWord().
|
protected |
Definition at line 424 of file parser.h.
Referenced by ParseWord(), and PutbackWord().