All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
SetDR Struct Reference
Inheritance diagram for SetDR:
Collaboration diagram for SetDR:

Public Member Functions

bool Read (HighParser &HP)
- Public Member Functions inherited from DescRead
virtual ~DescRead (void)

Detailed Description

Definition at line 421 of file parser.cc.

Member Function Documentation

bool SetDR::Read ( HighParser HP)

Implements DescRead.

Definition at line 427 of file parser.cc.

References HighParser::GetLineData(), HighParser::GetValue(), HighParser::IsArg(), and MBDYN_EXCEPT_ARGS.

428 {
429  if (!HP.IsArg()) {
430  silent_cerr("Parser error in SetDR::Read(), "
431  "arg expected at line "
432  << HP.GetLineData() << std::endl);
434  }
436  TypedValue v;
437  HP.GetValue(v);
439  return true;
440 }
Definition: except.h:63
virtual HighParser::ErrOut GetLineData(void) const
Definition: parser.cc:681
virtual TypedValue GetValue(const TypedValue &v)
Definition: parser.cc:1004
virtual bool IsArg(void)
Definition: parser.cc:807

Here is the call graph for this function:

The documentation for this struct was generated from the following file: