SymbolModifiers Struct Reference

Holds modifiers (ie attributes) for one symbol (variable, function, etc). More...

List of all members.

Public Types

enum  Protection { NONE_P, PUBLIC, PRIVATE }
enum  Direction { NONE_D, IN, OUT, INOUT }

Public Member Functions

 SymbolModifiers ()
SymbolModifiersoperator|= (const SymbolModifiers &mdfs)
SymbolModifiersoperator|= (QCString mdfrString)

Public Attributes

QCString type
QCString returnName
Protection protection
Direction direction
bool optional
QCString dimension
bool allocatable
bool external
bool intrinsic
bool parameter
bool pointer
bool target
bool save


Detailed Description

Holds modifiers (ie attributes) for one symbol (variable, function, etc).

Definition at line 2027 of file fortranscanner.cpp.


Member Enumeration Documentation

enum SymbolModifiers::Protection

Enumerator:
NONE_P 
PUBLIC 
PRIVATE 

Definition at line 2028 of file fortranscanner.cpp.

enum SymbolModifiers::Direction

Enumerator:
NONE_D 
IN 
OUT 
INOUT 

Definition at line 2029 of file fortranscanner.cpp.


Constructor & Destructor Documentation

SymbolModifiers::SymbolModifiers (  )  [inline]

Definition at line 2045 of file fortranscanner.cpp.


Member Function Documentation

SymbolModifiers & SymbolModifiers::operator|= ( const SymbolModifiers mdfs  ) 

Adds passed modifiers to these modifiers.

Definition at line 4306 of file fortranscanner.cpp.

References allocatable, dimension, direction, external, intrinsic, NONE_D, NONE_P, optional, parameter, pointer, protection, save, and target.

SymbolModifiers & SymbolModifiers::operator|= ( QCString  mdfString  ) 

Extracts and adds passed modifier to these modifiers.

Definition at line 4323 of file fortranscanner.cpp.

References allocatable, dimension, direction, external, IN, INOUT, intrinsic, optional, OUT, parameter, pointer, PRIVATE, protection, PUBLIC, QCString, save, and target.


Member Data Documentation

QCString SymbolModifiers::type

Definition at line 2032 of file fortranscanner.cpp.

QCString SymbolModifiers::returnName

Definition at line 2032 of file fortranscanner.cpp.

Protection SymbolModifiers::protection

Definition at line 2033 of file fortranscanner.cpp.

Referenced by operator|=().

Direction SymbolModifiers::direction

Definition at line 2034 of file fortranscanner.cpp.

Referenced by operator|=().

bool SymbolModifiers::optional

Definition at line 2035 of file fortranscanner.cpp.

Referenced by operator|=().

QCString SymbolModifiers::dimension

Definition at line 2036 of file fortranscanner.cpp.

Referenced by operator|=().

bool SymbolModifiers::allocatable

Definition at line 2037 of file fortranscanner.cpp.

Referenced by operator|=().

bool SymbolModifiers::external

Definition at line 2038 of file fortranscanner.cpp.

Referenced by operator|=().

bool SymbolModifiers::intrinsic

Definition at line 2039 of file fortranscanner.cpp.

Referenced by operator|=().

bool SymbolModifiers::parameter

Definition at line 2040 of file fortranscanner.cpp.

Referenced by operator|=().

bool SymbolModifiers::pointer

Definition at line 2041 of file fortranscanner.cpp.

Referenced by operator|=().

bool SymbolModifiers::target

Definition at line 2042 of file fortranscanner.cpp.

Referenced by operator|=().

bool SymbolModifiers::save

Definition at line 2043 of file fortranscanner.cpp.

Referenced by operator|=().


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



Generated on Mon Mar 31 10:59:03 2008 by  doxygen 1.5.1