MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
RemarkDR Struct Reference
Inheritance diagram for RemarkDR:
Collaboration diagram for RemarkDR:

Public Member Functions

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

Detailed Description

Definition at line 341 of file parser.cc.

Member Function Documentation

bool RemarkDR::Read ( HighParser HP)
virtual

Implements DescRead.

Definition at line 347 of file parser.cc.

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

348 {
349  silent_cout("line " << HP.GetLineData());
350 
351  char prefix = ':';
352  while (HP.IsArg()) {
353  TypedValue v;
354  v = HP.GetValue(v);
355  silent_cout(prefix << ' ' << v);
356 
357  if (prefix == ':') {
358  prefix = ',';
359  }
360  }
361 
362  silent_cout(std::endl);
363 
364  return true;
365 }
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: