Program Listing for File nameQueryInheritedAttribute.h

Program Listing for File nameQueryInheritedAttribute.h#

Return to documentation for file (src/midend/astQuery/nameQueryInheritedAttribute.h)

#ifndef ROSE_NAME_QUERY_INHERITED_ATTRIBUTE_H
#define ROSE_NAME_QUERY_INHERITED_ATTRIBUTE_H

class NameQueryInheritedAttributeType
{
  public:


    // string matchingName;

    // Used for building data field names in structures (prepends structure name to data field
    // (e.g. structureName::nestedStructureName::fieldName). An alternative would be to handle
    // this query using a different query library which returned a list of lists of strings
    // (e.g. list< list<string> >). Then we could more readily handle function names!
    // string prefixName;


    ~NameQueryInheritedAttributeType ();
    NameQueryInheritedAttributeType ();
    //NameQueryInheritedAttributeType( NameQuery::TypeOfQueryType X );
    //NameQueryInheritedAttributeType ( const NameQueryInheritedAttributeType & X );
    //NameQueryInheritedAttributeType & operator= ( const NameQueryInheritedAttributeType & X );

    // void setMatchingName ( const string & name );
    // string getMatchingName() const;


    /*
       void setQuery ( const NameQuery::TypeOfQueryType X );
       NameQuery::TypeOfQueryType getQuery () const;
     */


};

// endif for  ROSE_NODE_QUERY_INHERITED_ATTRIBUTE_H
#endif