ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bindingReportElementAnn Class Reference

Binding report element. More...

#include <report.h>

Inheritance diagram for bindingReportElementAnn:
Collaboration diagram for bindingReportElementAnn:

Public Member Functions

virtual ~bindingReportElementAnn ()
 
 bindingReportElementAnn (const parserID *varname, bool size_only)
 
virtual void lookup (enumPropertyAnn *default_property, procedureAnn *procedure, Annotations *annotations)
 
- Public Member Functions inherited from reportElementAnn
 reportElementAnn (int line)
 
- Public Member Functions inherited from Ann
 Ann (int line)
 
int line () const
 

Private Attributes

std::string _variable_name
 The name of the variable. More...
 
bool _size_only
 Size only. More...
 
annVariable_variable
 A reference to the annvariable object. More...
 

Detailed Description

Binding report element.

This type of element prints out the bindings of a variable. It makes the most sense for formal parameters, where the binding is one-to-one, but will work for any variable.

Definition at line 144 of file report.h.

Constructor & Destructor Documentation

virtual bindingReportElementAnn::~bindingReportElementAnn ( )
inlinevirtual

Definition at line 165 of file report.h.

bindingReportElementAnn::bindingReportElementAnn ( const parserID varname,
bool  size_only 
)

Member Function Documentation

virtual void bindingReportElementAnn::lookup ( enumPropertyAnn default_property,
procedureAnn procedure,
Annotations annotations 
)
virtual

Implements reportElementAnn.

Member Data Documentation

std::string bindingReportElementAnn::_variable_name
private

The name of the variable.

Definition at line 150 of file report.h.

bool bindingReportElementAnn::_size_only
private

Size only.

When true, just print the number of objects in the binding.

Definition at line 156 of file report.h.

annVariable* bindingReportElementAnn::_variable
private

A reference to the annvariable object.

Definition at line 160 of file report.h.


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