OpenASIP  2.0
Public Member Functions | Private Attributes | List of all members
AddDataLineActor Class Reference

#include <AssemblerParser.hh>

Collaboration diagram for AddDataLineActor:
Collaboration graph

Public Member Functions

 AddDataLineActor (DataSectionCreator &creator, const DataLine &dataLine)
 AddDataLineActor. More...
 
void operator() (const char *, const char *) const
 

Private Attributes

DataSectionCreatorcreator_
 
const DataLinedataLine_
 

Detailed Description

Actor for adding data lines.

Definition at line 253 of file AssemblerParser.hh.

Constructor & Destructor Documentation

◆ AddDataLineActor()

AddDataLineActor::AddDataLineActor ( DataSectionCreator creator,
const DataLine dataLine 
)

AddDataLineActor.

Adds new data area definition to data section creator.

Parameters
creatorCreator that is used for data section generation.
dataLineData area definition to add.

Definition at line 145 of file AssemblerParser.cc.

146  :
147  creator_(creator), dataLine_(dataLine) {
148 }

Member Function Documentation

◆ operator()()

void AddDataLineActor::operator() ( const char *  ,
const char *   
) const

Definition at line 151 of file AssemblerParser.cc.

151  {
153 }

References DataSectionCreator::addDataLine(), creator_, and dataLine_.

Here is the call graph for this function:

Member Data Documentation

◆ creator_

DataSectionCreator& AddDataLineActor::creator_
private

Definition at line 261 of file AssemblerParser.hh.

Referenced by operator()().

◆ dataLine_

const DataLine& AddDataLineActor::dataLine_
private

Definition at line 262 of file AssemblerParser.hh.

Referenced by operator()().


The documentation for this class was generated from the following files:
AddDataLineActor::creator_
DataSectionCreator & creator_
Definition: AssemblerParser.hh:261
AddDataLineActor::dataLine_
const DataLine & dataLine_
Definition: AssemblerParser.hh:262
DataSectionCreator::addDataLine
void addDataLine(const DataLine &origLine)
Definition: DataSectionCreator.cc:84