ROSE 2.23.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Rose::Common::Analysis::DataMemberType Struct Reference

Description

Describes the class-valued type and selected qualifiers of a data member.

Definition at line 194 of file AnalysisTypes.h.

#include <Rose/Common/Analysis/AnalysisTypes.h>

Inheritance diagram for Rose::Common::Analysis::DataMemberType:
Inheritance graph
[legend]
Collaboration diagram for Rose::Common::Analysis::DataMemberType:
Collaboration graph
[legend]

Public Types

using base = DataMemberTypeBase
 Base tuple type used for storage.
 

Public Member Functions

ClassKeyType classType () const
 Returns the class type of this data member, if represented by the frontend.
 
bool isConst () const
 Returns true when the data member type is const-qualified.
 
bool hasReference () const
 Returns true when the data member type contains a reference.
 
bool hasArray () const
 Returns true when the data member type contains an array.
 
bool hasInitializer () const
 Returns true when the data member has an initializer.
 

Member Typedef Documentation

◆ base

Base tuple type used for storage.

Definition at line 198 of file AnalysisTypes.h.

Member Function Documentation

◆ classType()

ClassKeyType Rose::Common::Analysis::DataMemberType::classType ( ) const
inline

Returns the class type of this data member, if represented by the frontend.

Returns
class key for the member type, or an invalid key when no class type is represented.

Definition at line 204 of file AnalysisTypes.h.

◆ isConst()

bool Rose::Common::Analysis::DataMemberType::isConst ( ) const
inline

Returns true when the data member type is const-qualified.

Returns
true if the member type carries a const qualifier.

Definition at line 208 of file AnalysisTypes.h.

◆ hasReference()

bool Rose::Common::Analysis::DataMemberType::hasReference ( ) const
inline

Returns true when the data member type contains a reference.

Returns
true if the member type is or contains a reference.

Definition at line 212 of file AnalysisTypes.h.

◆ hasArray()

bool Rose::Common::Analysis::DataMemberType::hasArray ( ) const
inline

Returns true when the data member type contains an array.

Returns
true if the member type is or contains an array.

Definition at line 216 of file AnalysisTypes.h.

◆ hasInitializer()

bool Rose::Common::Analysis::DataMemberType::hasInitializer ( ) const
inline

Returns true when the data member has an initializer.

Returns
true if the data member has an initializer.

Definition at line 220 of file AnalysisTypes.h.


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