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

Public Member Functions

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

Detailed Description

Definition at line 531 of file parser.cc.

Member Function Documentation

bool ExitDR::Read ( HighParser HP)

Implements DescRead.

Definition at line 537 of file parser.cc.

References HighParser::GetLineData(), HighParser::IsDescription(), and MBDYN_EXCEPT_ARGS.

538 {
539  if (!HP.IsDescription()) {
540  silent_cerr("Parser error in ExitDR::Read(),"
541  " semicolon expected at line "
542  << HP.GetLineData() << std::endl);
544  }
546  /* exits with no error */
547  throw NoErr(MBDYN_EXCEPT_ARGS);
548 }
Definition: except.h:63
bool IsDescription(void) const
Definition: parser.cc:692
virtual HighParser::ErrOut GetLineData(void) const
Definition: parser.cc:681
Definition: except.h:79

Here is the call graph for this function:

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