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

#include <AstTextAttributesHandling.h>

Inheritance diagram for AstTextAttribute:
Collaboration diagram for AstTextAttribute:

Public Member Functions

 AstTextAttribute (std::string s)
 
virtual std::string toString ()
 
- Public Member Functions inherited from AstAttribute
 AstAttribute ()
 
virtual ~AstAttribute ()
 
AstAttributeconstructor ()
 
std::string attribute_class_name ()
 
virtual int packed_size ()
 
virtual char * packed_data ()
 
virtual void unpacked_data (int size, char *data)
 
virtual std::string additionalNodeOptions ()
 
virtual std::vector
< AttributeEdgeInfo
additionalEdgeInfo ()
 
virtual std::vector
< AttributeNodeInfo
additionalNodeInfo ()
 
virtual AstAttributecopy ()
 
virtual bool commentOutNodeInGraph ()
 

Protected Attributes

std::string source
 

Detailed Description

Definition at line 14 of file AstTextAttributesHandling.h.

Constructor & Destructor Documentation

AstTextAttribute::AstTextAttribute ( std::string  s)
inline

Definition at line 16 of file AstTextAttributesHandling.h.

Member Function Documentation

virtual std::string AstTextAttribute::toString ( )
inlinevirtual

This function is used by other components to print the value of an attribute. For example the pdf generation calls this function to print the value of an attribute in the pdf file. The default implementation is to return an empty string.

Reimplemented from AstAttribute.

Definition at line 17 of file AstTextAttributesHandling.h.

References source.

Member Data Documentation

std::string AstTextAttribute::source
protected

Definition at line 19 of file AstTextAttributesHandling.h.

Referenced by toString().


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