ROSE  0.11.133.0
Public Member Functions | List of all members
Rose::BinaryAnalysis::Dwarf::DwarfAttribute Class Reference

Description

Definition at line 12 of file Attributes.h.

Inheritance diagram for Rose::BinaryAnalysis::Dwarf::DwarfAttribute:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::Dwarf::DwarfAttribute:
Collaboration graph
[legend]

Public Member Functions

 DwarfAttribute (std::string s)
 
virtual std::string toString ()
 Convert an attribute to a string. More...
 
std::string get ()
 
- Public Member Functions inherited from AstAttribute
virtual OwnershipPolicy getOwnershipPolicy () const
 Who owns this attribute. More...
 
virtual AstAttributeconstructor () const
 Virtual default constructor. More...
 
virtual AstAttributecopy () const
 Virtual copy constructor. More...
 
virtual AstAttributecopy ()
 
virtual std::string attribute_class_name () const
 Attribute class name. More...
 
virtual bool commentOutNodeInGraph ()
 Eliminate IR nodes in DOT graphs. More...
 
virtual int packed_size ()
 Packing support.
 
virtual char * packed_data ()
 Packing support.
 
virtual void unpacked_data (int size, char *data)
 Packing support.
 
virtual std::string additionalNodeOptions ()
 DOT support.
 
virtual std::vector< AttributeEdgeInfoadditionalEdgeInfo ()
 DOT support.
 
virtual std::vector< AttributeNodeInfoadditionalNodeInfo ()
 DOT support.
 

Additional Inherited Members

- Public Types inherited from AstAttribute
enum  OwnershipPolicy {
  CONTAINER_OWNERSHIP,
  NO_OWNERSHIP,
  CUSTOM_OWNERSHIP,
  UNKNOWN_OWNERSHIP
}
 Who owns this attribute. More...
 

Member Function Documentation

virtual std::string Rose::BinaryAnalysis::Dwarf::DwarfAttribute::toString ( )
inlinevirtual

Convert an attribute to a string.

This 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 the attribute address in the heap as a string.

Reimplemented from AstAttribute.

Definition at line 15 of file Attributes.h.


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