ROSE 0.11.145.147
Public Member Functions | List of all members
SageInterface::UniqueNameAttribute Class Reference

Description

A persistent attribute to represent a unique name for an expression.

Definition at line 144 of file sageInterface.h.

#include <sageInterface/sageInterface.h>

Inheritance diagram for SageInterface::UniqueNameAttribute:
Inheritance graph
[legend]
Collaboration diagram for SageInterface::UniqueNameAttribute:
Collaboration graph
[legend]

Public Member Functions

 UniqueNameAttribute (std::string n="")
 
void set_name (std::string n)
 
std::string get_name ()
 
- Public Member Functions inherited from AstAttribute
virtual OwnershipPolicy getOwnershipPolicy () const
 Who owns this attribute.
 
virtual AstAttributeconstructor () const
 Virtual default constructor.
 
virtual AstAttributecopy () const
 Virtual copy constructor.
 
virtual AstAttributecopy ()
 
virtual std::string attribute_class_name () const
 Attribute class name.
 
virtual std::string toString ()
 Convert an attribute to a string.
 
virtual bool commentOutNodeInGraph ()
 Eliminate IR nodes in DOT graphs.
 
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...
 

Constructor & Destructor Documentation

◆ UniqueNameAttribute()

SageInterface::UniqueNameAttribute::UniqueNameAttribute ( std::string  n = "")
inline

Definition at line 149 of file sageInterface.h.

Member Function Documentation

◆ set_name()

void SageInterface::UniqueNameAttribute::set_name ( std::string  n)
inline

Definition at line 150 of file sageInterface.h.

◆ get_name()

std::string SageInterface::UniqueNameAttribute::get_name ( )
inline

Definition at line 151 of file sageInterface.h.


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